Bug 3748

Summary: Reboot instead of ATX powerdown - 2.4 only
Product: ACPI Reporter: SGh (sgh)
Component: Power-OffAssignee: Alexey Starikovskiy (astarikovskiy)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.4.27 Subsystem:
Regression: --- Bisected commit-id:

Description SGh 2004-11-15 06:18:47 UTC
Distribution: Mandrake 10.0 Official
Hardware Environment: MB Soltek SL75KAV (VIA KT-133A)
Software Environment: gcc-2.95.3
Problem Description: When I try to poweroff with ACPI, I see Line "acpi_power_off called", and computer reboots... Same bug was in 2.6.<=8, but now I use kernel 2.4.27, And foud here same bug.

Steps to reproduce: halt, poweroff, shutdown -p now
Comment 1 Len Brown 2004-11-15 19:10:20 UTC
You've seen this failure in 2.4.27, and in 2.6.8.1 
I assume it is still broken in 2.6.9? 
Did any version of an ACPI-enabled kernel poweroff correctly on this system? 
 
Possibly a duplicate of 3669 
Comment 2 Len Brown 2004-11-15 19:30:09 UTC
Others have reported this issue, but only when connected to AC. 
Does this still fail for you if you're running on battery? 
Comment 3 Len Brown 2004-11-15 19:32:13 UTC
please test the patch in bug 3669 
Comment 4 SGh 2004-11-16 01:32:49 UTC
This failure is in 2.4.27 (Maybe in other 2.4.x, I don't know), and in 2.6.x older than 2.6.9. In 2.6.9 it poweroff properly... I hawe Desktop system and can't use battery. OK, I will test patch from bug 3669.
Comment 5 SGh 2004-11-16 22:59:39 UTC
I don't understand, how can I apply patch from bug 3669, as it is for 2.6.9
kernel? In my 2.4.27 source-tree files for applying patch not even exists...
Did you mean this patch?
http://bugme.osdl.org/attachment.cgi?id=4034&action=view
Comment 6 Len Brown 2004-11-17 00:59:15 UTC
thanks for clarifying that 2.6.9 power-off's correctly
and that you see the issue in 2.4.27.

yes, the patch in bug 3669 is for 2.6, so it will not help here.

Can you test the latest snapshot of 2.4.28?
Comment 7 SGh 2004-11-18 00:19:26 UTC
I patched my 2.4.27 kernel with patch-2.4.28-rc4.bz2. Now it poweroff properly!
Thanks!
Comment 8 Len Brown 2004-11-24 18:43:35 UTC
Thanks for confirming that the latest 2.4.28 snapshot power off's correctly.

closing.