public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* AE_AML_BUFFER_LIMIT errors with latest Linus tree
@ 2005-01-04  6:31 Dmitry Torokhov
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry Torokhov @ 2005-01-04  6:31 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: AE_AML_BUFFER_LIMIT errors with latest Linus tree
@ 2005-01-04  7:29 Yu, Luming
  2005-01-04  7:42 ` Dmitry Torokhov
  0 siblings, 1 reply; 5+ messages in thread
From: Yu, Luming @ 2005-01-04  7:29 UTC (permalink / raw)
  To: Dmitry Torokhov, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Not sure if  kernel option "acpi_os_name=Microsoft Windows" help this?

-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Dmitry Torokhov
Sent: 2005年1月4日 14:32
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [ACPI] AE_AML_BUFFER_LIMIT errors with latest Linus tree

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
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: AE_AML_BUFFER_LIMIT errors with latest Linus tree
  2005-01-04  7:29 Yu, Luming
@ 2005-01-04  7:42 ` Dmitry Torokhov
       [not found]   ` <200501040242.33765.dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Torokhov @ 2005-01-04  7:42 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Yu, Luming

On Tuesday 04 January 2005 02:29 am, Yu, Luming wrote:
> Not sure if  kernel option "acpi_os_name=Microsoft Windows" help this?
> 

No, it does not.

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: AE_AML_BUFFER_LIMIT errors with latest Linus tree
       [not found]   ` <200501040242.33765.dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org>
@ 2005-01-18 18:07     ` Matthew Garrett
  0 siblings, 0 replies; 5+ messages in thread
From: Matthew Garrett @ 2005-01-18 18:07 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, 2005-01-04 at 02:42 -0500, Dmitry Torokhov wrote:
> On Tuesday 04 January 2005 02:29 am, Yu, Luming wrote:
> > Not sure if  kernel option "acpi_os_name=Microsoft Windows" help this?
> > 
> 
> No, it does not.

I'm seeing several of these errors with the post-2.6.10 ACPI patches on
various machines. On previous kernels, no errors were produced. What's
changed that could cause this, and is it correct? 

-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org



-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: AE_AML_BUFFER_LIMIT errors with latest Linus tree
@ 2005-01-18 20:37 Moore, Robert
  0 siblings, 0 replies; 5+ messages in thread
From: Moore, Robert @ 2005-01-18 20:37 UTC (permalink / raw)
  To: Matthew Garrett, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

This problem should be fixed in ACPI CA version 20050114, which is being
integrated into Linux.


> -----Original Message-----
> From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
> admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Matthew Garrett
> Sent: Tuesday, January 18, 2005 10:07 AM
> To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] AE_AML_BUFFER_LIMIT errors with latest Linus tree
> 
> On Tue, 2005-01-04 at 02:42 -0500, Dmitry Torokhov wrote:
> > On Tuesday 04 January 2005 02:29 am, Yu, Luming wrote:
> > > Not sure if  kernel option "acpi_os_name=Microsoft Windows" help
this?
> > >
> >
> > No, it does not.
> 
> I'm seeing several of these errors with the post-2.6.10 ACPI patches
on
> various machines. On previous kernels, no errors were produced. What's
> changed that could cause this, and is it correct?
> 
> --
> Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org
> 
> 
> 
> -------------------------------------------------------
> 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
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-18 20:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-04  6:31 AE_AML_BUFFER_LIMIT errors with latest Linus tree Dmitry Torokhov
  -- strict thread matches above, loose matches on Subject: below --
2005-01-04  7:29 Yu, Luming
2005-01-04  7:42 ` Dmitry Torokhov
     [not found]   ` <200501040242.33765.dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org>
2005-01-18 18:07     ` Matthew Garrett
2005-01-18 20:37 Moore, Robert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox