Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I'm runing Linux Mandrake 8.2 on an Intel P4
ATX desktop machine. When I do a system shutdown,
the computer power does not switch itself off.
The system goes through all the correct motions of
doing a shutdown, but at the very end it just displays
the "Power Down" message, and sits there.
This is a dual boot machine with Win 98, which does
power down the system correctly after shutdown.
The 'halt' script (in /etc/init.d) contains:
# See how we were called.
case "$0" in
*halt)
message=`gprintf "Halting system..."`
command="halt -p"
;;
*reboot)
message=`gprintf "Please stand by while rebooting the system..."`
command="reboot"
;;
*)
and this also:
HALTARGS="-i -d -p"
if [ -f /halt ]; then
HALTARGS="-i -d"
fi
I would have thought this would be sufficient to power off
the machine.
One thing to note: 'killall' fails during the shutdown
(don't know why [how can I find out?], or whether this has anything to do with the machine not powering off).
Any idea what's wrong? It's a real head-scratcher for me.
on my mdk 8.2 the apm is not loaded still it shutdowns very fine
the different mdk versions 8.0 8.1 and 8.2 had all to do with
their own shutdown trouble (luckily never on my sytems though)
Some apm settings in the bios or even flashing the bios (beware)
was a solution for some.
in mdk 8.1 as mentioned in one of their errata it could have
to do with usb but i guess that should produce some error
when shutting down.
maybe deleting some services you dont need or for testing
does the trick
maybe using another kernel (some got rid of their problem
upgrading from 8.0 to higher version)
i know thats alot of 'maybe's' but havent encountered problems
myself this is what i have seen on the web/forum
Hmmmm... Aussie is right. I did an 'lsmod' as root and
'apm' is not is not listed. Doing 'modprobe apm' results
in: 'modprobe: Can't locate module apm'. So, that sounds
like my problem then. Now, where can I get this apm
module, and how do I install it? Thanks for all the
help here. I really appreciate this.
The next step before you dive into a new kernel is to have a look at the output of "ps -ax" for /usr/sbin/apmd, if that is there then apm has been conpiled directly into the kernel and the problem lies somewhere else.
No, it means that apm was compiled into the kernel instead of as a module, the next thing to do is check your bios and make sure that apm is not disabled there.
I checked the BIOS Power settings, and it makes no mention
of APM at all ( just wakeup on LAN and Modem stuff).
But, as I mentioned, Win 98 turns off the power after
shutdown. So, presumably, it just works and there is no
disable option for it. The Motherboard is an Intel D845W
with an Intel P4 1.7GHz processor. Any other thoughts?
John.
I had remarkably similar problem on my Debian system running on a machine with Asus motherboard. First I thought that it's bios' fault however, after some research , I've found that using acpi instead of apm is a better idea at least on some systems. I've reconfigured the kernel, threw out all the apm stuff, under 'general setup' I've added 'acpi support', 'acpi bus', 'acpi system', and 'acpi button'. Don't know if all of it is required, don't know if it will work for you, but it solved my case, simple 'halt -p' turns off the system AND the power. Good luck.
The powerdown issue has now been fixed as follows:
Upgrade to Mandrake 9.1
In the Bootloader config, check the Enable APCI checkbox
(it is un-checked by default).
Fabre, read my previous post again.
Did you try this suggestion?
Did you locate the ACPI Checkbox (in Mandrake
Control Center -> Bootloader config)
What happened when you checked it?
John, I'm having the same problem. On mine, (Mandrake 10.1) the ACPI box is checked. Do I have to be logged in as root to check the other thing you mentioned?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.