LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Poweroff Doesn't Work (https://www.linuxquestions.org/questions/linux-general-1/poweroff-doesnt-work-99804/)

guygriffiths 10-03-2003 09:02 AM

Poweroff Doesn't Work
 
I have just installed LFS, and automatic power off does not work anymore. It used to in Debian, once I recompiled my kernel to include APM. Now it doesn't. I am using kernel 2.4.22 instead of 2.4.18. I have tried with APM built into the kernel, ACPI built into the kernel, neither built in, but nothing works. Is there something else I need to try?
I am using the command "shutdown -h now", which worked on my old system, but not my current one.
Any help would be most appreciated
Guy

DavidPhillips 10-03-2003 09:09 PM

see if `init 0` works

guygriffiths 10-07-2003 07:35 AM

Nope. shutdown -h now, init 0 and halt all do the same thing. They stop all processes and display the message "Power down", but none actually do it.
How can I make this work? I thought it was just a case of enabling APM in the kernel, but apparantely not.

DavidPhillips 10-07-2003 10:24 AM

maybe your system uses acpi, if so there is a patch for it to make some work better. It's a problem with a lot of laptops.

guygriffiths 10-09-2003 06:03 AM

I don't think it does. My old kernel oly had APM enabled, and that worked fine. Plus it's set to APM in the BIOS. I tried append "apm=on" and append "apm=powerdown" in lilo.conf, which I read somewhere else, but nothing seems to work!
If it was just a case of it not working, that would be fine, but it used to work on Debian, and I'm really not doing anything different!

TigerOC 10-09-2003 11:36 AM

Have had the same experience moving from 2.4.18-k7 to 2.4.22. I have tried most of the recommendations but nothing works. apm is compiled into both kernels. Also using Debian

jimveta 10-09-2003 08:58 PM

i have the same issue with my smp machine (like most other's
smp machine i hear) .. but i just found this out from:
http://sdb.suse.de/sdb/en/html/swieg...power-off.html

basically, pass:
acpismp=force
apm=power-off
to kernel

.. haven't tried yet, but gonna soon ..

guygriffiths 10-10-2003 03:53 AM

That could be it! I heard that you should compile SMP support even if your machine doesn't have it. That's one of the very few differences between my old and my new kernel. I don't have a SMP machine, but I'll give it a go.
Cheers

sbadelt 12-02-2003 02:06 PM

any luck on the SMP fix?

mjolnir 12-02-2003 08:04 PM

I have similar problems on my toshiba satellite. I'm dual booting redhat 9 and mdk 9.1.
Redhat works fine, I can shut down and power off. However,if I log-off or Alt-F2 and run halt the
os shuts down and then just sits there blinking at me until I hit the button.

Mdk 9.1 will shutdown and power off if I run halt, but if I log-off I get a black screen with no prompt
and no combination of keystrokes except ctrl-alt-del works. Weird!


All times are GMT -5. The time now is 01:09 AM.