Subject: Re: Can't umount some ext2fs (was Re: panic mounting ext2fs)
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Brian Grayson \(home\) <bgrayson@austin.rr.com>
List: port-i386
Date: 11/25/2001 21:32:26
On Thu, Nov 22, 2001 at 08:18:30PM +0100, Manuel Bouyer wrote:
> On Thu, Nov 22, 2001 at 07:58:22AM -0600, Brian Grayson (home) wrote:
> > On Wed, Nov 21, 2001 at 01:30:42PM +0100, Michael Rauch wrote:
> > > Hi,
> > >
> > > On Wed, Nov 21, 2001 at 12:22:57AM -0600, Brian Grayson (home) wrote:
> > > > I'm running a -current kernel from a SUP around Nov 11. I'm getting
> > > > the following panic:
> > > >
> > > > panic: kernel diagnostic assertion "bn >= NDADDR" failed: file "/home/src/sys/ar
> > > > ch/i386/compile/K97/../../../../ufs/ufs/ufs_bmap.c", line 262
> > > > [...]
> > >
> > > try to update the source. There was a bug at about this time, which has
> > > been fixed a few days later.
> >
> > That did it! But now it won't let me umount that, even when there
> > are no processes accessing it.
> >
> > # mount /dev/wd0l /mnt
> > # du /mnt
> > ...
> > # umount /mnt
> > umount: /mnt: Device busy
> > # lsof | grep mnt
> > #
>
>
> Does fstat say the same ?
> I found lsof doesn't always display all the files.
fstat | grep mnt (where I have it mounted) didn't print anything.
> > Very strange. I forcibly umount'd, and redid this a few times, so
> > it's repeatable. I can successfully mount, du, and umount another
> > ext2fs partition, but not this one. Any ideas?
>
> Do you have devices node on it ?
It's a Linux root partition, so it has unused device nodes. I tried
mounting it with -onodev, and it still hangs.
I'll keep digging a bit -- Chuq mentioned a debugging method off-list.
Brian