Kernel Bug Tracker – Bug 1619
poweroff unless no LAPIC
Last modified: 2004-11-05 22:15:13 UTC
Distribution: Debian stable
centrino laptop (4-months old)
pentium-M, intel 855PM chipset
phoenix bios (could't found any real information at support), but maual to laptop says "BIOS
corresponding to ACPI".
with upgrade from 2.4.23-rc1 to rc2, after "power off", monitor is switched off, hdd semms to be
switched off too, but leds indicating "power on" are still "shining", and fan is working.
I have to swith laptop manually and then turn it on again.
I have to use acpi="force" boot option
This is same with 2.6.0-testX kernels.
.config (same rc1 & rc2)
dmesg rc1 kernel (with acpi="force")
dmesg rc2 kernel (with acpi="force")
dmesg rc2 kernel (without acpi="force")
acpidmp rc1 kernel
acpidmp rc2 kernel
acpidmp rc2 kernel ( without acpi="force") (quite surprised me)
Poweroff worked in rc1, but doesn't work in rc2? Still broken in latest 2.4.23?
Same BIOS version? Same devices attached and modules loaded?
What versions of 2.6 have you tried -- they all fail?
Do you get to see the last messages on the screen before it is disabled?
Please revert this patch
$ patch -Rp1 <tmp.patch
and let me know if poweroff starts working again.
> ACPI disabled because your bios is from 92 and too old
Please attach the output from dmidecode, available in /usr/sbin/, or here:
FYI, acpidmp reads the BIOS tables, so it doesn't change when booting the same config with
yes, rc1 works, rc2 don't. in stable 2.4.23 don't.
Same BIOS. Same devices & modules (none)
As I remember, from test4 I tried I think all with same efect.
If you want, I can try all test kernels if it is important.
Last message I see on konsole is
"unmounting local filesystem"
and then monitor is switched off.
with this patch rc2 works.
thanks for info and help.
Thanks for testing that 2.4.23 poweroff works with the patch reverted.
Unfortunately, we got reports it _fixes_ poweroff for other machines...
Looks like we need to debug it on your box if you're willing to apply
some debug patches.
Thanks for the dmidecode. Looks like the vendor indeed toasted the date.
Vendor: Phoenix Technologies LTD
Release Date: 01/01/92
Since it is a new platform they're probably still updating the BIOS and if you report the bug they
may fix it.
sure I will test patches on my box. Sorry I can't do more for that moment .
I don't understand if the bug in bios is just release date, or more.
I can't believe the bios is from 92 ( it has for example boot from usb option ...)
I already asked vendor to provide some sdditional information.
With the newest BIOS I don't have to use acpi="force" option anymore, vendor (surprisingly) repaired
the BIOS release date. Anyway poweroff problem is still present :(
There are some successful stoies on http://bugzilla.kernel.org/show_bug.cgi?
Same problem on an old machine/bios using APM.
Created attachment 3860 [details]
shutdown LAPIC at poweroff
Could you please try the following patch? It looks like forcefully enabled APIC
should be disabled before power off...
I tried to recompile 184.108.40.206 kernel without CONFIG_X86_UP_APIC, and the problem
is gone. so I suppose it's solved. do you want me to try to apply the patch
Actually there are command string options to kernel to switch lapic off
("nolapic"). Bug is that linux should not hang without any twists... So this patch
(or some other) is needed. On my Dell D600 this patch solved similar problem and
I hope it will work for you too. Thanks in advance.
*** Bug 1658 has been marked as a duplicate of this bug. ***
> Local APIC disabled by BIOS -- reenabling.
> Found and enabled local APIC!
Ah yes, duplicate of bug 3238
*** This bug has been marked as a duplicate of 3238 ***