Re: panic on shutdown anyone (insmntque())?



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 mount
the root FS:
[...]

I committed another fix, try now.

Still panics at trying to mount root, but a different panic:

Trying to mount root from zfs:rootpool/tolot-root


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address = 0x83
fault code = supervisor read, page not present
instruction pointer = 0x20:0x80b1d76a
stack pointer = 0x28:0x86ce57e8
frame pointer = 0x28:0x86ce57fc
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 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

--
Pawel Jakub Dawidek http://www.wheel.pl
pjd@xxxxxxxxxxx http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!

Attachment: pgpE5ve2QZrf2.pgp
Description: PGP signature



Relevant Pages