LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-03-2003, 10:02 AM   #1
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
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
 
Old 10-03-2003, 10:09 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
see if `init 0` works
 
Old 10-07-2003, 08:35 AM   #3
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Original Poster
Rep: Reputation: 37
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.
 
Old 10-07-2003, 11:24 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.
 
Old 10-09-2003, 07:03 AM   #5
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Original Poster
Rep: Reputation: 37
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!
 
Old 10-09-2003, 12:36 PM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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
 
Old 10-09-2003, 09:58 PM   #7
jimveta
Member
 
Registered: Oct 2003
Location: los angeles
Posts: 32

Rep: Reputation: 15
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 ..
 
Old 10-10-2003, 04:53 AM   #8
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Original Poster
Rep: Reputation: 37
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
 
Old 12-02-2003, 03:06 PM   #9
sbadelt
Member
 
Registered: May 2003
Location: Los Angeles, CA
Distribution: Mandrake 9.2
Posts: 36

Rep: Reputation: 15
any luck on the SMP fix?
 
Old 12-02-2003, 09:04 PM   #10
mjolnir
Member
 
Registered: Apr 2003
Posts: 768

Rep: Reputation: 87
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Poweroff as user Murdock1979 Slackware 18 07-21-2008 06:18 AM
poweroff Poszukiwacz Ubuntu 2 08-17-2005 06:10 AM
poweroff not working. navaladi Mandriva 1 01-19-2005 10:36 AM
how to poweroff ?? perdesiz Linux - Laptop and Netbook 5 12-29-2004 04:31 AM
poweroff praveen_2003 Linux - Software 1 07-13-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration