misc/92716: hifn driver hangs after a short while when using GEOM_ELI

Erik Nygren bsd at nygrens.info
Wed Feb 1 20:20:05 PST 2006


>Number:         92716
>Category:       misc
>Synopsis:       hifn driver hangs after a short while when using GEOM_ELI
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 02 04:20:00 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Erik Nygren
>Release:        6.0-RELEASE-p4
>Organization:
Uni2
>Environment:
FreeBSD farmor.nygrens.info 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #278: Fri Jan 27 08:53:01 CET 2006     root at farmor.nygrens.info:/usr/obj/usr/src/sys/FARMOR  i386
>Description:
When using geli together with a Soekris VPN1401 (hifn 7955), disk access freezes  after a while. 
I have tried this in a few different computers, and they all behave the same.
Everything works fine for a while, and then the diskwrites just come to a halt.
Only way out is reboot, which will then fail to write out a few buffers to disk.
>How-To-Repeat:
geli init -s 4096 ad2s1a
geli attach ad2s1a
newfs -n -U -m 6 ad2s1a.eli
mount /dev/ad2s1a.eli /mnt
while true 
do
  time dd if=/dev/random of=/mnt/testfile bs=1M count=50
done
# Now just wait for a few minutes, possibly doing "iostat 1" in another window.
>Fix:
This issue (I think) have been seen in the hifn driver, and possibly even been solved in the OpenBSD driver. However, trying to apply the OpenBSD fixes to the FreeBSD driver does not work for me.
Google turns up a few hits like this one:
http://news.vejas.lt/article.php?id=15833&group=gmane.os.netbsd.bugs
that I think are related. But unfortunately the suggested patch does not solve the problem for me.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list