From owner-freebsd-current@FreeBSD.ORG Sun Sep 7 07:15:16 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34FEB106564A for ; Sun, 7 Sep 2008 07:15:16 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206045140.chello.pl [87.206.45.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8163D8FC13 for ; Sun, 7 Sep 2008 07:15:15 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 76A5B45C9C; Sun, 7 Sep 2008 09:15:14 +0200 (CEST) Received: from localhost (abhr89.neoplus.adsl.tpnet.pl [83.7.107.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 24596456AB; Sun, 7 Sep 2008 09:15:09 +0200 (CEST) Date: Sun, 7 Sep 2008 09:15:11 +0200 From: Pawel Jakub Dawidek To: Richard Todd Message-ID: <20080907071511.GB2250@garage.freebsd.pl> References: <48C0B59F.4030200@delphij.net> <48C0B781.40200@FreeBSD.org> <48C0BB1A.4020906@delphij.net> <48C0BC80.3000107@FreeBSD.org> <20080905092922.1aaa95f0@dilbert.office.centralnic.com> <48C0F320.5040002@FreeBSD.org> <20080905202525.GB1656@isis.u-strasbg.fr> <20080906181243.GA1209@garage.freebsd.pl> <20080906234104.GA3374@ichotolot.servalan.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NDin8bjvE/0mNLFQ" Content-Disposition: inline In-Reply-To: <20080906234104.GA3374@ichotolot.servalan.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.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=-0.6 required=3.0 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: panic on shutdown anyone (insmntque())? 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: Sun, 07 Sep 2008 07:15:16 -0000 --NDin8bjvE/0mNLFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 06, 2008 at 06:41:04PM -0500, Richard Todd wrote: > On Sat, Sep 06, 2008 at 08:12:43PM +0200, Pawel Jakub Dawidek wrote: > > On Fri, Sep 05, 2008 at 07:01:55PM -0500, Richard Todd wrote: > > > But appears not to fix the panic I've seen trying to boot any kernel = since > > > the insmntque patches went in, just at the point where it tries to mo= unt > > > the root FS: > > [...] > >=20 > > I committed another fix, try now. >=20 > Still panics at trying to mount root, but a different panic: >=20 > Trying to mount root from zfs:rootpool/tolot-root >=20 >=20 > Fatal trap 12: page fault while in kernel mode > cpuid =3D 1; apic id =3D 01 > fault virtual address =3D 0x83 > fault code =3D supervisor read, page not present > instruction pointer =3D 0x20:0x80b1d76a > stack pointer =3D 0x28:0x86ce57e8 > frame pointer =3D 0x28:0x86ce57fc > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, def32 1, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 1 (kernel) > [thread pid 1 tid 100002 ] > Stopped at VOP_UNLOCK_APV+0x1a: cmpl $0,0x80(%ebx) > db> bt > Tracing pid 1 tid 100002 td 0x870c4d20 > VOP_UNLOCK_APV(3,86ce5850,275,0,86ce585c,...) at VOP_UNLOCK_APV+0x1a > zfs_zget(87ae9000,3,0,86ce5950,8,...) at zfs_zget+0x218 [...] Grr, too many differences between HEAD and perforce already. Please, try this patch: http://people.freebsd.org/~pjd/patches/zfs_znode.c.patch --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --NDin8bjvE/0mNLFQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIw39+ForvXbEpPzQRAv/TAKCf2zo3MMRVMqkIPwfom6hG1zULOgCgxz3i 8Aw9qC2KfyYmfnElk/uQHs8= =GRCo -----END PGP SIGNATURE----- --NDin8bjvE/0mNLFQ--