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

next in thread | previous in thread | raw e-mail | index | archive | help
> Could you paste the output of:
>
> 	db> show vnode 0x<addr>
>
> Where <addr> is the first argument to vrele() function above.

I was not able to get ddb to include function arguments in backtraces for some 
reason, but I inserted a pointer printout before each of the two calls to 
vrele() in mountcheckdirs().

Based on the last printout prior to panic, it is the second call in the 
function (code line wise; i.e., when locking rootvnode) that is triggering 
the panic, on this vnode:

vnode 0xffffff00037473e0: tag devfs, type VDIR
  usecount 0, writecount 0, refcount 1 mountedhere 0xffffff0003745ca0
  flags (VV_ROOT)
    lock type devfs: EXCL (count 1) by thread 0xffffff00010e6680 (pid 1)

Also, this time I triggered it after having dropped a drive (as opposed to 
when I then booted back up again with two drives).

Am I understanding this correctly that the root filesystem has suddenly become 
devfs?

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org




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