Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo doesn't turn off my computer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
JukkaR
n00b
n00b


Joined: 02 Aug 2002
Posts: 61
Location: Finland

PostPosted: Sun Aug 04, 2002 4:03 pm    Post subject: Gentoo doesn't turn off my computer Reply with quote

Gentoo Linux 1.2 (2.4.19-gentoo r7) doesn't shut down my computer when I choose "Shut down" from kdm. It won't do anything after prompted "power down." And yes, my computer has an apm support.
If I type "shutdown now" in console, it sets runlevel to 3 - maintenance mode or something, but won't shutdown computer at this time either.
Back to top
View user's profile Send private message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Sun Aug 04, 2002 5:45 pm    Post subject: Reply with quote

Have you compiled APM support in your Kernel?
Works fine for me...
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Sun Aug 04, 2002 7:07 pm    Post subject: Reply with quote

First, with the shutdown, try:

Code:

shutdown -h now


On my computer, I need to specify -h.

Second, does your computer use APM or ACPI? For my computer to shut off on shutdown, I had to enable ACPI in the kernel and emerge acpid, as said in this thread: https://forums.gentoo.org/viewtopic.php?t=5199
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
timbo
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 231
Location: New Zealand

PostPosted: Tue Aug 06, 2002 3:55 am    Post subject: Reply with quote

I have my gentoo kernel compiled exactly the same as my 2.4.18 but with the gentoo one the pc will not power off. I have not tried booting gentoo with the 2.4.18 as this is currently set up for Mandrake. I'll play with lilo and see what happen's.....

Regards
Tim
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Tue Aug 06, 2002 6:26 am    Post subject: Reply with quote

On some BIOS-es, the kernel option "Use real mode to power off" must be set for the computer to power off at shutdown.

Try changing this setting in the kernel configuration, recompile the kernel, reinstall and try again.
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
Pigeon
Guru
Guru


Joined: 21 Jun 2002
Posts: 307

PostPosted: Tue Aug 06, 2002 7:21 am    Post subject: Reply with quote

(4 recompiles later)

My comp won't boot with ACPI enabled in the kernel, and my bios does not support APM. (who needs APM when you have ACPI? *sigh*)

Am I SOL or have I mis-configured ACPI? Running an ABIT KG7-RAID.

I haven't actually cared all that much about it until I read this thread heh. Haven't had a linux box that shut down automatically for about a year and a quarter.

Uhh- one more thing. Does it strike anyone else as odd that apmd must be running for APM stuff to work (ie, shut down the computer) and the first thing that happens when you shut down the computer is "Shutting down apmd [OK]"?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum