Re: mount of ext2fs volume stuck in "D+" state (disk uninterruptible wait)

2008-02-12 Thread Kris Kennaway

Joe Peterson wrote:

Kris Kennaway wrote:

Joe Peterson wrote:

I just tried (under FreeBSD 7.0-RC1) to mount an ext2fs volume - I've
mounted it before with no trouble on this same FreeBSD version.  This
time, mount appeared to hang.  I noticed that I can see the contents of
the volume under the mount point, so the mount seemed to "work", but the
process is stuff.  "ps" shows:

root   1307  0.0  0.0  3156   792  p6  D+5:21PM   0:00.00 mount
/mnt/linux-home

The "ps" man page says that "D" means: "Marks a process in disk (or
other short term, uninterruptible) wait."

Is there any way I can investigate what is going on?  I cannot umount
(device busy) or break out of the mount command...

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html


But unfortunately I do not have KDB and DDB compiled into the kernel.
And, obviously, if I reboot, I will lose this opportunity.  I suspect
this to be an intermittent thing.  Is there anything I can extract while
the system is running that would be useful?

Thanks, Joe




You can run kgdb on /dev/mem to obtain the backtrace.

Kris
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount of ext2fs volume stuck in "D+" state (disk uninterruptible wait)

2008-02-11 Thread Joe Peterson
New information: it looks as though this ext2fs was already mounted when
the mount was attempted.  I have reproduced the issue by simply trying
to mount the ext2fs volume more than once.  Given this, I'd expect the
mount to return an already mounted error rather than hanging, so this is
perhaps a straightforward bug.

-Joe

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount of ext2fs volume stuck in "D+" state (disk uninterruptible wait)

2008-02-11 Thread Joe Peterson
Kris Kennaway wrote:
> Joe Peterson wrote:
>> I just tried (under FreeBSD 7.0-RC1) to mount an ext2fs volume - I've
>> mounted it before with no trouble on this same FreeBSD version.  This
>> time, mount appeared to hang.  I noticed that I can see the contents of
>> the volume under the mount point, so the mount seemed to "work", but the
>> process is stuff.  "ps" shows:
>>
>> root   1307  0.0  0.0  3156   792  p6  D+5:21PM   0:00.00 mount
>> /mnt/linux-home
>>
>> The "ps" man page says that "D" means: "Marks a process in disk (or
>> other short term, uninterruptible) wait."
>>
>> Is there any way I can investigate what is going on?  I cannot umount
>> (device busy) or break out of the mount command...
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

But unfortunately I do not have KDB and DDB compiled into the kernel.
And, obviously, if I reboot, I will lose this opportunity.  I suspect
this to be an intermittent thing.  Is there anything I can extract while
the system is running that would be useful?

Thanks, Joe
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount of ext2fs volume stuck in "D+" state (disk uninterruptible wait)

2008-02-11 Thread Kris Kennaway

Joe Peterson wrote:

I just tried (under FreeBSD 7.0-RC1) to mount an ext2fs volume - I've
mounted it before with no trouble on this same FreeBSD version.  This
time, mount appeared to hang.  I noticed that I can see the contents of
the volume under the mount point, so the mount seemed to "work", but the
process is stuff.  "ps" shows:

root   1307  0.0  0.0  3156   792  p6  D+5:21PM   0:00.00 mount
/mnt/linux-home

The "ps" man page says that "D" means: "Marks a process in disk (or
other short term, uninterruptible) wait."

Is there any way I can investigate what is going on?  I cannot umount
(device busy) or break out of the mount command...


http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

Kris
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"