Bug 11631 - ACPI errors after BIOS update
Summary: ACPI errors after BIOS update
Status: REJECTED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: BIOS (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-23 18:36 UTC by Joshua Hoblitt
Modified: 2008-09-26 19:43 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.27-rc5 (netdev-2.6)
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
dmesg (34.23 KB, text/plain)
2008-09-23 18:36 UTC, Joshua Hoblitt
Details
acpidump > acpidump.asc (114.92 KB, text/plain)
2008-09-23 18:37 UTC, Joshua Hoblitt
Details
BIOS v1.01 dmesg (54.76 KB, text/plain)
2008-09-23 19:17 UTC, Joshua Hoblitt
Details
customized DSDT (144.77 KB, application/octet-stream)
2008-09-23 19:21 UTC, Zhang Rui
Details
acpidump --addr 0xbff5951F --length 0x518 -o cpu0cst (1.27 KB, application/octet-stream)
2008-09-23 19:21 UTC, Joshua Hoblitt
Details
acpidump --addr 0xbff59DDA --length 0x1DD -o cpu0ist (477 bytes, application/octet-stream)
2008-09-23 19:22 UTC, Joshua Hoblitt
Details
acpidump --addr 0xbff59A37 --length 0x85 -o cpu1cst (133 bytes, application/octet-stream)
2008-09-23 19:22 UTC, Joshua Hoblitt
Details
acpidump --addr 0xbff59FB7 --length 0x16E -o cpu1ist (366 bytes, application/octet-stream)
2008-09-23 19:23 UTC, Joshua Hoblitt
Details

Description Joshua Hoblitt 2008-09-23 18:36:09 UTC
After flashing the BIOS on a Tyan s5397 from v1.01 to v1.04 (same hardware as bug #11388) these ACPI errors appeared in the dmesg:

ACPI: Power Button (CM) [PWRB]
ACPI: SSDT BFF59DDA, 01DD (r1  PmRef  Cpu0Ist     3000 INTL 20050228)
ACPI Error (psargs-0355): [\_SB_.PCI0.LPC0.BCMD] Namespace lookup failure, AE_NOT_FOUND
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU0._OSC] (Node ffff81042f442060), AE_NOT_FOUND
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU0._PDC] (Node ffff81042f442040), AE_NOT_FOUND
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI: SSDT BFF59FB7, 016E (r1  PmRef  Cpu1Ist     3000 INTL 20050228)
ACPI: SSDT BFF59A37, 0085 (r1  PmRef  Cpu1Cst     3000 INTL 20050228)
ACPI Error (psargs-0355): [\_PR_.CPU0._CST] Namespace lookup failure, AE_NOT_FOUND
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU1._CST] (Node ffff81042ec875a0), AE_NOT_FOUND
ACPI: Processor [CPU1] (supports 8 throttling states)
ACPI: SSDT BFF5A125, 016E (r1  PmRef  Cpu2Ist     3000 INTL 20050228)
ACPI: SSDT BFF59ABC, 0085 (r1  PmRef  Cpu2Cst     3000 INTL 20050228)
ACPI Error (psargs-0355): [\_PR_.CPU0._CST] Namespace lookup failure, AE_NOT_FOUND
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU2._CST] (Node ffff81042f442ce0), AE_NOT_FOUND
ACPI: Processor [CPU2] (supports 8 throttling states)
ACPI: SSDT BFF5A293, 016E (r1  PmRef  Cpu3Ist     3000 INTL 20050228)
ACPI: SSDT BFF59B41, 0085 (r1  PmRef  Cpu3Cst     3000 INTL 20050228)
ACPI Error (psargs-0355): [\_PR_.CPU0._CST] Namespace lookup failure, AE_NOT_FOUND
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU3._CST] (Node ffff81042f4c4300), AE_NOT_FOUND
ACPI: Processor [CPU3] (supports 8 throttling states)
ACPI: SSDT BFF5A401, 016E (r1  PmRef  CPU4Ist     3000 INTL 20050228)
ACPI: SSDT BFF59BC6, 0085 (r1  PmRef  CPU4Cst     3000 INTL 20050228)
ACPI Error (psargs-0355): [\_PR_.CPU0._CST] Namespace lookup failure, AE_NOT_FOUND
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU4._CST] (Node ffff81042f4fb300), AE_NOT_FOUND
ACPI: Processor [CPU4] (supports 8 throttling states)
ACPI: SSDT BFF5A56F, 016E (r1  PmRef  CPU5Ist     3000 INTL 20050228)
ACPI: SSDT BFF59C4B, 0085 (r1  PmRef  CPU5Cst     3000 INTL 20050228)
ACPI Error (psargs-0355): [\_PR_.CPU0._CST] Namespace lookup failure, AE_NOT_FOUND
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU5._CST] (Node ffff81042f530300), AE_NOT_FOUND
ACPI: Processor [CPU5] (supports 8 throttling states)
ACPI: SSDT BFF5A6DD, 016E (r1  PmRef  Cpu6Ist     3000 INTL 20050228)
ACPI: SSDT BFF59CD0, 0085 (r1  PmRef  CPU6Cst     3000 INTL 20050228)
ACPI Error (psargs-0355): [\_PR_.CPU0._CST] Namespace lookup failure, AE_NOT_FOUND
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU6._CST] (Node ffff81042f567300), AE_NOT_FOUND
ACPI: Processor [CPU6] (supports 8 throttling states)
ACPI: SSDT BFF5A84B, 016E (r1  PmRef  Cpu7Ist     3000 INTL 20050228)
ACPI: SSDT BFF59D55, 0085 (r1  PmRef  Cpu7Cst     3000 INTL 20050228)
ACPI Error (psargs-0355): [\_PR_.CPU0._CST] Namespace lookup failure, AE_NOT_FOUND
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU7._CST] (Node ffff81042f59e300), AE_NOT_FOUND
ACPI: Processor [CPU7] (supports 8 throttling states)
Comment 1 Joshua Hoblitt 2008-09-23 18:36:56 UTC
Created attachment 17982 [details]
dmesg
Comment 2 Joshua Hoblitt 2008-09-23 18:37:36 UTC
Created attachment 17983 [details]
acpidump > acpidump.asc
Comment 3 ykzhao 2008-09-23 19:07:25 UTC
Hi, Joshua
   Will you please confirm whether the ACPI errors exist before upgrading BIOS?
   Will you please attach the following outputs?
   ./acpidump --addr 0xbff59DDA --length 0x1DD -o cpu0ist
   ./acpidump --addr 0xbff59FB7 --length 0x16E -o cpu1ist
   ./acpidump --addr 0xbff5951F --length 0x518 -o cpu0cst
   ./acpidump --addr 0xbff59A37 --length 0x85  -o cpu1cst
    
   Thanks.
