Bug 1619
Summary: | poweroff unless no LAPIC | ||
---|---|---|---|
Product: | ACPI | Reporter: | Jan Bernatik (bernatik) |
Component: | Power-Off | Assignee: | Len Brown (lenb) |
Status: | REJECTED DUPLICATE | ||
Severity: | normal | CC: | acpi-bugzilla, bugzilla, hhielscher, mcaspi |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.4.23-rc2 and newer | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | shutdown LAPIC at poweroff |
Description
Jan Bernatik
2003-12-01 05:20:56 UTC
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 http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.4.22/20031117221510-poweroff.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 Unusual. Please attach the output from dmidecode, available in /usr/sbin/, or here: http://www.nongnu.org/dmidecode/ FYI, acpidmp reads the BIOS tables, so it doesn't change when booting the same config with different kernels. thanks, -Len 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. dmidecode output: http://jaja.kn.vutbr.cz/~bernatik/kernel/dmidecode thanks for info and help. H. 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. BIOS Information Vendor: Phoenix Technologies LTD Version: 4.06 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? id=1141 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 2.6.8.1 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 anyway ? Jan 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. *** |