panic: softdep_setup_inomapdep: found inode

From: Pav Lucistnik <pav_at_oook.cz>
Date: Fri, 22 Aug 2003 00:33:44 +0200
Hi,

my current just panicked. I think it's caused by me running 

$ cdparanoia -BX 8

a bit sooner than optimal (the CD's TOC was being read by the CD-ROM drive).


FreeBSD hood.oook.cz 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Aug 19
23:53:22 CEST 2003     root_at_hood.oook.cz:/usr/obj/usr/src/sys/PAV  i386


(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0234e39 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc0235218 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc0324e86 in softdep_setup_inomapdep (bp=0xc7739eb0, ip=0x0, newinum=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:1278
#4  0xc0316682 in ffs_nodealloccg (ip=0xc27164ec, cg=0, ipref=27, mode=33188) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1611
#5  0xc0315427 in ffs_hashalloc (ip=0xc27164ec, cg=0, pref=0, size=33188, allocator=0xc0316390 <ffs_nodealloccg>) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1155
#6  0xc0314b3e in ffs_valloc (pvp=0xc2793000, mode=33188, cred=0xc2f69980, vpp=0xdaf438b8) at /usr/src/sys/ufs/ffs/ffs_alloc.c:857
#7  0xc033f3a9 in ufs_makeinode (mode=33188, dvp=0xc2793000, vpp=0xdaf43be0, cnp=0xdaf43bf4) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2357
#8  0xc033b8c9 in ufs_create (ap=0xdaf43a40) at /usr/src/sys/ufs/ufs/ufs_vnops.c:199
#9  0xc033fb78 in ufs_vnoperate (ap=0x0) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2792
#10 0xc029ec9e in vn_open_cred (ndp=0xdaf43bcc, flagp=0xdaf43ccc, cmode=420, cred=0xc2f69980, fdidx=0) at vnode_if.h:118
#11 0xc029eaf0 in vn_open (ndp=0x0, flagp=0x0, cmode=0, fdidx=0) at /usr/src/sys/kern/vfs_vnops.c:93
#12 0xc0297cb3 in kern_open (td=0xc39004c0, path=0x0, pathseg=UIO_USERSPACE, flags=1539, mode=438) at /usr/src/sys/kern/vfs_syscalls.c:688
#13 0xc0297b40 in open (td=0x0, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:654
#14 0xc03944c0 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 458129845, tf_esi = 1954687339, tf_ebp = -1077937860, tf_isp = -621527692, tf_ebx = -1077940844, tf_edx = 134528442, tf_ecx = -1077940828, tf_eax = 5, tf_trapno = 0, tf_err = 2, tf_eip = 672039919, tf_cs = 31, tf_eflags = 662, tf_esp = -1077941268, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1005
#15 0xc0383bad in Xint0x80_syscall () at {standard input}:144
---Can't read userspace from dump, or kernel process---


#3  0xc0324e86 in softdep_setup_inomapdep (bp=0xc7739eb0, ip=0x0, newinum=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:1278
(kgdb) list
1273             * the cylinder group map from which it was allocated.
1274             */
1275            ACQUIRE_LOCK(&lk);
1276            if ((inodedep_lookup(ip->i_fs, newinum, DEPALLOC|NODELAY, &inodedep))) {
1277                    FREE_LOCK(&lk);
1278                    panic("softdep_setup_inomapdep: found inode");
1279            }
1280            inodedep->id_buf = bp;
1281            inodedep->id_state &= ~DEPCOMPLETE;
1282            bmsafemap = bmsafemap_lookup(bp);


I have a vmcore and kernel.debug handy, can provide any information on
request.

-- 
Pav Lucistnik <pav_at_oook.cz>
What do we know about love? Love is like a pear. Pear is sweet and have
a specific shape. Try to exactly define the shape of a pear.
  -- Marigold: 50 Years Of Poetry
Received on Thu Aug 21 2003 - 13:33:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:19 UTC