Comment 4 Shaohua 2008-09-23 19:13:39 UTC
This is a BIOS bug. \_SB_.PCI0.LPC0.BCMD is referenced, but \_SB.BCMD is
defined.
Comment 5 Zhang Rui 2008-09-23 19:17:25 UTC
hmm, a BIOS bug.

[\_SB_.PCI0.LPC0.BCMD] doesn't exist. This causes the failure when evaluating _OSC method, and CST0 table is not loaded as a result.

please try the customized DSDT attached below.
Comment 6 Joshua Hoblitt 2008-09-23 19:17:48 UTC
Created attachment 17986 [details]
BIOS v1.01 dmesg

different machine, same kernel, same motherboard, different motherboard bios version
Comment 7 Zhang Rui 2008-09-23 19:21:26 UTC
Created attachment 17987 [details]
customized DSDT

please try this customized DSDT,
you can get some help at
http://www.lesswatts.org/projects/acpi/overridingDSDT.php
Comment 8 Joshua Hoblitt 2008-09-23 19:21:43 UTC
Created attachment 17988 [details]
acpidump --addr 0xbff5951F --length 0x518 -o cpu0cst
Comment 9 Joshua Hoblitt 2008-09-23 19:22:12 UTC
Created attachment 17989 [details]
acpidump --addr 0xbff59DDA --length 0x1DD -o cpu0ist
Comment 10 Joshua Hoblitt 2008-09-23 19:22:34 UTC
Created attachment 17990 [details]
acpidump --addr 0xbff59A37 --length 0x85  -o cpu1cst
Comment 11 Joshua Hoblitt 2008-09-23 19:23:02 UTC
Created attachment 17991 [details]
acpidump --addr 0xbff59FB7 --length 0x16E -o cpu1ist
Comment 12 Joshua Hoblitt 2008-09-23 19:33:50 UTC
OK - I can give this a try tomorrow (I can't restart the system until
then as it's in use).  Can you describe a little bit about what's wrong
with the DSDT?

-J

--
On Tue, Sep 23, 2008 at 07:21:26PM -0700, bugme-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=11631
> 
> 
> 
> 
> 
> ------- Comment #7 from rui.zhang@intel.com  2008-09-23 19:21 -------
> Created an attachment (id=17987)
>  --> (http://bugzilla.kernel.org/attachment.cgi?id=17987&action=view)
> customized DSDT
> 
> please try this customized DSDT,
> you can get some help at
> http://www.lesswatts.org/projects/acpi/overridingDSDT.php
> 
> 
> -- 
> Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
Comment 13 ykzhao 2008-09-23 19:50:23 UTC
HI, Joshua
    What Shaohua said in comment #4 is right.
    The BCMD is defined under the scope of _SB. Its full name should be "_SB.BCMD". And there is no object of "\_SB.PCI0.LPC0.BCMD".
    When the ACPI processor driver is loaded, the _PDC object of CPU0 will be evaluated, in which the _OSC object will be called. And "\_SB.PCI0.LPC0.BCMD" object will be accessed. But unfortunately it doesn't exist, which causes that _OSC object will return failure. In such case the CPU0CST SSDT table can't be loaded.
    So the following warning message will be printed:
    > ACPI Error (psargs-0355): [\_SB_.PCI0.LPC0.BCMD] Namespace lookup failure, AE_NOT_FOUND
    > ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU0._OSC] (Node ffff81042f442060), AE_NOT_FOUND
    > ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU0._PDC] (Node ffff81042f442040), AE_NOT_FOUND

    At the same time the ACPI object defined in CPU0CST SSDT table will be referred by other CPUs. As the CPU0CST table is not loaded, the following warning message will be printed for other CPUs.
    > ACPI Error (psargs-0355): [\_PR_.CPU0._CST] Namespace lookup failure, AE_NOT_FOUND
    > ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU4._CST] (Node ffff81042f4fb300), AE_NOT_FOUND

     IMO this is a very obvious BIOS bug. It had better be fixed by upgrading BIOS.
    Thanks.
Comment 14 Joshua Hoblitt 2008-09-23 19:53:55 UTC
Thank you Yakui.
Comment 15 Zhang Rui 2008-09-23 19:55:09 UTC
okay.
_OSC tries to access a non-exist variable \_SB_.PCI0.LPC0.BCMD and fails.
And I fake a \_SB_.PCI0.LPC0.BCMD in the customized DSDT.
If there is no error any more, it proves that my assumption in comment #5 is right. :)
Comment 16 Joshua Hoblitt 2008-09-23 20:13:08 UTC
I have tried to contact the party at Tyan that I've been told is responsible for these sorts of things. Hopefully we'll get a response soon since v1.01 has a nasty halt on keyboard bug that can't be bypass from the serial console and version v1.02 has mtrr problems.
Comment 17 Joshua Hoblitt 2008-09-24 13:36:59 UTC
I also just placed a call to Tyan tech support... I'll let you guys know as soon as this issue is resolved so we can close out the bug.
Comment 18 Zhang Rui 2008-09-26 19:43:24 UTC
Well, it's apparently a bios bug which we can not fix in linux kernel.
Reject this bug.

Joshua,
if there is no newer BIOS available, please try the customized DSDT attached in comment #7.

Note You need to log in before you can comment on or make changes to this bug.