AE_AML_BUFFER_LIMIT errors with latest Linus tree

From: Dmitry Torokhov <hidden>
Date: 2005-01-04 06:31:50

Hi,

The latest pull from Linus tree prduces the following errors:

Jan  3 23:48:10 anvil kernel: ACPI: Subsystem revision 20041210
Jan  3 23:48:10 anvil kernel:     ACPI-1138: *** Error: Method execution failed [\STRC] (Node f7f867e0), AE_AML_BUFFER_LIMIT
Jan  3 23:48:10 anvil kernel:     ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0._INI] (Node f7f86b00), AE_AML_BUFFER_LIMIT

The relevant fragments of DSDT are:

    Method (STRC, 2, NotSerialized)
    {
        If (LNot (LEqual (SizeOf (Arg0), SizeOf (Arg1))))
        {
            Return (0x00)
        }

        Add (SizeOf (Arg0), 0x01, Local0)
        Name (BUF0, Buffer (Local0) {})
        Name (BUF1, Buffer (Local0) {})
        Store (Arg0, BUF0)
        Store (Arg1, BUF1)
        While (Local0)
        {
            Decrement (Local0)
            If (LNot (LEqual (DerefOf (Index (BUF0, Local0)), DerefOf (Index (BUF1, Local0)))))
            {
                Return (Zero)
            }
        }

        Return (One)
    }

                Method (\_SB.PCI0._INI, 0, NotSerialized)
                {
                    If (STRC (\_OS, "Microsoft Windows"))
                    {
                        Store (0x56, SMIP)
                    }
                    Else
                    {
                        If (STRC (\_OS, "Microsoft Windows NT"))
                        {
                            If (CondRefOf (_OSI, Local0))
                            {
                                If (\_OSI ("Windows 2001"))
                                {
                                    Store (0x59, SMIP)
                                    Store (0x00, OSFL)
                                    Store (0x03, OSFX)
                                }
                            }
                            Else
                            {
                                Store (0x58, SMIP)
                                Store (0x00, OSFX)
                                Store (0x00, OSFL)
                            }
                        }
                        Else
                        {
                            Store (0x57, SMIP)
                            Store (0x02, OSFX)
                            Store (0x02, OSFL)
                        }
                    }
                }

This did not happen with 2.6.10 and earlier bk pulls. The code looks sane
to my unexperienced eye... Any suggestions?

-- 
Dmitry


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help