misc/158711: panic in ffs_blkfree and ffs_valloc
Oskar Nordquist
oskar.nordquist at gmail.com
Thu Jul 7 21:20:01 UTC 2011
>Number: 158711
>Category: misc
>Synopsis: panic in ffs_blkfree and ffs_valloc
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 07 21:20:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Oskar Nordquist
>Release: 8.2-RELEASE
>Organization:
>Environment:
FreeBSD dvalin 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
I have a VIA chipset server, with two (2) Western Digital MyBook USB SATA external hard-drives; 1TB and 2TB.
Just before panic I get these errors:
_vfs_done():da1s1a[WRITE(offset=1632295927808, length=16384)]error = 5
_vfs_done():da1s1a[WRITE(offset=1632488620032, length=16384)]error = 5
_vfs_done():da1s1a[WRITE(offset=1632665665536, length=131072)]error = 5
and then the panics are either
panic: ffs_blkfree: freeing free block
or:
panic: ffs_valloc: dup alloc
I should note that I got the ffs_blkfree panic in 8.2-RC3, and then ffs_valloc in 8.2-RELEASE. But I suspect both panics can happen in 8.2-RELEASE as well.
Also I have on several occasions had the "AutoSense failed" error, which may be related.
>How-To-Repeat:
Simultaneously read/write to/from multiple USB SATA-disks at once.
Have never seen the problem when only writing or reading once at a time in a single shell. Happens very often when I copy files from one USB disk to another in one shell, while simultaneously reading/writing to the first drive in another shell.
This could possibly be due to bad sectors on the drives, as I get several messages with fsck that some sectors could not be read.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list