From owner-freebsd-current Sat Aug 18 18:42:54 2001 Delivered-To: freebsd-current@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 112DE37B401 for ; Sat, 18 Aug 2001 18:42:48 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 7F6346ACBC; Sun, 19 Aug 2001 11:12:45 +0930 (CST) Date: Sun, 19 Aug 2001 11:12:45 +0930 From: Greg Lehey To: Alexander Leidinger Cc: current@freebsd.org Subject: Re: panic: ffs_blkfree: freeing free block / + UDMA ICRC error with ad0 Message-ID: <20010819111245.A77001@wantadilla.lemis.com> References: <200108181256.f7ICuBJ00856@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108181256.f7ICuBJ00856@Magelan.Leidinger.net>; from Alexander@Leidinger.net on Sat, Aug 18, 2001 at 02:56:10PM +0200 Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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