Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2001 11:12:45 +0930
From:      Greg Lehey <grog@FreeBSD.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        current@freebsd.org
Subject:   Re: panic: ffs_blkfree: freeing free block  / + UDMA ICRC error with ad0
Message-ID:  <20010819111245.A77001@wantadilla.lemis.com>
In-Reply-To: <200108181256.f7ICuBJ00856@Magelan.Leidinger.net>; from Alexander@Leidinger.net on Sat, Aug 18, 2001 at 02:56:10PM %2B0200
References:  <200108181256.f7ICuBJ00856@Magelan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 18 August 2001 at 14:56:10 +0200, Alexander Leidinger wrote:
> Hi,
>
> -current as of Aug 16, ~2pm CEST:

I don't see a "freeing free block" in the stack trace.  What is
missing from the trace below?  Does the trace belong to the panic
message?

The trace shows two panics: the first looks like a page fault kernel
mode, though the backtrace address looks user mode.  The second panic
is a "bremfree: bp not locked" in the subsequent sync.  That one may
be related to some SMP stuff that has been done recently.  It would be
interesting to look at the return address from the trap: the code
space ID is 0xc000, which I don't recognize.  What process was
running?

> ---snip---
> IdlePTD 4812800
> initial pcb at 305f60
> panicstr: bremfree: bp 0xc69e0748 not locked
> panic messages:
> ---
> panic: ffs_blkfree: freeing free block
> panic: from debugger
> [...]
> #0  dumpsys () at ../../../kern/kern_shutdown.c:479
> #1  0xc01baf11 in boot (howto=260) at ../../../kern/kern_shutdown.c:322
> #2  0xc01bb32a in panic (fmt=0xc02ba51e "bremfree: bp %p not locked")
>     at ../../../kern/kern_shutdown.c:601
> #3  0xc01ed20e in bremfree (bp=0xc69e0748) at ../../../kern/vfs_bio.c:479
> #4  0xc01eeb7a in getnewbuf (slpflag=0, slptimeo=0, size=8192, maxsize=8192)
>     at ../../../kern/vfs_bio.c:1632
> #5  0xc01ef8d1 in getblk (vp=0xd063eec0, blkno=64, size=8192, slpflag=0,
>     slptimeo=0) at ../../../kern/vfs_bio.c:2244
> #6  0xc01ed2ef in breadn (vp=0xd063eec0, blkno=64, size=8192, rablkno=0x0,
>     rabsize=0x0, cnt=0, cred=0x0, bpp=0xc049ae10)
>     at ../../../kern/vfs_bio.c:537
> #7  0xc01ed2b4 in bread (vp=0xd063eec0, blkno=64, size=8192, cred=0x0,
>     bpp=0xc049ae10) at ../../../kern/vfs_bio.c:519
> #8  0xc0228650 in ffs_update (vp=0xd063eda0, waitfor=0)
>     at ../../../ufs/ffs/ffs_inode.c:101
> #9  0xc023601f in ffs_fsync (ap=0xc049ae8c) at ../../../ufs/ffs/ffs_vnops.c:292
> #10 0xc0233f9f in ffs_sync (mp=0xc1870400, waitfor=2, cred=0xc0e61d00,
>     p=0xc0337000) at vnode_if.h:441
> #11 0xc01fc2e1 in sync (p=0xc0337000, uap=0x0)
>     at ../../../kern/vfs_syscalls.c:620
> #12 0xc01baa37 in boot (howto=256) at ../../../kern/kern_shutdown.c:231
> #13 0xc01bb32a in panic (fmt=0xc02cfc5e "%s")
>     at ../../../kern/kern_shutdown.c:601
> #14 0xc0276c90 in trap_fatal (frame=0xc049afa8, eva=794529)
>     at ../../../i386/i386/trap.c:935
> #15 0xc02769c9 in trap_pfault (frame=0xc049afa8, usermode=0, eva=794529)
>     at ../../../i386/i386/trap.c:849
> #16 0xc027615c in trap (frame={tf_fs = 0, tf_es = 0, tf_ds = 0, tf_edi = 3557,
>       tf_esi = 20371, tf_ebp = 24, tf_isp = -1068912684, tf_ebx = 8,
>       tf_edx = 145, tf_ecx = 3, tf_eax = 1544, tf_trapno = 12, tf_err = 4,
>       tf_eip = 8097, tf_cs = 49152, tf_eflags = 721410, tf_esp = 4030,
>       tf_ss = 0}) at ../../../i386/i386/trap.c:408
> #17 0x1fa1 in ?? ()
> Cannot access memory at address 0x18.

Greg
--
See complete headers for address and phone numbers

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?20010819111245.A77001>