Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Lockup on halt after Unmounting Filesystems message
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
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 245

PostPosted: Fri Mar 11, 2011 9:29 pm    Post subject: [SOLVED] Lockup on halt after Unmounting Filesystems message Reply with quote

For the a while now whenever I halt the machine, it locks up on "Unmounting Filesystems . . ." before it gets to the "[OK]" message. Do I need to fsck the disk or something? or is it the ntfs mounts maybe? I'm unsure of how to troubleshoot this.

/etc/fstab
Code:
/dev/sdb1      /boot      ext2      noauto,noatime   1 2
/dev/sdb3      /      ext3      noatime      0 1
/dev/sdb2      none      swap      sw      0 0
/dev/cdrom      /mnt/cdrom   auto      noauto,ro,users   0 0
/dev/sdc1               /mnt/ntfs        ntfs-3g          uid=john,gid=users,umask=0022      0 0
clerk:/var/music    /var/music    nfs    defaults        0 0
clerk:/var/pics    /home/media/clerk/pics    nfs    defaults    0 0
clerk:/var/media    /home/media/clerk/media    nfs    defaults    0 0
/dev/sdd1      /mnt/usb   auto      defaults,user,noauto,umask=0000,users   0 0
proc          /proc      proc      defaults   0 0
shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0


Last edited by spindle on Sat Mar 12, 2011 12:03 am; edited 1 time in total
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Fri Mar 11, 2011 9:38 pm    Post subject: Reply with quote

Try unmounting different mounts before shutting down and seeing if it hangs up.

Like, first, try unmounting everything nonessential first and see if it works. Then start over and leave mounted different mounts or types of mounts until it stops working. You can narrow it down this way.
Back to top
View user's profile Send private message
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 245

PostPosted: Sat Mar 12, 2011 12:03 am    Post subject: Reply with quote

BradN, that helped me find the issue. The root problem was that I didn't have ntfsmount in my default runlevel.

My mpd is dependant upon an nfs mount for the music directory. I think it was hanging trying to umount that nfs dir before mpd shutdown. Once I put ntfsmount into default it was able to order the shutdown correctly (since mpd has nfsmount as one of its dependencies). I thought I had ntfsmount in there already but I guess not.

I found the problem when manually unmounting stuff and it wouldn't umount the music folder then it dawned on me. Thanks BradN!
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sat Mar 12, 2011 1:23 am    Post subject: Reply with quote

No problem!

I know how frustrating those sorts of things can be, especially if updates to init scripts change dependencies between "use" and "need", etc...

My personal gripe: Why does sshd "need" networking? Loopback is enough to run it, and if I switch it to "use", it plays nicer when I manually set up a connection, as in... it's actually running when something crashes horribly and I need to remote in! But then I mindlessly update the init script next time sshd gets installed and start all over.
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