From owner-freebsd-hackers Sat May 17 09:50:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA01295 for hackers-outgoing; Sat, 17 May 1997 09:50:39 -0700 (PDT) Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id JAA01286 for ; Sat, 17 May 1997 09:50:36 -0700 (PDT) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA04909; Sat, 17 May 1997 12:50:03 -0400 Received: from ponds by dg-rtp.dg.com.rtp.dg.com; Sat, 17 May 1997 12:50 EDT Received: from lakes.water.net (lakes [10.0.0.3]) by ponds.water.net (8.8.5/8.7.3) with ESMTP id IAA17544; Sat, 17 May 1997 08:30:38 -0400 (EDT) Received: (from rivers@localhost) by lakes.water.net (8.8.5/8.6.9) id IAA04184; Sat, 17 May 1997 08:37:42 -0400 (EDT) Date: Sat, 17 May 1997 08:37:42 -0400 (EDT) From: Thomas David Rivers Message-Id: <199705171237.IAA04184@lakes.water.net> To: ponds!calweb.com!cslye, ponds!FreeBSD.ORG!hackers Subject: Re: panic: blkfree: freeing free block Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Well, I am at a dead end.. I have low leveled the drive, I have newfsed the > drive, I have cvsupped and installed new kernels for the last month.. Any > ideas on this error ? This is exactly the panic I see every day - look in the mail archives for "daily panic" and "freeing free inode" panics. You'll see we've been trying to nail this one for some time. Anyway - I can tell you this: I have reproduced it on a small system. Which is good for testing potential fixes. Every version of FreeBSD since 2.1.0 has suffered from this problem. If you adjust the cluster size in the newfs parms, you can usually mask the problem. That is, you'll run longer. I'm not at all convinced it solves the problem - just moves it to a less likely location. - Dave Rivers - > > > Background on the system, p133 running on a asus p55t2p4 with 128mb. 2 > 2940UW's, root drive a quantum XP31070W L912 the /news/spool drive is a > TANDEM 4275-1 1717 (IBM OEM I belive) There is a dual port SMC card (Digital > 21040) > > current pcb at 1efac8 > panic: blkfree: freeing free block > #0 boot (howto=260) at ../../kern/kern_shutdown.c:243 > 243 dumppcb.pcb_cr3 = rcr3(); > > (kgdb) where > #0 boot (howto=260) at ../../kern/kern_shutdown.c:243 > #1 0xf0117c03 in panic (fmt=0xf0101439 "from debugger") > at ../../kern/kern_shutdown.c:367 > #2 0xf0101455 in db_panic (dummy1=-266612103, dummy2=0, dummy3=-1, > dummy4=0xefbff92c "") at ../../ddb/db_command.c:440 > #3 0xf0101345 in db_command (last_cmdp=0xf01e3b24, cmd_table=0xf01e3974, > aux_cmd_tablep=0xf01fce54) at ../../ddb/db_command.c:337 > #4 0xf01014c2 in db_command_loop () at ../../ddb/db_command.c:462 > #5 0xf0103ca8 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:73 > #6 0xf01bd07b in kdb_trap (type=3, code=0, regs=0xefbffa1c) > at ../../i386/i386/db_interface.c:126 > #7 0xf01c5c34 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 0, > tf_esi = -267381703, tf_ebp = -272631200, tf_isp = -272631228, > tf_ebx = 260, tf_edx = -266612159, tf_ecx = -2147483648, tf_eax = 18, > tf_trapno = 3, tf_err = 0, tf_eip = -266612103, tf_cs = 8, > tf_eflags = 582, tf_esp = -266612175, tf_ss = -267289704}) > at ../../i386/i386/trap.c:403 > #8 0xf01bd279 in Debugger (msg=0xf0117b98 "panic") > at ../../i386/i386/db_interface.c:254 > #9 0xf0117bfa in panic (fmt=0xf0101439 "from debugger") > at ../../kern/kern_shutdown.c:365 > #10 0xf0101455 in db_panic (dummy1=-266612096, dummy2=0, dummy3=-1, > dummy4=0xefbffab0 "") at ../../ddb/db_command.c:440 > ---Type to continue, or q to quit--- > #11 0xf0101345 in db_command (last_cmdp=0xf01e3b24, cmd_table=0xf01e3974, > aux_cmd_tablep=0xf01fce54) at ../../ddb/db_command.c:337 > #12 0xf01014c2 in db_command_loop () at ../../ddb/db_command.c:462 > #13 0xf0103ca8 in db_trap (type=10, code=0) at ../../ddb/db_trap.c:73 > #14 0xf01bd07b in kdb_trap (type=10, code=0, regs=0xefbffba0) > at ../../i386/i386/db_interface.c:126 > #15 0xf01c5c34 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -251225900, > tf_esi = -266736111, tf_ebp = -272630812, tf_isp = -272630840, > tf_ebx = 256, tf_edx = -266612159, tf_ecx = -2147483648, tf_eax = 18, > tf_trapno = 10, tf_err = 0, tf_eip = -266612096, tf_cs = 8, > tf_eflags = 838, tf_esp = -266612175, tf_ss = -267289704}) > at ../../i386/i386/trap.c:403 > #16 0xf01bd280 in Debugger (msg=0xf0117b98 "panic") > at ../../i386/i386/db_interface.c:255 > #17 0xf0117bfa in panic (fmt=0xf019ee11 "blkfree: freeing free block") > at ../../kern/kern_shutdown.c:365 > #18 0xf019efe3 in ffs_blkfree (ip=0xf1230200, bno=21768, size=8192) > at ../../ufs/ffs/ffs_alloc.c:1230 > #19 0xf01a140a in ffs_indirtrunc (ip=0xf1230200, lbn=-12, dbn=11905184, > lastbn=-1, level=0, countp=0xefbffd24) at ../../ufs/ffs/ffs_inode.c:500 > #20 0xf01a0e48 in ffs_truncate (ap=0xefbffdfc) at > ../../ufs/ffs/ffs_inode.c:317 > #21 0xf01a4989 in ufs_inactive (ap=0xefbffe28) at vnode_if.h:1003 > #22 0xf0136ecf in vrele (vp=0xf11d4200) at vnode_if.h:699 > ---Type to continue, or q to quit--- > #23 0xf01b7bb1 in vnode_pager_dealloc (object=0xf1598f80) > at ../../vm/vnode_pager.c:203 > #24 0xf01b70b6 in vm_pager_deallocate (object=0xf1598f80) > at ../../vm/vm_pager.c:177 > #25 0xf01b24f0 in vm_object_terminate (object=0xf1598f80) > at ../../vm/vm_object.c:416 > #26 0xf01b232b in vm_object_deallocate (object=0xf1598f80) > at ../../vm/vm_object.c:353 > #27 0xf0136e18 in vrele (vp=0xf11d4200) at ../../kern/vfs_subr.c:881 > #28 0xf0136dc3 in vput (vp=0xf11d4200) at ../../kern/vfs_subr.c:858 > #29 0xf01a7dbc in ufs_remove (ap=0xefbffef4) at > ../../ufs/ufs/ufs_vnops.c:695 > #30 0xf0139145 in unlink (p=0xf1714a00, uap=0xefbfff94, retval=0xefbfff84) > at vnode_if.h:459 > #31 0xf01c6677 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = > -272639652, > tf_esi = -272639488, tf_ebp = -272639556, tf_isp = -272629788, > tf_ebx = -272639413, tf_edx = 0, tf_ecx = -272639697, tf_eax = 10, > tf_trapno = 12, tf_err = 7, tf_eip = 80117, tf_cs = 31, tf_eflags = > 582, > tf_esp = -272639676, tf_ss = 39}) at ../../i386/i386/trap.c:890 > #32 0x138f5 in ?? () > #33 0x123a in ?? () > #34 0x107e in ?? () > >