Bug 56313 - /sbin/poweroff fails with apm=off kernel option
Summary: /sbin/poweroff fails with apm=off kernel option
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-15 13:41 UTC by Sven Mattisson
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-06-07 22:24:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Sven Mattisson 2001-11-15 13:41:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Description of problem:
Since resume does not work properly and I couldn't figure out how to avoid
it other than disabling apm in the kernel, I added the option apm=off to
grub.conf.  Now the machine, a Compaq Presario 5670, does not go into sleep
any more.  However, now /sbin/poweroff (via command line entry in terminal
window or logout screens) does not turn off power anymore.  The shutdown
procedure proceeds till "system halted" but then the machine stays in that
mode.  Before adding the kernel option it did power off as one would
expect.  Removing the option makes the computer power off properly again
(but then I'm back to the resume problem).

When installing 7.2 I did a clean install (less user files) and upgraded
disk partitions to EXT3.  I do have two dos partitions.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.add kernel option apm=off to grub.conf
2.reboot
3.power off
	

Actual Results:  After displaying system halted (approximately) power is
not turned off

Expected Results:  power should be turned off

Additional info:

Comment 1 Alan Cox 2003-06-07 22:24:36 UTC
APM handles both so its not a bug



Note You need to log in before you can comment on or make changes to this bug.