GENERIC HEAD from Jul 9 06:03 UTC, vmcore.408 GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-CURRENT #4: Sat Jul 9 08:20:12 CEST 2005 pho@current.osted.lan:/usr/src/sys/i386/compile/PHO WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 1.80GHz (1799.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf13 Stepping = 3 Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> real memory = 267583488 (255 MB) avail memory = 252223488 (240 MB) : Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted /tmp: mount pending error: blocks 3468 files 41177 WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted rl0: link state changed to DOWN panic: handle_written_inodeblock: live inodedep cpuid = 0 KDB: enter: panic [thread pid 3 tid 100034 ] Stopped at kdb_enter+0x2b: nop db> where Tracing pid 3 tid 100034 td 0xc1545600 kdb_enter(c0853929) at kdb_enter+0x2b panic(c086c797,0,2,0,0) at panic+0x14b handle_written_inodeblock(c1b6dd80,c6697f3c) at handle_written_inodeblock+0x527 softdep_disk_write_complete(c6697f3c) at softdep_disk_write_complete+0xb6 bufdone(c6697f3c) at bufdone+0x190 g_vfs_done(c29c2738) at g_vfs_done+0x8a biodone(c29c2738,c08b8804,c084e64d,c084e64d,30000) at biodone+0x57 g_io_schedule_up(c1545600) at g_io_schedule_up+0xbc g_up_procbody(0,cbfc1d38,0,c05fb790,0) at g_up_procbody+0x5a fork_exit(c05fb790,0,cbfc1d38) at fork_exit+0xa0 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcbfc1d6c, ebp = 0 --- db> show lockedvnods Locked vnodes 0xc17a7ad4: tag devfs, type VCHR usecount 1, writecount 0, refcount 806 mountedhere 0xc1745100 flags () v_object 0xc1065ce4 ref 0 pages 3214 lock type devfs: EXCL (count 1) by thread 0xc163b780 (pid 54) dev ad0s1e 0xc23a4d3c: tag ufs, type VREG usecount 1, writecount 0, refcount 366 mountedhere 0 flags (VV_SYSTEM) v_object 0xc20d7948 ref 0 pages 1474 lock type snaplk: EXCL (count 1) by thread 0xc163b780 (pid 54) with 2 pending ino 9113, on dev ad0s1e 0xc1c249a0: tag ufs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags () lock type ufs: EXCL (count 1) by thread 0xc1e2a180 (pid 1078) ino 130918, on dev ad0s1e db> show alllocks Process 3 (g_up) thread 0xc1545600 (100034) exclusive sleep mutex Softdep Lock r = 0 (0xc09ac760) locked @ ufs/ffs/ffs_softdep.c:4022 exclusive sleep mutex g_xup r = 0 (0xcbfc1cc4) locked @ geom/geom_io.c:484 db> call doadump Dumping 254 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 255MB (65072 pages) 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 ... ok Dump complete = 0xf db> reset (kgdb) f 11 #11 0xc0766e17 in handle_written_inodeblock (inodedep=0xc1b6dd80, bp=0xc6697f3c) at ../../../ufs/ffs/ffs_softdep.c:4445 4445 panic("handle_written_inodeblock: live inodedep"); (kgdb) l 4440 /* NOTREACHED */ 4441 } 4442 } 4443 if (filefree != NULL) { 4444 if (free_inodedep(inodedep) == 0) 4445 panic("handle_written_inodeblock: live inodedep"); 4446 add_to_worklist(filefree); 4447 return (0); 4448 } 4449 (kgdb) info loc wk = (struct worklist *) 0x0 filefree = (struct worklist *) 0xc1dd7ce0 adp = (struct allocdirect *) 0x0 nextadp = (struct allocdirect *) 0xc1dd7ce0 dp1 = (struct ufs1_dinode *) 0x0 dp2 = (struct ufs2_dinode *) 0xc87b2f00 hadchanges = 0x0 fstype = 0x2 (kgdb) p *inodedep $1 = {id_list = {wk_list = {le_next = 0xc1b6dd00, le_prev = 0xc669809c}, wk_type = 0x1, wk_state = 0x40d}, id_hash = {le_next = 0x0, le_prev = 0xc170f604}, id_fs = 0xc1784000, id_ino = 0x119bf, id_nlinkdelta = 0x1, id_deps = {le_next = 0xdeadc0de, le_prev = 0xdeadc0de}, id_buf = 0x0, id_savedextsize = 0xffffffff, id_savedsize = 0xffffffffffffffff, id_pendinghd = { lh_first = 0x0}, id_bufwait = {lh_first = 0x0}, id_inowait = {lh_first = 0x0}, id_inoupdt = {tqh_first = 0x0, tqh_last = 0xc1b6ddc4}, id_newinoupdt = {tqh_first = 0x0, tqh_last = 0xc1b6ddcc}, id_extupdt = {tqh_first = 0x0, tqh_last = 0xc1b6ddd4}, id_newextupdt = { tqh_first = 0x0, tqh_last = 0xc1b6dddc}, id_un = {idu_savedino1 = 0x0, idu_savedino2 = 0x0}}