Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't shutdown
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
Jengu
Guru
Guru


Joined: 28 Oct 2004
Posts: 384

PostPosted: Mon Nov 01, 2004 3:17 am    Post subject: Can't shutdown Reply with quote

I've got gentoo itself installed and I've been putting in my wm of choice (fluxbox), etc. and everything is working perfect except shutting down, which is a big deal because this is a laptop (Dell Inspiron 8000). shutdown -r now works fine, but plain shutdown now does not.

After it stops XDM it gives the message:

su(pam_unix)[6689]: session closed for user root

I tried pkilli'ing xdm before trying to shut down, but that just made it say error shutting down xdm and then still freeze.

Then it just sits there forever. Eventually the screen goes black, I think that maybe it just trying to save power. In any case, the laptop stays on :/

Since I've been installing I can't remember if I'd just tried reboots so far, or if this worked before and I broke it. If something were wrong with the init script or the shutdown command how would I restore them?

Anyone know how to get shutdown working?

Specs:
Dell Inspiron 8000
256MB PC100 SDRAM
20GB HD
BIOS A22
Touchpad/keyboardpointer/usbmouse
Rage 128 Mobility w/ dri working
Maestro3 alsa (also working)
Back to top
View user's profile Send private message
TimG
n00b
n00b


Joined: 03 Jun 2003
Posts: 62
Location: Houston, TX

PostPosted: Mon Nov 01, 2004 3:20 am    Post subject: Reply with quote

Do you have power management turned on in your kernel?
Back to top
View user's profile Send private message
Jengu
Guru
Guru


Joined: 28 Oct 2004
Posts: 384

PostPosted: Mon Nov 01, 2004 5:03 am    Post subject: Reply with quote

Yup, I have ACPI enabled, and dmesg shows it all turning on properly with no errors. I have wmacpi running and it's detecting when I'm running off AC or batteries properly.
Back to top
View user's profile Send private message
stkaplan
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2004
Posts: 108

PostPosted: Mon Nov 01, 2004 6:32 am    Post subject: Reply with quote

Try "shutdown -h now"
Back to top
View user's profile Send private message
sorooros
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2004
Posts: 134
Location: Vancouver, Canada

PostPosted: Mon Nov 01, 2004 6:59 am    Post subject: Reply with quote

Try
Code:
# halt

Works flawlessly on my Inspiron 1100.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Mon Nov 01, 2004 11:29 am    Post subject: Reply with quote

Moved from Installing Gentoo.
Back to top
View user's profile Send private message
Jengu
Guru
Guru


Joined: 28 Oct 2004
Posts: 384

PostPosted: Mon Nov 01, 2004 6:38 pm    Post subject: Reply with quote

shutdown -h now does work, and the man pages tell me this is supposed to halt the system after shutdown. Every other distrobution that I've used has not required me to do this. Why is gentoo different? Do the other distros just setup an alias to try and be more user friendly?
Back to top
View user's profile Send private message
TiE10
n00b
n00b


Joined: 23 Jun 2004
Posts: 59
Location: NA

PostPosted: Thu Nov 04, 2004 2:58 am    Post subject: Reply with quote

hi, i'm having a similar problem.. but it seems to be caused by lsmod..
When i tried doing an lsmod, it freezes the terminal. When i shutdown, it brings up (sorry, can't get exact error as it only shows up if i try before i startx) something about "process lsmod" and gives a bunch of codes and stuff. Any idea what's wrong?
_________________
"Common sense is something earned by thinking."
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