Re: (ZFS?): panic: lockmgr: locking against myself

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Sat, 28 Jul 2007 19:54:26 +0200
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_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Sat Jul 28 2007 - 15:55:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:15 UTC