Subject: kern/26400: 2.0_BETA cache_lookup_entry(dvp, cnp) == NULL
To: None <gnats-bugs@gnats.netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: netbsd-bugs
Date: 07/22/2004 11:36:13
>Number: 26400
>Category: kern
>Synopsis: 2.0_BETA cache_lookup_entry(dvp, cnp) == NULL
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 22 09:37:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Juergen Hannken-Illjes
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD watcher 2.0_BETA NetBSD 2.0_BETA (LOCAL) #0: Mon Jul 19 21:38:39 MEST 2004 hannken@watcher:/build/nbsd20/obj/sys/arch/i386/compile/LOCAL i386
Architecture: i386
Machine: i386
>Description:
Machine panic'd with kernel diagnostic assertion "cache_lookup_entry(dvp, cnp) == NULL" failed: file "sys/kern/vfs_cache.c", line 420
>How-To-Repeat:
>Fix:
Attached: Stack trace, Kernel config and Mount table. Dump and Kernel.gdb available.
Stack trace (dump available on request): =======================================
# gdb netbsd.0
GNU gdb 5.3nb1
(gdb) target kcore netbsd.0.core
(gdb) bt
#0 0x00000001 in ?? ()
#1 0xc0422fb7 in cpu_reboot (howto=260, bootstr=0x0) at sys/arch/i386/i386/machdep.c:743
#2 0xc0347571 in db_reboot_cmd (addr=1, have_addr=0, count=-1071178711, modif=0xdcf33958 "") at sys/ddb/db_command.c:689
#3 0xc03470b7 in db_command (last_cmdp=0xc0792064, cmd_table=0xc05df820) at sys/ddb/db_command.c:464
#4 0xc0346dc7 in db_command_loop () at sys/ddb/db_command.c:255
#5 0xc0349ecf in db_trap (type=1, code=0) at sys/ddb/db_trap.c:101
#6 0xc0420502 in kdb_trap (type=1, code=0, regs=0xdcf33bbc) at sys/arch/i386/i386/db_interface.c:225
#7 0xc042f736 in trap (frame=0xdcf33bbc) at sys/arch/i386/i386/trap.c:284
#8 0xc010c7d6 in calltrap ()
#9 0xc038c6d5 in panic (fmt=0xc07802c0 "kernel %sassertion \"%s\" failed: file \"%s\", line %d") at sys/kern/subr_prf.c:226
#10 0xc05b13a8 in __assert (t=0xc06e44e4 "diagnostic ", f=0xc0749120 "sys/kern/vfs_cache.c", l=420, e=0xc07490e0 "cache_lookup_entry(dvp, cnp) == NULL") at sys/lib/libkern/__assert.c:47
#11 0xc03ad36d in cache_enter (dvp=0xcfdb0a10, vp=0xd2621200, cnp=0xdcf33e98) at sys/kern/vfs_cache.c:412
#12 0xc033f763 in ufs_lookup (v=0xdcf33d94) at sys/ufs/ufs/ufs_lookup.c:609
#13 0xc03bfb87 in layer_lookup (v=0xdcf33d94) at sys/miscfs/genfs/layer_vnops.c:435
#14 0xc03babba in VOP_LOOKUP (dvp=0xcfdb0594, vpp=<incomplete type>, cnp=0xdcf33e98) at sys/kern/vnode_if.c:131
#15 0xc03af3b5 in lookup (ndp=0xdcf33e74) at sys/kern/vfs_lookup.c:509
#16 0xc03aee34 in namei (ndp=0xdcf33e74) at sys/kern/vfs_lookup.c:172
#17 0xc03b759c in sys___stat13 (l=0xe0346020, v=0xdcf33f64, retval=0xdcf33f5c) at sys/kern/vfs_syscalls.c:2176
#18 0xc042f16e in syscall_plain (frame=0xdcf33fa8) at sys/arch/i386/i386/syscall.c:159
Kernel config: =================================================================
include "arch/i386/conf/GENERIC.MP"
options CPURESET_DELAY=2000
options DIAGNOSTIC # expensive kernel consistency checks
options FFS_EI # FFS Endian Independent support
options GATEWAY # packet forwarding
options XSERVER # X server support
options SHMMAXPGS=32768
options NEW_BUFQ_STRATEGY # new buffer queue strategy
makeoptions DEBUG="-g" # compile full symbol table
config local root on raid0a type ffs dumps on wd0b
apm0 at mainbus0 # Advanced power management
pseudo-device fss 4 # file system snapshot device
Mount table: ===================================================================
/dev/raid0a on / type ffs (soft dependencies, local)
/dev/raid2h on /share/raid2h type ffs (soft dependencies, NFS exported, local)
/dev/raid3e on /share/raid3e type ffs (soft dependencies, NFS exported, local)
/dev/raid3f on /share/raid3f type ffs (soft dependencies, NFS exported, local)
/dev/raid3g on /share/raid3g type ffs (soft dependencies, local)
/dev/raid3h on /share/raid3h type ffs (soft dependencies, NFS exported, local)
/share/raid2h/hannken on /home/hannken type null (local)
/share/raid2h/nbsd20.src on /build/nbsd20/src type null (read-only, local)
/share/raid2h/nbsd20.xsrc on /build/nbsd20/xsrc type null (read-only, local)
/share/raid2h/nbsd20.pkgsrc on /build/nbsd20/pkgsrc type null (read-only, local)
/share/raid2h/nbsd20.dist on /build/nbsd20/dist type null (local)
/share/raid2h/nbsd20.obj on /build/nbsd20/obj type null (local)
/share/raid2h/nbsd16.src on /build/nbsd16/src type null (read-only, local)
/share/raid2h/nbsd16.obj on /build/nbsd16/obj type null (local)
/share/raid2h/nbsd16.dist on /build/nbsd16/dist type null (local)
/share/raid3e/dist.src on /build/dist/src type null (read-only, local)
/share/raid3e/dist.pkgsrc on /build/dist/pkgsrc type null (read-only, local)
/share/raid3e/dist.xsrc on /build/dist/xsrc type null (read-only, local)
/share/raid3e/dist.dist on /build/dist/dist type null (local)
/share/raid3g/dist.obj on /build/dist/obj type null (local)
/share/raid3g/proj.NT on /proj/NT type null (local)
/share/raid3g/proj.XP on /proj/XP type null (local)
/share/raid3f/proj.snap on /proj/snapshot type null (local)
/share/raid3g/archive on /archive type null (read-only, local)
/share/raid3h/scratch on /scratch type null (local)
kernfs on /kern type kernfs (local)
procfs on /proc type procfs (local)
pid1145@watcher:/vol on /vol type nfs (hidden)
pid1145@watcher:/net on /net type nfs (hidden)
>Release-Note:
>Audit-Trail:
>Unformatted: