LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 01-22-2004, 10:51 PM   #1
bluefire
Member
 
Registered: Oct 2003
Distribution: Mandrake 10
Posts: 160

Rep: Reputation: 30
power down doesn't work


I upgraded from Mandrake to Debian sarge and am having an issue with powering down. Under Mandrake, "power off" from KDE (or from GDM) would work just fine; the computer would switch off. Under the current setup, it shuts down all processes, and I can hear it shutting down the hard drives (?); however, the monitor and the power to the box stays on (CD drives can be ejected, the fan comes on, etc etc). When I turn it off and on again from this state, the bios re-recognizes all of the hard drives. I used Grub in Mandrake, and use Grub now in Debian: APM is on, as far as I can make out (here's the kernel lines from menu.lst)

title Installed 1-18-04 2.4.22 k6
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 apm=on ro hdc=scsi hdb=scsi
initrd /boot/initrd.img-2.4.22-1-k6
savedefault

title Libranet GNU/Linux, kernel 2.4.19
root (hd0,0)
kernel /boot/vmlinuz-2.4.19 root=/dev/hda1 apm=on ro hdc=scsi hdb=scsi
savedefault

title Libranet GNU/Linux, kernel 2.4.19 (single user mode)
root (hd0,0)
kernel /boot/vmlinuz-2.4.19 root=/dev/hda1 apm=on ro hdc=scsi hdb=scsi single
savedefault

Any ideas?

Thanks
 
Old 01-23-2004, 07:03 AM   #2
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Rep: Reputation: 30
My SuSE system does that too. I just think that Linux is leaving you to flip the switch. It should do no harm to your computer, the hardrives have already been unmounted and no processes are running.
 
Old 01-23-2004, 07:27 AM   #3
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
I wonder what command is bound to in the GUI (is guess you use some GUI "shutdown" from the start menu).

Try typing either
shutdown
or
halt -p
in a command terminal and see if it shuts down completely then. If it does, then you could possibly change the setting for what command is executed.

Regards
Martin
 
Old 01-23-2004, 08:09 AM   #4
dmx9595
Member
 
Registered: Jun 2003
Location: Canada,Ontario
Distribution: Debian and Gentoo
Posts: 135

Rep: Reputation: 15
you need compile APM(Advanced Power Management) into your kernel or load it as as a module
and it will then fully shutdown for you
 
Old 01-23-2004, 08:29 AM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,151

Rep: Reputation: 51
yea, thats it.
run
modprobe apm
if it's not there, compile it in.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how should i make work power-on by alarm? grybautojas Linux - Hardware 1 11-07-2005 02:35 PM
Monitor Power saving does not work in X window manager Cirilobeto Slackware 4 09-08-2005 07:46 AM
Display Power Management won't work TazG Linux - Hardware 4 06-18-2004 08:58 AM
PSU - Power Supply Unit - how does it work? lazlow69 Linux - Hardware 2 04-27-2004 03:46 PM
power save doesn't work after couple of days? ubien Linux - General 5 12-08-2002 09:10 PM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration