Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 49867 - poweroff won't power off Compaq 12XL125
poweroff won't power off Compaq 12XL125
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Arjan van de Ven
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-07-24 14:11 EDT by Chris Ricker
Modified: 2007-04-18 12:35 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-06-05 13:18:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Ricker 2001-07-24 14:11:30 EDT
APM options in the default kernel are incorrect for poweroff to work on
Compaq 12XL125 laptops
Comment 1 Glen Foster 2001-07-24 16:31:21 EDT
So what are the correct options?
Comment 2 Chris Ricker 2001-07-26 10:30:59 EDT
With 2.4.2 on 7.1, I used:

# CONFIG_APM_RTC_IS_GMT is not set

I'm still having kernel compile issues with FairFax, so I've not confirmed that
they work there....
Comment 3 Arjan van de Ven 2001-07-30 10:21:01 EDT
please try booting with the "apm=allow-ints" kernel commandline option
Comment 4 Kjartan Maraas 2001-08-06 13:55:06 EDT
It worked for me until recently, but after installing the beta kernels it
started failing again. I have to use apm -s to suspend the machine. It doesn't
respond to the suspend button at all. Also, if I have my USB-mouse attached it
fails to suspend at all.
Comment 5 Kjartan Maraas 2001-08-06 14:00:11 EDT
I forgot to mention that I have a Compaq Armada M300.
Comment 6 Chris Ricker 2001-08-10 12:24:05 EDT
apm=allow-ints works for me with 2.4.7-0.3
Comment 7 Arjan van de Ven 2001-08-10 12:33:05 EDT
If apm=allow_ints works, please download


and (as root)

gcc dmidecode.c -o dmidecode
./dmidecode | mail -s "needs apm=allow_ints" hardwarebugs-list@redhat.com

(please check the program out without the mail part, so you can see what it will 
Comment 8 Chris Ricker 2001-09-05 13:50:06 EDT
with the kernel from RC2, neither the default kernel or the default +
apm=allow-ints will power off the machine

this used to work with older Red Hat releases after I recompiled the kernel
Comment 9 Chris Ricker 2001-10-01 09:43:16 EDT
Still true with 2.4.7-10 in RH 7.2 release.  I can't find any way to get the
machine to power off.  This is a regression from 7.1
Comment 10 Pete Zaitcev 2002-01-25 19:04:57 EST
Sure this bug is not NEW anymore?

Did we get the DMI dump with dmidecode?
I'll mark as NEEDINFO if not.
Comment 11 Chris Ricker 2002-02-10 20:35:31 EST
I sent in the dmidecode info months ago....  I can do it again if it's still needed.

At any rate, I just put hampton beta1 on there, and it has the same problem with
Comment 12 Wendy Hung 2002-02-25 13:33:09 EST
Also seen on a few IBM xSeries boxes with Red Hat 7.2 and Hampton beta1.  
Conflict between ACPI enabled kernels and APM?
Comment 13 Arjan van de Ven 2002-02-25 13:35:17 EST
wendyh@us.ibm.com: no since we don't enable ACPI.
Comment 14 Wendy Hung 2002-03-08 11:28:53 EST
Fixed in Hampton Beta2.  Verified on an IBM xSeries 200 8479 model.
Comment 15 Chris Ricker 2002-03-08 13:38:06 EST
beta2 still doesn't power off for me....
Comment 16 Wendy Hung 2002-03-08 16:23:55 EST
poweroff still fails to poweroff the machine
on an IBM xSeries 232 and 350.  Screen stays at: "Power Down".

On a x232, using the kernel parameters "apm=power-off" and
"apm=realmode-power-off" also failed. In each case, there is a
kernel message during boot that says "apm: BIOS not found." 

On a x300, however, while booting the message is 
"apm: BIOS version 1.12 Flags 0x087 (Driver version 1.16)", 
and the apmd daemon loads later on.   Poweroff works.
Comment 17 Arjan van de Ven 2002-03-08 16:30:11 EST
On machines without APM of course poweroff doesn't work....
Linux needs APM support from the bios to do APM poweroff.
Comment 18 Chris Ricker 2002-03-17 01:28:39 EST
Here's the score on the Compaq 12XL125 with 2.4.18-0.4

enable APM BIOS Support and RTC stores in GMT -- machine hangs powering off

enable APM BIOS Support, RTC, and Allow interrupts -- machine hangs powering off

enable APM BIOS Support, RTC, Allow interrupts, and Use real mode BIOS call --
machine reboots when powered off
Comment 19 Chris Ricker 2002-10-04 18:09:53 EDT
Just for the record, it still doesn't power off with 8.0 (2.4.18-14)

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