Kernel Panic

Kyle Butt kylebutt at gmail.com
Mon Dec 20 14:13:27 PST 2004


I have a repeatable kernel panic from a msdos rename. I have the
kernel core file and the kernel if You'd like me to post them
somewhere.

I have a usb hard drive based mp3 player that shows up as a umass, and
I was renaming the folder ebooks to TEXT when this happened. That's
all I have to do to repeat it.

Here is the back trace from gdb:

#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:508
#1  0xc02613bf in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:341
#2  0xc0261829 in panic (fmt=0xc0476d80 "assertion: cnp->cn_flags &
CNP_PDIRUNLOCK in %s") at /usr/src/sys/kern/kern_shutdown.c:620
#3  0xc0297a55 in relookup (dvp=0xd75901f8, vpp=0xd75a8a44,
cnp=0xd75a8aec) at /usr/src/sys/kern/vfs_lookup.c:90
#4  0xc02ad3b5 in msdosfs_rename (ap=0xd75a8a78) at
/usr/src/sys/vfs/msdosfs/msdosfs_vnops.c:1101
#5  0xc02a1f36 in vop_rename (ops=<incomplete type>, fdvp=0xd7590118,
fvp=0xd75902d8, fcnp=0xd75a8b0c, tdvp=0xd75901f8, tvp=0x0,
tcnp=0xd75a8aec)
    at /usr/src/sys/kern/vfs_vopops.c:688
#6  0xc0297191 in vop_compat_nrename (ap=0xd75a8b48) at
/usr/src/sys/kern/vfs_default.c:1113
#7  0xc0295f7e in vop_defaultop (ap=0xd75a8b48) at
/usr/src/sys/kern/vfs_default.c:155
#8  0xc02a28a6 in vop_nrename (ops=<incomplete type>, fncp=<incomplete
type>, tncp=<incomplete type>, cred=0xc17270b8) at
/usr/src/sys/kern/vfs_vopops.c:1462
#9  0xc029f6f7 in kern_rename (fromnd=0xd75a8bd8, tond=0xd75a8bb0) at
/usr/src/sys/kern/vfs_syscalls.c:2584
#10 0xc029f753 in rename (uap=0xd75a8c34) at
/usr/src/sys/kern/vfs_syscalls.c:2604
#11 0xc0411c42 in syscall2 (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077939072,
tf_esi = -1077937641, tf_ebp = -1077939152, tf_isp = -681931404,
tf_ebx = -1077939067, tf_edx = -1, tf_ecx = 2, tf_eax = 128, tf_trapno
= 12, tf_err = 2, tf_eip = 134518792, tf_cs = 31, tf_eflags = 663,
tf_esp = -1077940588, tf_ss = 47}) at
/usr/src/sys/i386/i386/trap.c:1350
#12 0xc03fcefa in Xint0x80_syscall ()


Thanks, Kyle





More information about the Kernel mailing list