Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2005 12:12:11 +0200
From:      Matthias Andree <matthias.andree@gmx.de>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Matthias Andree <matthias.andree@gmx.de>, Jeremie Le Hen <jeremie@le-hen.org>, freebsd-current@freebsd.org
Subject:   Re: nfs through nullfs
Message-ID:  <m3wtm2ifes.fsf@merlin.emma.line.org>
In-Reply-To: <20050830232818.GA83944@xor.obsecurity.org> (Kris Kennaway's message of "Tue, 30 Aug 2005 19:28:18 -0400")
References:  <m33bot5e33.fsf@merlin.emma.line.org> <20050830124435.GW659@obiwan.tataz.chchile.org> <20050830232818.GA83944@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway <kris@obsecurity.org> writes:

> On Tue, Aug 30, 2005 at 02:44:35PM +0200, Jeremie Le Hen wrote:
>> > Subject says it all.
>> > 
>> > mount a ext2 file system, use it as basis for a nullfs mount -> panic.
>> 
>> Mount a NFS filesystem, use it as basis for nullfs mount -> panic.
>
> Please provide details.

OK, to reproduce, three steps apart from having an ext2 file system
(the ext2 FS is clean according to e2fsck)

mount_ext2fs /dev/ad0s5 /linux
mount_nullfs /linux /mnt
umount /mnt                    -> panic, "locking against myself"

backtrace in the kernel debugger, copied manually:

kdb_enter
panic   +0x13d
lockmgr +0x44d
vop_stdlock +0x2f
VOP_LOCK_APV
vn_lock
vrele
null_reclaim
VOP_RECLAIM_APV
vgonel
vgone
vflush
nullfs_unmount
dounmount
unmount
syscall...
(process unmount)

If needed, I can save a core of this.

-- 
Matthias Andree



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m3wtm2ifes.fsf>