Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2008 09:15:11 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Richard Todd <rmtodd@ichotolot.servalan.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: panic on shutdown anyone (insmntque())?
Message-ID:  <20080907071511.GB2250@garage.freebsd.pl>
In-Reply-To: <20080906234104.GA3374@ichotolot.servalan.com>
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> <x78wu6cfbg.fsf@ichotolot.servalan.com> <20080906181243.GA1209@garage.freebsd.pl> <20080906234104.GA3374@ichotolot.servalan.com>

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

--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--



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