Re: panic: ffs_blkfree: freeing free block

From: Adam McDougall <mcdouga9_at_egr.msu.edu>
Date: Mon, 1 Oct 2007 17:32:03 -0400
I was running rsync, got about half way done copying 100G from a remote server
to a local gjournal ffs however it looks like the panic did NOT occur on the
drive I was running rsync to:

Unread portion of the kernel message buffer:
dev = da1s1g, block = 27232072, fs = /data
panic: ffs_blkfree: freeing free block
cpuid = 0
Uptime: 4d5h39m49s
Physical memory: 2030 MB
Dumping 352 MB: 337 321 305 289 273 257 241 225 209 193 177 161 145 129 113 97 81 65 49 33 17 1

#0  doadump () at pcpu.h:195
195     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc0589b47 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0589e3b in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc0651fa4 in ffs_blkfree (ump=0xc5a6e600, fs=0xc5974000, devvp=0xc59ab220, bno=27232072, 
    size=16384, inum=6810668) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1893
#4  0xc0665968 in indir_trunc (freeblks=0xcc171500, dbn=108840064, level=0, lbn=12, countp=0xe631cc4c)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2896
#5  0xc0665c47 in handle_workitem_freeblocks (freeblks=0xcc171500, flags=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2746
#6  0xc06673de in process_worklist_item (mp=0xc5a74000, flags=Variable "flags" is not available.
)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:963
#7  0xc0668402 in softdep_process_worklist (mp=0xc5a74000, full=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:847
#8  0xc066a8cd in softdep_flush () at /usr/src/sys/ufs/ffs/ffs_softdep.c:758
#9  0xc0568369 in fork_exit (callout=0xc066a450 <softdep_flush>, arg=0x0, frame=0xe631cd38)
    at /usr/src/sys/kern/kern_fork.c:796
#10 0xc06cff90 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205


On Mon, Oct 01, 2007 at 03:28:57PM +0200, Arjan van Leeuwen wrote:

  Same here:
  
  #0 doadump () at pcpu.h:194
  #1 0x0000000000000004 in ?? ()
  #2 0xffffffff80472c09 in boot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:409
  #3 0xffffffff8047300d in panic (fmt=0x104 <Address 0x104 out of bounds>)
    at /usr/src/sys/kern/kern_shutdown.c:563
  #4 0xffffffff80642135 in ffs_blkfree (ump=Variable "ump" is not available.
  )
    at /usr/src/sys/ufs/ffs/ffs_alloc.c:1893
  #5 0xffffffff80651dc3 in indir_trunc (freeblks=0xffffff001544d500,
  dbn=Variable "dbn" is not available.
  )
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2896
  #6 0xffffffff8065227f in handle_workitem_freeblocks (
    freeblks=0xffffff001544d500, flags=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2746
  #7 0xffffffff80653853 in process_worklist_item (mp=0xffffff0001478978,
  flags=Variable "flags" is not available.
  )
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:963
  #8 0xffffffff80654867 in softdep_process_worklist (mp=0xffffff0001478978,
    full=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:847
  #9 0xffffffff806567d7 in softdep_flush ()
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:758
  #10 0xffffffff80454723 in fork_exit (
    callout=0xffffffff806566b0 <softdep_flush>, arg=0x0,
    frame=0xffffffffac3a8c80) at /usr/src/sys/kern/kern_fork.c:796
  #11 0xffffffff806dbb8e in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:397
  
  
  2007/9/30, Rolf Witt <fbsd-st_at_donut.de>:
  >
  > Here the same (i386 old PIII with 640mb RAM, Sources from friday):
  >
  > > reboot after panic: ffs_blkfree: freeing free
  > block
  >
  > The kernel on my PC panics by reading the UPDATING-File with less after
  > executing a portsnap update.
  >
  > Sorry, i know thats are not very helpful informations, but i lost the
  > vmcore and all debug output.
  >
  > rowi
  > _______________________________________________
  > 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"
  >
  _______________________________________________
  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 01 2007 - 19:51:47 UTC

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