softdep panic on latest current

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Sat, 21 May 2005 21:11:19 +0900 (JST)
	I contacted a following kernel panic.  I think that the
	persons who can fix this issue are mckusick_at_ or jeff_at_.
	Of course, I'm pleasure that anyone can fix.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FreeBSD 6.0-CURRENT #8: Sat May 21 12:46:16 JST 2005
    nork_at_nadesico.ninth-nine.com:/usr/obj/usr/src/sys/NADESICO
ACPI APIC Table: <VIA694 AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) III CPU family      1133MHz (1129.08-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1610547200 (1535 MB)
avail memory = 1568923648 (1496 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
	(snip)
FreeBSD/i386 (nadesico.ninth-nine.com) (dcons)

login: info: [drm] Loading R200 Microcode
panic: softdep_deallocate_dependencies: dangling deps
cpuid = 0
KDB: enter: panic
[thread pid 33779 tid 100195 ]
Stopped at      kdb_enter+0x30: leave   
db> where
Tracing pid 33779 tid 100195 td 0xc3e18780
kdb_enter(c0663d3f,0,c066fe05,f87cfa04,d6d9fa20) at kdb_enter+0x30
panic(c066fe05,200012,f87cfa54,c050cdad,d6d9fa20) at panic+0x14e
softdep_deallocate_dependencies(d6d9fa20,200012,0,c3e18780,3b) at softdep_deallocate_dependencies+0x1b
getnewbuf(0,0,4000,4000,20001) at getnewbuf+0x41d
getblk(c5cdfdd0,dc0ea,0,4000,0) at getblk+0x421
cluster_read(c5cdfdd0,0,4,dc0ea,0) at cluster_read+0x105
ffs_read(f87cfbf8,f87cfc44,c052e6f4,c0696f60,f87cfbf8) at ffs_read+0x2bd
VOP_READ_APV(c0696f60,f87cfbf8,c3e18780,c048b8cf,c3f5f048) at VOP_READ_APV+0x3e
vn_read(c3f5f048,f87cfc6c,c4032380,0,c3e18780) at vn_read+0x1e4
dofileread(c3e18780,c3f5f048,4,8f7c238,800) at dofileread+0xcc
read(c3e18780,f87cfd04,c,c3e18780,f87cfd2c) at read+0x6b
syscall(8f4003b,3b,bfbf003b,8f4b000,8f441f0) at syscall+0x370
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (3, FreeBSD ELF32, read), eip = 0x6822a84f, esp = 0xbfbfdccc, ebp = 0xbfbfdce8 ---
db> show pcpu 0
cpuid        = 0
curthread    = 0xc3e18780: pid 33779 "qemu"
curpcb       = 0xf87cfd90
fpcurthread  = none
idlethread   = 0xc2bf0780: pid 12 "idle: cpu0"
APIC ID      = 0
currentldt   = 0x50
db> show pcpu 1
cpuid        = 1
curthread    = 0xc2bf0600: pid 11 "idle: cpu1"
curpcb       = 0xe433dd90
fpcurthread  = none
idlethread   = 0xc2bf0600: pid 11 "idle: cpu1"
APIC ID      = 1
currentldt   = 0x50
db> panic
panic: from debugger
cpuid = 0
Uptime: 2h29m3s
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


	kgdb kernel.debug vmcore:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# kgdb /var/crash/kernel.debug.39 /var/crash/vmcore.39 
[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".
#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) where
#0  doadump () at pcpu.h:165
#1  0xc04b424d in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:397
#2  0xc04b4673 in panic (fmt=0xc065c018 "from debugger")
    at /usr/src/sys/kern/kern_shutdown.c:553
#3  0xc0431272 in db_panic (addr=1, have_addr=0, count=-1, modif=0xf87cf81c "")
    at /usr/src/sys/ddb/db_command.c:435
#4  0xc04311e2 in db_command (last_cmdp=0xc06a4784, cmd_table=0x0, 
    aux_cmd_tablep=0xc0679524, aux_cmd_tablep_end=0xc0679528)
    at /usr/src/sys/ddb/db_command.c:349
#5  0xc04312f5 in db_command_loop () at /usr/src/sys/ddb/db_command.c:455
#6  0xc0433475 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:221
#7  0xc04d4dee in kdb_trap (type=0, code=0, tf=0xf87cf97c)
    at /usr/src/sys/kern/subr_kdb.c:471
#8  0xc063a778 in trap (frame=
      {tf_fs = 8, tf_es = 40, tf_ds = -126091224, tf_edi = 256, tf_esi = 1, tf_ebp = -126027324, tf_isp = -126027352, tf_ebx = -126027260, tf_edx = 0, tf_ecx = -1056755712, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1068676416, tf_cs = 32, tf_eflags = 2097810, tf_esp = -1067035210, tf_ss = -1067041473})
    at /usr/src/sys/i386/i386/trap.c:581
#9  0xc062609a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#10 0x00000008 in ?? ()
#11 0x00000028 in ?? ()
#12 0xf87c0028 in ?? ()
#13 0x00000100 in ?? ()
#14 0x00000001 in ?? ()
#15 0xf87cf9c4 in ?? ()
#16 0xf87cf9a8 in ?? ()
#17 0xf87cfa04 in ?? ()
#18 0x00000000 in ?? ()
#19 0xc1033000 in ?? ()
#20 0x00000012 in ?? ()
#21 0x00000003 in ?? ()
#22 0x00000000 in ?? ()
#23 0xc04d4ac0 in kdb_enter (msg=0x0) at cpufunc.h:60
#24 0xc04b45ce in panic (
    fmt=0xc066fe05 "softdep_deallocate_dependencies: dangling deps")
    at /usr/src/sys/kern/kern_shutdown.c:537
