Re: panic: ffs_blkfree: freeing free block

From: Rako <rako29_at_gmail.com>
Date: Mon, 15 Oct 2007 13:11:35 -0300
  Hello, I apply the patch 
(http://www.googlebit.com/freebsd/patches/ffs_softdep.c-patch) but I got 
the panic again. (with portsnap update)

How can I help for this bug (?) fixed?
Thanks,
Javier

FreeBSD odin 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sat Oct 13 
15:42:34 ART 2007

kgdb: kvm_nlist(_stopped_cpus):
kgdb: kvm_nlist(_stoppcbs):
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:
dev = ad4s1f, block = 5515224, fs = /usr
panic: ffs_blkfree: freeing free block
KDB: stack backtrace:
db_trace_self_wrapper(c0a5d4aa,d301aad0,c0787e3a,c0a5b8b4,c0b59b40,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c0a5b8b4,c0b59b40,c0a6c5bb,d301aadc,d301aadc,...) at 
kdb_backtrace+0x29
panic(c0a6c5bb,c2cc2b78,5427d8,0,c2d528d4,...) at panic+0xaa
ffs_blkfree(c2db3a00,c2d52800,c2d76bb0,5427d8,0,...) at ffs_blkfree+0x433
indir_trunc(0,c,0,d301ac4c,c1455718,...) at indir_trunc+0x3a8
handle_workitem_freeblocks(0,d301ac84,2,c07b5200,c2d2e210,...) at 
handle_workitem_freeblocks+0x1e0
process_worklist_item(d301acc8,c07fe20e,c2d3b538,2001,c2d3b568,...) at 
process_worklist_item+0x22e
softdep_process_worklist(c2d3b538,0,c0b5eae0,c2d2e210,3e8,...) at 
softdep_process_worklist+0x81
softdep_flush(0,d301ad38,c9e1dfe1,a9fd7d80,262e286a,...) at 
softdep_flush+0x46a
fork_exit(c08f7d70,0,d301ad38) at fork_exit+0x94
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xd301ad70, ebp = 0 ---
Uptime: 1d15h29m16s
Physical memory: 435 MB
Dumping 121 MB: (CTRL-C to abort)  106 90 74 58 42 26 10


> On Sunday 14 October 2007, Eric Anderson wrote:
>> Pieter de Goeje wrote:
>>> On Saturday 13 October 2007, Rolf Witt wrote:
>>>> Backtrace from crash tonight (after portsnap cron):
>>> <snip>
>>>
>>>> # uname -a
>>>> FreeBSD peanuts.homenet.local 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE
>>>> #121: Thu Oct 11 16:29:05 CEST 2007
>>>> rowi_at_peanuts.homenet.local:/usr/obj/usr/src/sys/PEANUTS  i386
>>>>
>>>> Sources from Builddate.
>>>>
>>>> Rowi
>>> Eric sent me this patch:
>>> http://www.googlebit.com/freebsd/patches/ffs_softdep.c-patch
>>> which seems to be working great so far. I am still testing it, but I
>>> think it fixed the problem.
>>> To apply, cd /usr/src; patch < /path/to/patch and then rebuild the
>>> kernel.
>>>
>>> Cheers,
>>> Pieter de Goeje
>> It doesn't actually 'fix' the problem, but I think it helps identify it.
>> I'm not 100% certain if this is the right fix our not, but so far
>> feedback has been good when running with this patch.
>>
>> Can somebody confirm that this patch is ok?
>>
>> Eric
> Can you elaborate on what this patch exactly does / what the problem is?
> 
> Pieter
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon Oct 15 2007 - 14:38:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC