From owner-freebsd-current@FreeBSD.ORG Sat Jul 28 17:55:16 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44EE216A419 for ; Sat, 28 Jul 2007 17:55:16 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id D663813C428 for ; Sat, 28 Jul 2007 17:55:15 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 6DDE2487FF; Sat, 28 Jul 2007 19:55:13 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 35DDD45696; Sat, 28 Jul 2007 19:55:06 +0200 (CEST) Date: Sat, 28 Jul 2007 19:54:26 +0200 From: Pawel Jakub Dawidek To: Peter Schuller Message-ID: <20070728175426.GF1092@garage.freebsd.pl> References: <200707282028.37102.peter.schuller@infidyne.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NY6JkbSqL3W9mApi" Content-Disposition: inline In-Reply-To: <200707282028.37102.peter.schuller@infidyne.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: current@freebsd.org Subject: Re: (ZFS?): panic: lockmgr: locking against myself X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 17:55:16 -0000 --NY6JkbSqL3W9mApi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 28, 2007 at 08:28:36PM +0200, Peter Schuller wrote: > Hello, >=20 > I have a machine with root on ZFS and /boot on gmirror. Version is 7-CURR= ENT=20 > from about a week ago or so (can't check since system won't boot). After = a=20 > certain sequence of events that I will describe below, I now get this on = boot=20 > (typed manually, so there may be some mistakes): >=20 > Trying to mount root from zfs:tank/root > panic: lockmgr: locking against myself > cpuid =3D 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 =3D 0, rsp =3D 0xfffffffffac357d30, rbp =3D 0 --- Could you paste the output of: db> show vnode 0x Where is the first argument to vrele() function above. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --NY6JkbSqL3W9mApi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGq4LSForvXbEpPzQRAhMGAJ0bdy6oheOSerwrsl4Rjjjo4rehGQCfcO82 /Y4dcldy0zzJ0dj3n30k3Vg= =Io6A -----END PGP SIGNATURE----- --NY6JkbSqL3W9mApi--