Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 1998 15:11:07 -0400 (EDT)
From:      Luoqi Chen <luoqi@watermarkgroup.com>
To:        current@FreeBSD.ORG, roberto@keltia.freenix.fr
Subject:   Re:  Panic with yesterday's kernel
Message-ID:  <199805151911.PAA00379@lor.watermarkgroup.com>

next in thread | raw e-mail | index | archive | help
> 
> My kernel (from sources of 13th) paniced with the following during "make
> world".
> 
> May 15 18:25:00 caerdonn savecore: reboot after panic: ffs_blkfree: freeing free block
> May 15 18:25:00 caerdonn savecore: writing core to /var/crash/vmcore.8
> May 15 18:25:25 caerdonn savecore: writing kernel to /var/crash/kernel.8
> 
> I've a dump but gdb seems to have difficulties reading it so I can't "up"
> and print structures.
> 
> #0  boot (howto=256) at ../../kern/kern_shutdown.c:296
> #1  0xf0114426 in panic (fmt=0xf0169d80 "ffs_blkfree: freeing free block")
>     at ../../kern/kern_shutdown.c:436
> #2  0xf0169f77 in ffs_blkfree (ip=0xf3fe2e3c, bno=10544, size=8192)
>     at ../../ufs/ffs/ffs_alloc.c:1359
> #3  0xf016f12c in softdep_setup_directory_add (bp=0xf3fe2e3c, dp=0x146e0, 
>     diroffset=0x0000000c00000000, newinum=-201445844, newdirbp=0xf09a3000)
>     at ../../ufs/ffs/ffs_softdep.c:2177
> #4  0xf016ee10 in indir_trunc (ip=0xf09a3000, dbn=0, level=-260335172, 
>     lbn=-201495808, countp=0xf3fe2f8c) at ../../ufs/ffs/ffs_softdep.c:2030
> #5  0xf016cfac in checklimit (resource=0x0, islocked=-266547532)
>     at ../../ufs/ffs/ffs_softdep.c:672
> #6  0xf013580e in sched_sync () at ../../kern/vfs_subr.c:958
> #7  0xf010773e in kproc_start (udata=0xf01cceb4) at ../../kern/init_main.c:245
> #8  0xf018d379 in Xfastintr1 ()
> cannot read proc at 0

The dump is definitely corrupted. sched_sync() doesn't call checklimit(),
checklimit() doesn't call indir_trunc(), indir_trunc() doesn't call
softdep_setup_directory_add()...

-lq

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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