Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2007 19:54:26 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Peter Schuller <peter.schuller@infidyne.com>
Cc:        current@freebsd.org
Subject:   Re: (ZFS?): panic: lockmgr: locking against myself
Message-ID:  <20070728175426.GF1092@garage.freebsd.pl>
In-Reply-To: <200707282028.37102.peter.schuller@infidyne.com>
References:  <200707282028.37102.peter.schuller@infidyne.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sat, Jul 28, 2007 at 08:28:36PM +0200, Peter Schuller wrote:
> Hello,
> 
> I have a machine with root on ZFS and /boot on gmirror. Version is 7-CURRENT 
> from about a week ago or so (can't check since system won't boot). After a 
> certain sequence of events that I will describe below, I now get this on boot 
> (typed manually, so there may be some mistakes):
> 
> Trying to mount root from zfs:tank/root
> panic: lockmgr: locking against myself
> cpuid = 0
> KBD: enter: panic
> [thread pid 1 tid 100002 ]
> Stopped at kbd_enter+0x31: leave
> db>bt
> kbd_enter() at kbd_enter+0x31
> panic() at panic+0x173
> _lockmgr() at _lockmgr+0x085a
> VOP_LOCK1_APV() at VOP_LOCK1_APV+0x46
> _vn_lock() at _vn_lock+0x83
> vrele() at vrele+0xf5
> mountcheckdirs() at mountcheckdirs+0x1e8
> vfs_donmount() at vfs_donmount+0x111c
> kernel_mount() at kernel_mount+0x88
> kernel_vmount() at kernel_vmoun+0xcb
> vfs_mountroot_try() at vfs_mountroot_try+0x10c
> vfs_mountroot() at vfs_mountroot+0x324
> start_init() at start_init+0x4d
> fork_exit() at fork_exit+0x11f
> fork_trampoline() at fork_trampoline+0xe
> --- trap 0, rip = 0, rsp = 0xfffffffffac357d30, rbp = 0 ---

Could you paste the output of:

	db> show vnode 0x<addr>

Where <addr> is the first argument to vrele() function above.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFGq4LSForvXbEpPzQRAhMGAJ0bdy6oheOSerwrsl4Rjjjo4rehGQCfcO82
/Y4dcldy0zzJ0dj3n30k3Vg=
=Io6A
-----END PGP SIGNATURE-----

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