Distribution: ALT Linux
Hardware Environment: MaxSelect A7wide notebook (AMD Mobile AMD Athlon(tm) XP
2500+, SiS 746 chipset)
Kernel 2.6.11 with ACPI enabled does not boot on this machine - it hangs after
printing "Executing all Device _STA and_INI methods:...". Booting with
acpi_dbg_level=0x2f shows that it hangs on calling the \_SB_.BAT0._STA method.
Kernel 2.6.10 booted on this machine without problems. 2.6.11 with ACPI parts
(drivers/acpi/*, *include/*acpi*, drivers/pnp/pnpbios/core.c) reverted to 2.6.10
versions boots without hang.
was tried - it hangs the same way.
Booting 2.6.11 with acpi_dbg_level=0x3f shows an endless stream of these messages:
exregion-0294  ex_system_io_space_han: system_io 0 (8 width)
exregion-0294  ex_system_io_space_han: system_io 1 (8 width)
The hang seems to happen in this loop inside \_SB.PCI0.LPC0.PMRD:
While (RCMD (0x80, Local0))
Store (PMUC, Local5)
If (And (Local5, 0x01, Local2))
Store (PMUD, Local5)
(other loops seem to have timeouts, but this does not)
Created attachment 4788 [details]
dmesg from booting 2.6.10
This is the dmesg output from the 2.6.10 kernel which works on this machine;
2.6.11 starts to call _STA/_INI methods in the same order, but hangs on
Created attachment 4789 [details]
/proc/acpi/dsdt from MaxSelect A7wide
If you change the 'Noop' statement to 'stall(10)' in the 'RCMD' and
the 'while' statement, what's the result?
The loop loops like waitting for BIOS to complete the operation, but BIOS
seems doesn't respond.
>If you change the 'Noop' statement to 'stall(10)' in the 'RCMD' and
>the 'while' statement, what's the result?
Boot hang seems to go away if ACPI debugging is turned off:
--- config-2.6.11-std26-up 2005-05-14 11:07:49 +0400
+++ .config 2005-05-19 18:52:25 +0400
@@ -1,7 +1,7 @@
# Automatically generated make config: don't edit
-# Linux kernel version: 2.6.11-std26-up-alt9
-# Fri May 13 18:44:03 2005
+# Linux kernel version: 2.6.11-std26-up-alt10
+# Thu May 19 18:52:25 2005
@@ -163,7 +163,7 @@
+# CONFIG_ACPI_DEBUG is not set
Another data point: even if CONFIG_ACPI_DEBUG is enabled, the hang does not
occur if ACPI object caching is enabled with this patch:
--- linux-2.6.11/include/acpi/platform/acenv.h.acpi-cache 2005-03-02 10:37:50 +0300
+++ linux-2.6.11/include/acpi/platform/acenv.h 2005-05-19 19:15:21 +0400
@@ -44,6 +44,7 @@
* Configuration for ACPI tools and utilities
Is this problem still present in 2.6.12-rc5?
this bug also reproduced on NEC Versa FM340
still an issue in 2.6.13?
This bug is reproduced on MaxSelect a7wide with kernel 2.6.13-rc6
Reducing severity to low, because DEBUG mode is not intended for production systems.
*** This bug has been marked as a duplicate of 5121 ***