Remastersys and AVLinux Forum
May 22, 2013, 03:08:42 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Remastersys 3.0.4-2 for Ubuntu Lucid and Newer including Quantal Released
 
   Home   Remastersys Home Remastersys downloads Donate Login Register AV LINUX Home Help Search  
Pages: [1]
  Print  
Author Topic: Shutdown hang AVL 5.0.3  (Read 658 times)
0 Members and 1 Guest are viewing this topic.
avlmac
Sr. Member
****
Offline Offline

Posts: 81


« on: June 11, 2012, 05:53:16 PM »

Every once in a while when I shutdown AVL 5.0.3 it hangs at a terminal login prompt.

At that point I need to use the power switch to power off.

When I reboot, it does a check of the second drive.

This machine also has a network mount.

I think the hang happens when I shutdown the machine servicing the network mount first, i.e. when this machine is shutdown it hangs waiting to gracefully un-mount the net drive, that is no longer there.

Am I missing what needs to be in another file for graceful shutdown?

This is what fstab looks like:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc /proc proc defaults 0 0
# /dev/sda2
/dev/sda2 / ext2 relatime,errors=remount-ro 0 1
# /dev/sda3 home
/dev/sda3 /home ext2 relatime 0 0
# /dev/sda1
/dev/sda1 none swap sw 0 0
# cdrom
/dev/cdrom /media/cdrom udf,iso9660 user,noauto,exec,utf8 0 0

#Old UbuntuStudio data disk
UUID=01b72ef8-fb6f-4815-8cf9-909989985a12 /storage ext3 defaults 0 0


192.168.53.13:/home/mac /home/mac/tunes nfs
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #1 on: June 11, 2012, 05:56:28 PM »

Your problem is most likely that you are not letting nfs unmount cleanly or it is getting hung up.  You may also have files open that are preventing your other mount from being unmounted.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
avlmac
Sr. Member
****
Offline Offline

Posts: 81


« Reply #2 on: June 11, 2012, 07:04:59 PM »

Yes, probably.

But, is there a way to have nfs handle the shutdown gracefully?

And/or, if there are files open on any drive, how does that get handled gracefully?

Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #3 on: June 11, 2012, 07:52:22 PM »

Normally the regular drives are unmounted clean.  Why are you using ext2?  That can lead to corruption due to unmount issues as it isn't journaling.  I would use ext3.

NFS can be a pain.  If the network stack comes down before nfs unmounts it will most likely hang as it can't unmount the share.  This usually only happens if you are using wireless though.

What you should do is check through /var/log/syslog after rebooting to see what the errors were that hung it up.  Check the timestamps for the correct time of the events.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
rickbol
Jr. Member
**
Offline Offline

Posts: 18


« Reply #4 on: June 11, 2012, 07:54:22 PM »

I have experienced hangs of shutdown, but it hasn't resulted in a volume\disk check yet. I have no network shares.

Rick
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #5 on: June 11, 2012, 08:07:03 PM »

You need to check the /var/log/syslog to see what the last entry is before you powered it off.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
avlmac
Sr. Member
****
Offline Offline

Posts: 81


« Reply #6 on: June 11, 2012, 08:17:37 PM »

Using ext2...probably that way when i installed and i didn't change it. or that was the default when I did the partitions. Been long enough my old brain doesn't remember.   Roll-Eyes


hmm...what should I use to re do that.

I thought there was some incantation that told nfs to give up if the nfs server was gone. But that memory probably comes from 20 year old recollections of my unix days.  Wink
Logged
flophouse43
Newbie
*
Offline Offline

Posts: 1


« Reply #7 on: July 22, 2012, 01:01:33 PM »

Attention may be needed in unmounting upon shutdown, which is not done automatically when running live or persistent from a USB boot, as well as to the issues relating to setting up user accounts so that logging in and out can be done smoothly, and without a messy powering down.

Otherwise, AVlinux 5.0.3 is a fine piece of work in its arrangement of programs. It gives me something to hope for in subsequent Debian distributions, both main and custom builds like AVlinux 6.
Logged
trulan
Global Moderator
Hero Member
*****
Offline Offline

Posts: 855


« Reply #8 on: July 22, 2012, 02:59:10 PM »

AVLinux 5.0.3 (and previous versions) use PCManFM as their file manager, and due to dependency problems I won't go into here, we've been stuck with  the same version of it for quite a while now.  It's becoming more and more problematic with stuff like syncing and mounting, and word has it that GMaq has dumped PCManFM for AVLinux 6.0 and has moved to a more reliable file manager.  So, problems such as this should be a non-issue in the very near future.
Logged
Piklik
Sr. Member
****
Offline Offline

Posts: 88


« Reply #9 on: July 22, 2012, 06:19:01 PM »

Ok... I found that PCManFM has some odds and sometimes strange behaviour... That makes a while i'm using Krusader for files managing and it seems to be ok.. When i move krusader from a screen to another one it does this immediately. PCManFM use a long time with hatched move (gggrrr..)!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!