Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2005 14:47:23 +0200
From:      Csaba Henk <csaba-ml@creo.hu>
To:        freebsd-current@freebsd.org
Subject:   panic: softdep_setup_inomapdep: found inode
Message-ID:  <20051011124723.GD2911@beastie.creo.hu>

next in thread | raw e-mail | index | archive | help
Hi!

I was installing some binary packages on my CURRENT of Sep 29, when I
ran into the following: 

Script started on Tue Oct 11 06:36:48 2005
bash-3.00#  kgdb kernel /mnt/foo/crash/vmcore.60
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:
panic: softdep_setup_inomapdep: found inode
cpuid = 0
KDB: enter: panic
panic: from debugger
cpuid = 0
Uptime: 9m35s
Dumping 479 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 479MB (122608 pages) 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc0636b9c in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc0636eb1 in panic (fmt=0xc0834e12 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc04696e1 in db_panic (addr=-1067127777, have_addr=0, count=-1, modif=0xd96b6724 "")
    at /usr/src/sys/ddb/db_command.c:432
#4  0xc0469678 in db_command (last_cmdp=0xc091be04, cmd_table=0x0, aux_cmd_tablep=0xc08978a4, 
    aux_cmd_tablep_end=0xc08978c0) at /usr/src/sys/ddb/db_command.c:401
#5  0xc0469740 in db_command_loop () at /usr/src/sys/ddb/db_command.c:452
#6  0xc046b2e1 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:221
#7  0xc064eeb8 in kdb_trap (type=3, code=0, tf=0xd96b6868) at /usr/src/sys/kern/subr_kdb.c:473
#8  0xc07ffd10 in trap (frame=
      {tf_fs = -647299064, tf_es = -1067122648, tf_ds = -1064959960, tf_edi = -1064813645, tf_esi = 1, tf_ebp = -647272280, tf_isp = -647272300, tf_ebx = -647272236, tf_edx = 0, tf_ecx = -1056755712, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1067127777, tf_cs = 32, tf_eflags = 642, tf_esp = -647272248, tf_ss = -1067225501})
    at /usr/src/sys/i386/i386/trap.c:601
#9  0xc07ed72a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#10 0xc064ec1f in kdb_enter (msg=0x12 <Address 0x12 out of bounds>) at cpufunc.h:60
#11 0xc0636e63 in panic (fmt=0xc0883bb3 "softdep_setup_inomapdep: found inode")
    at /usr/src/sys/kern/kern_shutdown.c:539
#12 0xc07759a5 in softdep_setup_inomapdep (bp=0xcb3d6be0, ip=0x12, newinum=12904)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:1388
#13 0xc07692ec in ffs_nodealloccg (ip=0xc26f97bc, cg=0, ipref=Unhandled dwarf expression opcode 0x93
) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1740
#14 0xc0767ca7 in ffs_hashalloc (ip=0xc26f97bc, cg=0, pref=0, size=16832, allocator=0xc0768cc0 <ffs_nodealloccg>)
    at /usr/src/sys/ufs/ffs/ffs_alloc.c:1226
#15 0xc07673df in ffs_valloc (pvp=0xc26e8cc0, mode=16832, cred=0xc1fb2300, vpp=0xd96b6a10)
    at /usr/src/sys/ufs/ffs/ffs_alloc.c:920
#16 0xc078a70c in ufs_mkdir (ap=0xd96b6bb8) at /usr/src/sys/ufs/ufs/ufs_vnops.c:1334
#17 0xc0811272 in VOP_MKDIR_APV (vop=0x12, a=0xd96b6bb8) at vnode_if.c:1251
#18 0xc0692d62 in kern_mkdir (td=0xc1b6c480, path=0x805a0c0 <Address 0x805a0c0 out of bounds>, 
    segflg=UIO_USERSPACE, mode=448) at vnode_if.h:653
#19 0xc0692a95 in mkdir (td=0xc1b6c480, uap=0x12) at /usr/src/sys/kern/vfs_syscalls.c:3301
#20 0xc08004fb in syscall (frame=
      {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 134586560, tf_esi = 134586580, tf_ebp = -1077942104, tf_isp = -647271068, tf_ebx = 671699716, tf_edx = 0, tf_ecx = -1077942384, tf_eax = 136, tf_trapno = 0, tf_err = 2, tf_eip = 672522563, tf_cs = 51, tf_eflags = 662, tf_esp = -1077942260, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:986
#21 0xc07ed77f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200
#22 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) bash-3.00# logout

Script done on Tue Oct 11 06:36:56 2005

Csaba



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051011124723.GD2911>