Date: Sun, 15 Nov 1998 11:11:37 -0500 (EST) From: Luoqi Chen <luoqi@watermarkgroup.com> To: FreeBSD-current@FreeBSD.ORG, grog@lemis.com Subject: Re: Today's -CURRENT dies with "ffs_blkfree: bad size" Message-ID: <199811151611.LAA09315@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
> I've just upgraded my kernel to a sup of about 9 hours ago, and have
> had a number of panics. The first ones happened in X, but I finally
> got a dump. Here's a trace:
>
> #0 boot (howto=262400) at ../../kern/kern_shutdown.c:285
> 285 dumppcb.pcb_cr3 = rcr3();
> (kgdb) bt
> #0 boot (howto=262400) at ../../kern/kern_shutdown.c:285
> #1 0xf013e1e5 in panic (fmt=0xf01cc3e1 "ffs_blkfree: bad size")
> at ../../kern/kern_shutdown.c:453
> #2 0xf01cc53e in ffs_blkfree (ip=0xf1283400, bno=4, size=8192)
^^^^^
It could be caused by our delayed bmap binding. Check to see if
bp->b_blkno == bp->b_lblkno for this block.
> at ../../ufs/ffs/ffs_alloc.c:1300
> #3 0xf01cac04 in ffs_reallocblks (ap=0xf8cc1e14)
> at ../../ufs/ffs/ffs_alloc.c:523
> #4 0xf015e2e3 in cluster_write (bp=0xf461a7e8, filesize=106496)
> at vnode_if.h:1035
> #5 0xf01d2147 in ffs_write (ap=0xf8cc1eec)
> at ../../ufs/ufs/ufs_readwrite.c:368
> #6 0xf0167d5b in vn_write (fp=0xf1233200, uio=0xf8cc1f30, cred=0xf11cac80)
> at vnode_if.h:331
> #7 0xf0146da2 in write (p=0xf8cac880, uap=0xf8cc1f84)
> at ../../kern/sys_generic.c:270
> #8 0xf01fcef3 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 114688,
> tf_esi = 537546280, tf_ebp = -272642672, tf_isp = -120840236,
> tf_ebx = 537477216, tf_edx = 537546280, tf_ecx = 0, tf_eax = 4,
> tf_trapno = 7, tf_err = 7, tf_eip = 537412177, tf_cs = 31,
> tf_eflags = 514, tf_esp = -272642696, tf_ss = 39})
> at ../../i386/i386/trap.c:1031
> #9 0x20084251 in ?? ()
>
> Anybody else seen this?
>
> Greg
> --
> See complete headers for address, home page and phone numbers
> finger grog@lemis.com for PGP public key
-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?199811151611.LAA09315>
