Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fresh install freezes on shutdown
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
balph2k
n00b
n00b


Joined: 18 Aug 2005
Posts: 6

PostPosted: Fri Aug 19, 2005 3:47 pm    Post subject: Fresh install freezes on shutdown Reply with quote

I've just finished a stage 3 installation of gentoo (x86, 2005.1) on my server machine. When I attempt to reboot the machine everything is fine. However when I use "shutdown", it freezes after "Saving random seed". I then have to forcefully poweroff the machine resulting in a warning on startup that the boot partition wasn't correctly unmounted (it then tests/repairs the filesystem).

Any thoughts as to what could be the problem, or how to solve it?
Back to top
View user's profile Send private message
Raftysworld
Apprentice
Apprentice


Joined: 27 Feb 2005
Posts: 236
Location: Snohomish, WA

PostPosted: Fri Aug 19, 2005 4:57 pm    Post subject: Reply with quote

This happened to me a while back. The problem, for me, lied in /etc/fstab. Ensure that every entry in there is correct. I had setup a usbfs line to mount which didn't exist, and for some reason that caused the shutdown freeze for me. Once I removed it, it was fine.
_________________
emerge --info
Portage 2.1.4 (default-linux/x86/dev/2007.1, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo i686)
Back to top
View user's profile Send private message
balph2k
n00b
n00b


Joined: 18 Aug 2005
Posts: 6

PostPosted: Fri Aug 19, 2005 6:55 pm    Post subject: Reply with quote

My /etc/fstab is still exactly as the installation guide recommended. Unless I've made an error that anyone can spot?

Code:
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1               /boot           ext2            defaults        1 2
/dev/hda3               /               ext3            noatime         0 1
/dev/hda2               none            swap            sw              0 0

/dev/cdroms/cdrom0      /mnt/cdrom      auto            noauto,user     0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
none                    /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
Back to top
View user's profile Send private message
balph2k
n00b
n00b


Joined: 18 Aug 2005
Posts: 6

PostPosted: Fri Aug 19, 2005 9:01 pm    Post subject: Reply with quote

No ideas? I'm fairly new to using Linux so if there's any more useful info I can provide just say and I'll get it.
Back to top
View user's profile Send private message
galenjr
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2004
Posts: 88
Location: Connecticut, USA

PostPosted: Fri Aug 19, 2005 9:02 pm    Post subject: Reply with quote

try shutdown -h now
Back to top
View user's profile Send private message
balph2k
n00b
n00b


Joined: 18 Aug 2005
Posts: 6

PostPosted: Fri Aug 19, 2005 10:56 pm    Post subject: Reply with quote

Thanks, that worked... and having gone back and read the man page for shutdown (again!) I see why. It's missing little things like that is killing me getting used to using this OS :(
Back to top
View user's profile Send private message
Major
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 198
Location: Sherbrooke, Qc, Canada

PostPosted: Sat Aug 20, 2005 1:41 am    Post subject: Reply with quote

Shutdown just shutdown the OS ... the -h (stand for halt) actually turns off the computer.
But like you said and I figure you did check the man pages. Take a look into the halt command as well.

What a did is put a alias in the .bashrc file so I dont need to type the hole thing each time

Which is kind of useless since I dont really shuting down my Linux PC. :)
_________________
Major over and out
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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