#25 0xc05c9d7b in softdep_deallocate_dependencies (bp=0x0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:5881
#26 0xc050cdad in getnewbuf (slpflag=0, slptimeo=0, size=16384, maxsize=16384)
    at buf.h:434
#27 0xc050e571 in getblk (vp=0xc5cdfdd0, blkno=901354, size=16384, slpflag=0, 
    slptimeo=0, flags=0) at /usr/src/sys/kern/vfs_bio.c:2456
#28 0xc0513205 in cluster_read (vp=0xc5cdfdd0, filesize=17179869184, 
---Type <return> to continue, or q <return> to quit---
    lblkno=901354, size=16384, cred=0x0, totread=2048, seqcount=0, bpp=0x0)
    at /usr/src/sys/kern/vfs_cluster.c:124
#29 0xc05cedbd in ffs_read (ap=0x0) at /usr/src/sys/ufs/ffs/ffs_vnops.c:456
#30 0xc064c0ce in VOP_READ_APV (vop=0x0, a=0x0) at vnode_if.c:643
#31 0xc052e6f4 in vn_read (fp=0xc3f5f048, uio=0xf87cfc6c, 
    active_cred=0xc4032380, flags=0, td=0xc3e18780) at vnode_if.h:343
#32 0xc04e135c in dofileread (td=0xc3e18780, fp=0xc3f5f048, fd=0, buf=0x0, 
    nbyte=3228100960, offset=Unhandled dwarf expression opcode 0x93
) at file.h:234
#33 0xc04e11ab in read (td=0xc3e18780, uap=0xf87cfd04)
    at /usr/src/sys/kern/sys_generic.c:107
#34 0xc063b230 in syscall (frame=
      {tf_fs = 150208571, tf_es = 59, tf_ds = -1078001605, tf_edi = 150253568, tf_esi = 150225392, tf_ebp = -1077945112, tf_isp = -126026396, tf_ebx = 1746793652, tf_edx = 0, tf_ecx = 150225296, tf_eax = 3, tf_trapno = 0, tf_err = 2, tf_eip = 1747101775, tf_cs = 51, tf_eflags = 2097798, tf_esp = -1077945140, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:959
#35 0xc06260ef in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200
#36 0x08f4003b in ?? ()
#37 0x0000003b in ?? ()
#38 0xbfbf003b in ?? ()
#39 0x08f4b000 in ?? ()
#40 0x08f441f0 in ?? ()
#41 0xbfbfdce8 in ?? ()
#42 0xf87cfd64 in ?? ()
#43 0x681df4b4 in ?? ()
#44 0x00000000 in ?? ()
#45 0x08f44190 in ?? ()
#46 0x00000003 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000002 in ?? ()
#49 0x6822a84f in ?? ()
#50 0x00000033 in ?? ()
#51 0x00200286 in ?? ()
#52 0xbfbfdccc in ?? ()
#53 0x0000003b in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000000 in ?? ()
#56 0x00000000 in ?? ()
#57 0x00000000 in ?? ()
#58 0x31d11000 in ?? ()
#59 0xc3ed8000 in ?? ()
#60 0xc3e18780 in ?? ()
#61 0xf87cfc94 in ?? ()
#62 0xf87cfc78 in ?? ()
---Type <return> to continue, or q <return> to quit---
#63 0xc2bf5d80 in ?? ()
#64 0xc04cb140 in sched_switch (td=0x8f441f0, newtd=0x681df4b4, flags=Cannot access memory at address 0xbfbfdcf8
)
    at /usr/src/sys/kern/sched_4bsd.c:971
Previous frame inner to this frame (corrupt stack?)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Received on Sat May 21 2005 - 10:11:25 UTC

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