Bug 24198

Summary: [ACPI] "poweroff" didn't - it rebooted
Product: [Retired] Red Hat Linux Reporter: Chris Adams <linux>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: redhat
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: Florence Gold
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-08 19:50:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 23322    
Bug Blocks:    

Description Chris Adams 2001-01-17 05:33:27 UTC
When I run "poweroff" (as root), it does a normal shutdown and then reboots
instead of powering off.  It works in 7.0 (and 6.2).

Comment 1 Bill Nottingham 2001-01-17 17:51:27 UTC
SysVinit didn't change how it called poweroff/reboot/etc. Sounds like it's a
kernel problem in the APM support.

Comment 2 Glen Foster 2001-01-17 18:22:04 UTC
This defect is considered MUST-FIX for Florence Gold release

Comment 3 Chris Adams 2001-01-17 19:25:16 UTC
Hmm...  My main install on this computer is 7.0 (actually
6.9.8, RC2 - I haven't had a chance to upgrade yet).  I do test
installs to a different hard drive.  I've upgraded the 6.9.8
install to kernel 2.4.0-prerelease (again, haven't had a chance
to upgrade to -release), and it powers off on shutdown just
fine.

I'll try to dig some more and see if I can figure out what is
happening.

Comment 4 Michael K. Johnson 2001-01-19 19:24:35 UTC
Since we're now based on 2.4.0-ac9, I'll assume that the fix
has been included.  Re-open this bug report if 2.4.0-0.99.5
or later still has this bug.  Thanks!

Comment 5 Chris Adams 2001-01-21 22:29:56 UTC
The newer kernel didn't help.

After some recompiles and testing, it appears that the problem is with
the CONFIG_APM_REAL_MODE_POWER_OFF option.  If I recompile the kernel
with the i586 non-SMP config except for turning this option off, I can
power off on "poweroff" just fine.

This is an EpOX EP-MVP3G2 motherboard with the VIA MVP3 chipset and an
AMD K6-III CPU.  I've got the latest BIOS on it from 12/21/2000.

Comment 6 Arjan van de Ven 2001-01-23 10:03:57 UTC
CONFIG_APM_REAL_MODE_POWER_OFF works fro about half the machines I've seen,
and doesn't for the others. Unfortionatly, disabling it is no option as there
have been reports of broken bioses doing very evil things in that case.

Comment 7 Stephen Rasku 2001-01-31 08:54:09 UTC
I am also seeing this on a Asus K7M motherboard.  7.0 works fine.

Comment 8 Stephen Rasku 2001-02-08 09:05:49 UTC
Still happening on beta3.

Comment 9 Arjan van de Ven 2001-02-14 10:08:31 UTC
This will be fixed by disabling READ_MODE_POWEROFF in the next
Rawhide kernel we build (version 2.4.1-0.1.6 or later).
If these kernels does not fix the problem for you, please reopen this
bug.