xfs
[Top] [All Lists]

Re: shutdown umount hangs

To: Utz Lehmann <leh@xxxxxxxxxx>
Subject: Re: shutdown umount hangs
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Fri, 30 Mar 2001 09:23:59 -0600
Cc: Eric Sandeen <sandeen@xxxxxxx>, linux-xfs@xxxxxxxxxxx
References: <20010329165519.A7386@tecosim.de> <20010329170446.B7386@tecosim.de> <3AC35E8D.711963C5@sgi.com> <20010329181419.G7386@tecosim.de> <20010329182044.H7386@tecosim.de> <3AC38727.FC9C4FC8@thebarn.com> <20010330115628.A1146@tecosim.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
Utz Lehmann wrote:

> Russell Cattelan [cattelan@xxxxxxxxxxx] wrote:
>

Ok sorry this was my fault I should have explained this better.
We need the back trace of the umount process.
to do this simply type ps from the kdb prompt  find the umount pid
the type
kdb> btp <umount pid>



>
>
> ok, here it is:
>
> Unmounting file systems
> shmfs umounted
> /dev/sda2 umounted
> /dev/vg00/tmp umounted
> /dev/vg00/opt umounted
>
> [wait some time]
>
> Entering kdb (current=0xc035a000, pid 0) due to Keyboard Entry
> kdb> bt
>     EBP       EIP         Function(args)
> 0x0008e000 0xc0107193 default_idle+0x23
>                                kernel .text 0xc0100000 0xc0107170 0xc01071a0
>            0xc01071f8 cpu_idle+0x38
>                                kernel .text 0xc0100000 0xc01071c0 0xc0107210
>            0xc035c9ba start_kernel+0x13a
>                                kernel .text.init 0xc035c000 0xc035c880 
> 0xc035c9c0
> kdb> go
>
> [wait some time]
>
> Entering kdb (current=0xc035a000, pid 0) due to Keyboard Entry
> kdb> bt
>     EBP       EIP         Function(args)
> 0x0008e000 0xc0107193 default_idle+0x23
>                                kernel .text 0xc0100000 0xc0107170 0xc01071a0
>            0xc01071f8 cpu_idle+0x38
>                                kernel .text 0xc0100000 0xc01071c0 0xc0107210
>            0xc035c9ba start_kernel+0x13a
>                                kernel .text.init 0xc035c000 0xc035c880 
> 0xc035c9c0
> kdb> reboot
>
> a working shutdown looks like this (with a cvs kernel from march 2th):
>
> Unmounting file systems
> shmfs umounted
> /dev/sda2 umounted
> /dev/vg00/tmp umounted
> /dev/vg00/opt umounted
> /dev/vg00/var umounted
> /dev/vg00/usr umounted
> devpts umounted
> /dev/sda1 umounted                                                    done
> proc umounted
> vgchange -- volume group "vg00" successfully deactivated
>
> Please stand by while rebooting the system...
> stopping all md devices.
> Restarting system.
>
> btw: i test it without the kio,logbufs=4,logbsize=32768 mount option, it
> hangs also.
>
> utz


<Prev in Thread] Current Thread [Next in Thread>