LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-19-2003, 08:53 PM   #1
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Rep: Reputation: 30
Shutdown problem


Hello there. Everytime that i type
shutdown -h 0
the process to shutdown the machine looks fine. At the end it says power down and stays there. it switches off only if i press once the power switch. Could someone tell how to fix that?So everytime that i type shutdown -h 0, to switch off by itself????
 
Old 10-19-2003, 09:19 PM   #2
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
You may need to compile APM or ACPI as a module into your kernel. Those are different methods of power management.
 
Old 10-19-2003, 09:43 PM   #3
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
You'll probably already have them compiled. Just to a modprobe apm. If that comes back with no errors add the line "apm" to the /etc/modules file. Then add the line `append "apm=on"` to your /etc/lilo.conf file. You'll have to reboot to activate it. There is a way to activate it without rebooting but I can't remember it. It's something like modprobe apm power_off=1 instead of the above command.

Last edited by adz; 10-19-2003 at 09:47 PM.
 
Old 10-20-2003, 08:03 AM   #4
praveenk
Member
 
Registered: Oct 2003
Location: /india/tn/chennai/vadapalani/hcl/networking
Distribution: Debian GNU/Linux SID, FreeBSD
Posts: 59

Rep: Reputation: 15
Most modern BIOS are ACPI enabled. So ensure that ACPI support is compiled as module or in-built with the kernel.
 
Old 10-20-2003, 08:28 AM   #5
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
i tried the modprobe apm and the command it does not exist. it gives error. Any help?
 
Old 10-21-2003, 07:38 AM   #6
Swampy
Member
 
Registered: Jan 2003
Location: Dover, Kent
Distribution: Debian 6.0.1 (Squeeze)
Posts: 133

Rep: Reputation: 15
Recompiling my kernel sorted this problem out for me. If you have the time you'll find it's worth it, as you can cut out the bits of the kernel you don't need and keep the bits that you do (like the apm features)

A good reference to start with for recompiling your kernel is here:
http://www.osnews.com/story.php?news_id=2949

If you set up your new kernel using "make xconfig" There is a simple pointy-clicky interface that gives you lots of help and advice.

Give yourself a couple of hours to do the job. You can always save your configuration if you need a break.
 
Old 10-21-2003, 08:31 AM   #7
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I tried posting earlier but got an error that this site has been giving me lately and then I forgot... Oops. Anyway, is it possible that you're not running the modprobe command as root? You have to be root to insert/remove anything to/from the kernel. If you don't already know, to become root, type su and then it will ask you for the root password.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shutdown Problem Andjeo Mandriva 5 10-21-2004 04:52 PM
Shutdown Problem Jmcatch742 Linux - General 2 08-16-2004 03:09 AM
shutdown problem ! wlaw Linux - Newbie 6 07-01-2004 09:34 AM
X shutdown problem kleptophobiac Linux - Software 9 04-02-2004 07:53 AM
Shutdown Problem gbj Linux - General 1 08-07-2003 08:45 PM


All times are GMT -5. The time now is 10:52 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration