[prev in list] [next in list] [prev in thread] [next in thread] 

List:       acpi4linux
Subject:    Re: [ACPI] 100% of CPU utilization by keventd
From:       Alvaro Lopes <alvieboy () alvie ! com>
Date:       2003-01-31 14:50:31
[Download RAW message or body]

Cyril Guyot wrote:

>I am using acpi-20030122 on top of a vanilla linux kernel 2.4.21-pre3;
>on a Toshiba Satellite 5200.
>
>It seems that contrary to kernel-2.4.19 + acpi patch where keventd would
>stay around 0% of CPU utilization, keventd now takes 100% of CPU.
>This behaviour does not happen with kernel 2.4.21-pre3 without ACPI
>patch.
>
>Any idea what the problem could be ?
>
>Also, it seems that kernel-2.5.59 + acpi patch does not boot.
>It will hang at random places during the init process. Booting with
>the acpi=off parameter works.
>  
>
I have the exact same problem with Satellite 2410. I have done some 
debugging and reached no conclusion.

Here's the disassembled part of DSDT which I think is relevant:

        Method (_L08, 0, Serialized)
        {
            Store (\_SB.PCI0.PCIB.BRGB, Local0)
            ShiftLeft (Local0, 0x18, Local0)
            Or (Local0, 0x0020B10B, Local0)
            Store (0xAF, \_SB.MEM.IEDI)
            SMBR (0xFF00, Local0, 0x00, 0x00, 0xB2)
            While (LOr (\_SB.MEM.GP50, LOr (\_SB.MEM.GP52, LOr 
(\_SB.MEM.GP53, LOr (\_SB.MEM.GP54, LOr (\_SB.MEM.GP70, LOr 
(\_SB.MEM.GP71, LOr (\_SB.MEM.BPFE, \_SB.MEM.SYU2))))))))
            {
                If (\_SB.MEM.GP50)
                {
                    Store (0x00, \_SB.MEM.GP50)
                    Notify (\_SB.ADP1, 0x80)
                    Notify (\_PR.CPU0, 0x80)
                }

                If (\_SB.MEM.GP52)
                {
                    Store (0x00, \_SB.MEM.GP52)
                    If (LEqual (\_SB.MEM.BES1, \_SB.MEM.BT1F))
                    {
                        Notify (\_SB.BAT1, 0x80)
                    }
                    Else
                    {
                        Store (\_SB.MEM.BES1, \_SB.MEM.BT1F)
                        If (\_SB.MEM.BES1)
                        {
                            Notify (\_SB.BAT1, 0x00)
                        }
                        Else
                        {
                            Notify (\_SB.BAT1, 0x01)
                        }
                    }
                }

                If (\_SB.MEM.GP53)
                {
                    Store (0x00, \_SB.MEM.GP53)
                    If (LNot (LEqual (\_SB.MEM.TMP1, \_SB.MEM.AST1)))
                    {
                        Notify (\_TZ.THRM, 0x80)
                    }
                }

                If (\_SB.MEM.GP54)
                {
                    Store (0x00, \_SB.MEM.GP54)
                    If (\_SB.MEM.LANA)
                    {
                        Store (0x00, \_SB.MEM.LANA)
                        Notify (\_SB.PCI0.PCIB.LAN, 0x01)
                    }
                }

                If (\_SB.MEM.GP70)
                {
                    Store (0x00, \_SB.MEM.GP70)
                    If (\_SB.MEM.VALF)
                    {
                        Notify (\_SB.VALD, 0x80)
                    }

                    If (LEqual (\_SB.MEM.HKCD, 0x3D))
                    {
                        TRAP (\_SB.MEM.HKCD)
                    }

                    If (LEqual (\_SB.MEM.DOS2, 0x00))
                    {
                        If (LEqual (\_SB.MEM.HKCD, 0x3F))
                        {
                            If (LEqual (\_SB.MEM.TNVS, 0x00))
                            {
                                Notify (\_SB.PCI0.PCI1.VGA, 0x80)
                            }
                        }
                    }
                }

                If (\_SB.MEM.GP71)
                {
                    Store (0x00, \_SB.MEM.GP71)
                    Notify (\_SB.LID, 0x80)
                }

                If (\_SB.MEM.BPFE)
                {
                    Store (0x00, \_SB.MEM.BPFE)
                    Notify (\_SB.BT, 0x90)
                }

                If (\_SB.MEM.SYU2)
                {
                    Store (0x00, \_SB.MEM.SYU2)
                    Notify (\_PR.CPU0, 0x80)
                }
            }
        }

>Thanks,
>Cyril
>
>
>-------------------------------------------------------
>This SF.NET email is sponsored by:
>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
>http://www.vasoftware.com
>_______________________________________________
>Acpi-devel mailing list
>Acpi-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>  
>


-- 

Álvaro Lopes 
---------------------
A .sig is just a .sig




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com
_______________________________________________
Acpi-devel mailing list
Acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic