Date: Sun, 18 Jan 1998 10:40:14 -0800 (PST) From: cschuber@uumail.gov.bc.ca To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/5517: Recursive NULLFS Mount Panic Message-ID: <199801181840.KAA01204@cwsys.cwsent.com>
next in thread | raw e-mail | index | archive | help
>Number: 5517
>Category: kern
>Synopsis: Recursive NULLFS mount causes ufs_ihashget panic
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 18 10:50:02 PST 1998
>Last-Modified:
>Originator: Cy Schubert
>Organization:
ITSD, Province of British Columbia
>Release: FreeBSD 2.2.5-RELEASE i386
>Environment:
FreeBSD cwtest 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Fri Jan 2 09:43:23 PST 1998 root@cwsys:/opt/usr_src/sys/compile/CWTEST i386
and
FreeBSD cwsys 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Fri Jan 2 09:33:59 PST 1998 root@cwsys:/opt/usr_src/sys/compile/CWSYS i386
>Description:
Recursive mount of nullfs filesystem causes panic at ufs_ihashget.
I suspect that umapfs, because it is designed closely on nullfs,
will have the same problem.
KGDB output:
IdlePTD 1e6000
current pcb at 1cbc6c
panic: ufs_ihashget: recursive lock not expected -- pid %d
#0 boot (howto=256) at ../../kern/kern_shutdown.c:266
266 dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0 boot (howto=256) at ../../kern/kern_shutdown.c:266
#1 0xf010ea22 in panic (
fmt=0xf0188720 "ufs_ihashget: recursive lock not expected -- pid %d\n")
at ../../kern/kern_shutdown.c:390
#2 0xf01887d1 in ufs_ihashget (device=0, inum=9)
at ../../ufs/ufs/ufs_ihash.c:109
#3 0xf0186943 in ffs_vget (mp=0xf0531c00, ino=9, vpp=0xefbffdbc)
at ../../ufs/ffs/ffs_vfsops.c:868
#4 0xf0189754 in ufs_lookup (ap=0xefbffe2c) at ../../ufs/ufs/ufs_lookup.c:561
#5 0xf012c0f9 in lookup (ndp=0xefbfff0c) at vnode_if.h:31
#6 0xf012bc3b in namei (ndp=0xefbfff0c) at ../../kern/vfs_lookup.c:156
#7 0xf0132ba2 in nullfs_mount (mp=0xf053f200, path=0xefbfdcde "/mnt",
data=0xefbfd834 "<Ø¿ï", ndp=0xefbfff0c, p=0xf053f600)
at ../../miscfs/nullfs/null_vfsops.c:121
#8 0xf012e607 in mount (p=0xf053f600, uap=0xefbfff94, retval=0xefbfff84)
at ../../kern/vfs_syscalls.c:192
#9 0xf01a5a4f in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 0,
tf_esi = -272638876, tf_ebp = -272638916, tf_isp = -272629788,
tf_ebx = 54632, tf_edx = 57376, tf_ecx = 61440, tf_eax = 21,
tf_trapno = 12, tf_err = 7, tf_eip = 9381, tf_cs = 31, tf_eflags = 514,
tf_esp = -272639976, tf_ss = 39}) at ../../i386/i386/trap.c:914
#10 0x24a5 in ?? ()
#11 0x107e in ?? ()
>How-To-Repeat:
mount -t null /usr/bin /mnt
mount -t null /usr/bin /mnt # twice
>Fix:
I have no fix at this time.
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801181840.KAA01204>
