> I introduced a bug to snapshots on 11/30/02 which did not get fixed 
> until 12/15/02 which caused background fsck to (silently) fail to fix
> certain filesystem problems. If you ran background fsck on a system
> between 11/30 and 12/15 and then ran background fsck again on a system
> after that date, the earlier missed corruption causes the panic that
> you have seen. Once fixed on a post 12/15 system, it should not recur.
> You can avoid the panic by running `fsck -f -p' on all your system
> after upgrading to a post 12/15 system. If you find continued
> evidence of trouble after following the above procedures, please
> send me mail.
> 
>       Kirk McKusick

I rebuild a brand new system and the problem is still here :/.

uname -a:
FreeBSD nebula.wanadoo.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Dec 18 10:45:3
0 CET 2002     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NEBULA  i386

I've also attached a new dump which matches to the new system.

-- Aurelien
Script started on Wed Dec 18 11:36:02 2002

nebula# /var/crashggdb -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.7 
Reading symbols from kernel.debug.7...done.
(kgdb) exec-file kernel.7
(kgdb) core-file vmcore.7 
panic: from debugger
panic messages:
---
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 /usr/src/sys/kern/kern_shutdown.c:232
232             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232
#1  0xc021c37e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:364
#2  0xc021c5c3 in panic () at /usr/src/sys/kern/kern_shutdown.c:517
#3  0xc013c212 in db_panic () at /usr/src/sys/ddb/db_command.c:450
#4  0xc013c192 in db_command (last_cmdp=0xc03a0a00, cmd_table=0x0, 
    aux_cmd_tablep=0xc039b53c, aux_cmd_tablep_end=0xc039b540)
    at /usr/src/sys/ddb/db_command.c:346
#5  0xc013c2a6 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472
#6  0xc013ef9a in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:72
#7  0xc0335d42 in kdb_trap (type=3, code=0, regs=0xc850da4c)
    at /usr/src/sys/i386/i386/db_interface.c:166
#8  0xc0346b2f 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 = -1069390144, 
tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1070374940, tf_cs = 8, tf_eflags = 
646, tf_esp = -1069984152, tf_ss = -1070066283})
    at /usr/src/sys/i386/i386/trap.c:603
#9  0xc0337558 in calltrap () at {standard input}:98
#10 0xc021c5ab in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:503
#11 0xc02d8f0a in ffs_blkfree (fs=0xc18f3000, devvp=0xc191dce4, bno=1088, 
    size=16384, inum=1088) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1771
#12 0xc02e843f in indir_trunc (freeblks=0xc1b37500, dbn=4288, level=0, lbn=12, 
    countp=0xc850dc10) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2600
#13 0xc02e7ee5 in handle_workitem_freeblocks (freeblks=0xc1b37500, flags=0)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2466
#14 0xc02e510a in process_worklist_item (matchmnt=0x0, flags=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:742
#15 0xc02e4e50 in softdep_process_worklist (matchmnt=0x0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:621
#16 0xc026f89e in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1751
#17 0xc0208c64 in fork_exit (callout=0xc026f5b0 <sched_sync>, arg=0x0, 
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:872
(kgdb) quit

nebula# /var/crasheexit


Script done on Wed Dec 18 11:36:32 2002

Attachment: msg48987/pgp00000.pgp
Description: PGP signature

Reply via email to