Hi, I got a panic today which occured during a background fsck, after a hard-reboot of the system. The dump from gdb is attached and I can, of course, provide more infos if needed.
-- Aurelien
Script started on Mon Dec 16 22:08:36 2002 [m[27m[Jnebula# [K[39C/usr/src/sys/i386/compile/NEBULA[71Dggdb -k GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-undermydesk-freebsd". (kgdb) symbol-file kernel.debug Reading symbols from kernel.debug...done. (kgdb) exec-file /boot/kernel/kenre rnel (kgdb) core-file /var/crash/vmcore.6 panic: from debugger panic messages: --- dev = ad0s1f, block = 1088, fs = /tmp panic: ffs_blkfree: freeing free block panic: from debugger Uptime: 50s Dumping 123 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 --- #0 doadump () at ../../../kern/kern_shutdown.c:232 232 dumping++; (kgdb) bt #0 doadump () at ../../../kern/kern_shutdown.c:232 #1 0xc021c4de in boot (howto=260) at ../../../kern/kern_shutdown.c:364 #2 0xc021c723 in panic () at ../../../kern/kern_shutdown.c:517 #3 0xc013c232 in db_panic () at ../../../ddb/db_command.c:450 #4 0xc013c1b2 in db_command (last_cmdp=0xc03a0620, cmd_table=0x0, aux_cmd_tablep=0xc039b14c, aux_cmd_tablep_end=0xc039b150) at ../../../ddb/db_command.c:346 #5 0xc013c2c6 in db_command_loop () at ../../../ddb/db_command.c:472 #6 0xc013efba in db_trap (type=3, code=0) at ../../../ddb/db_trap.c:72 #7 0xc0335c82 in kdb_trap (type=3, code=0, regs=0xc850da4c) at ../../../i386/i386/db_interface.c:166 #8 0xc0346a3f in trap (frame= {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1061658176, tf_esi = 256, tf_ebp = -934225256, tf_isp = -934225288, tf_ebx = 0, tf_edx = 0, tf_ecx = -1069391136, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1070375132, tf_cs = 8, tf_eflags = 646, tf_esp = -1069985075, tf_ss = -1070066800}) at ../../../i386/i386/trap.c:603 #9 0xc0337468 in calltrap () at {standard input}:98 #10 0xc021c70b in panic (fmt=0x0) at ../../../kern/kern_shutdown.c:503 #11 0xc02d908a in ffs_blkfree (fs=0xc18f3000, devvp=0xc191dce4, bno=1088, size=16384, inum=1088) at ../../../ufs/ffs/ffs_alloc.c:1771 #12 0xc02e85bf in indir_trunc (freeblks=0xc1b39100, dbn=4288, level=0, lbn=12, countp=0xc850dc10) at ../../../ufs/ffs/ffs_softdep.c:2603 #13 0xc02e8065 in handle_workitem_freeblocks (freeblks=0xc1b39100, flags=0) ---Type <return> to continue, or q <return> to quit--- at ../../../ufs/ffs/ffs_softdep.c:2469 #14 0xc02e528a in process_worklist_item (matchmnt=0x0, flags=0) at ../../../ufs/ffs/ffs_softdep.c:745 #15 0xc02e4fd0 in softdep_process_worklist (matchmnt=0x0) at ../../../ufs/ffs/ffs_softdep.c:624 #16 0xc026fa0e in sched_sync () at ../../../kern/vfs_subr.c:1751 #17 0xc0208dc4 in fork_exit (callout=0xc026f720 <sched_sync>, arg=0x0, frame=0x0) at ../../../kern/kern_fork.c:872 (kgdb) quit
msg48859/pgp00000.pgp
Description: PGP signature