kern/135348: USB Drive Hangs with ZFS (JMicron USB2/eSata)

Akua Swiss akua at coh.akua.com
Mon Jun 8 04:50:02 UTC 2009


>Number:         135348
>Category:       kern
>Synopsis:       USB Drive Hangs with ZFS (JMicron USB2/eSata)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 08 04:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Akua Swiss
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
Greg Kerr
>Environment:
System: FreeBSD swiss.coh.akua.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Jun 7 20:05:39 EDT 2009 root at swiss.coh.akua.com:/fig/xyzzy-bak/xyzzy/TMP/obj/fig/xyzzy-bak/xyzzy/SRC/8/src/sys/swiss-80-a i386

	Toshiba A310-S2322 Notebook, FreeBSD-8-current/i386
	
>Description:
	ZFS on JMicron USB2/eSata drive causes SYNC failures ... roughly 10 or so ... until system panic
>How-To-Repeat:
	Hook up drive, gpart partition per http://lists.freebsd.org/pipermail/freebsd-current/2007-April/070616.html, zpool, start copying files, panic
>Fix:

	Set quirk flag to stop synch attempts in umass.c .... eSata interface not tested (PCI Express card unsupported yet)

--- usbdevs.diff begins here ---
--- usbdevs.orig	2009-06-07 22:45:30.000000000 -0400
+++ usbdevs	2009-06-07 21:02:04.000000000 -0400
@@ -142,7 +142,6 @@
 vendor PHILIPS		0x0471	Philips
 vendor SUN2		0x0472	Sun Microsystems (offical)
 vendor SANYO		0x0474	Sanyo Electric
-vendor SEAGATE		0x0477	Seagate
 vendor CONNECTIX	0x0478	Connectix
 vendor SEMTECH		0x047a	Semtech
 vendor KENSINGTON	0x047d	Kensington
@@ -499,6 +498,7 @@
 vendor USR		0x0baf	U.S. Robotics
 vendor AMBIT		0x0bb2	Ambit Microsystems
 vendor HTC		0x0bb4	HTC
+vendor SEAGATE		0x0bc2	Seagate
 vendor REALTEK		0x0bda	Realtek
 vendor ADDONICS2	0x0bf6	Addonics Technology
 vendor FSC		0x0bf8	Fujitsu Siemens Computers
@@ -603,6 +603,7 @@
 vendor UMEDIA		0x157e	U-MEDIA Communications
 vendor FIBERLINE	0x1582	Fiberline
 vendor SPARKLAN		0x15a9	SparkLAN
+vendor JMICRON		0x152d	JMicron Technology Corp
 vendor SOHOWARE		0x15e8	SOHOware
 vendor UMAX		0x1606	UMAX Data Systems
 vendor INSIDEOUT	0x1608	Inside Out Networks
@@ -1526,6 +1527,9 @@
 /* Jaton products */
 product JATON EDA		0x5704	Ethernet
 
+/* JMicron products */
+product	JMICRON JM20336	0x2336	JM20336 SATA, USB Combo SATA Drive Enclosure
+
 /* JVC products */
 product JVC GR_DX95		0x000a	GR-DX95
 product JVC MP_PRX1		0x3008	MP-PRX1 Ethernet
@@ -2117,6 +2121,9 @@
 product SCANLOGIC SL11R		0x0002	SL11R IDE Adapter
 product SCANLOGIC 336CX		0x0300	Phantom 336CX - C3 scanner
 
+/* Seagate prodcuts */
+product SEAGATE FREEAGENT	0x3010	USB/eSATA Enclosed SATA Drive
+
 /* Senao products */
 product SENAO NUB8301		0x2000	NUB-8301
 
--- usbdevs.diff ends here ---

--- umass.diff begins here ---
--- umass.orig.c	2009-06-07 23:31:53.000000000 -0400
+++ umass.c	2009-06-07 18:54:42.000000000 -0400
@@ -941,6 +941,15 @@
 		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 		NO_INQUIRY | NO_SYNCHRONIZE_CACHE
 	},
+	/* Akua */
+	{USB_VENDOR_JMICRON, USB_PRODUCT_JMICRON_JM20336, RID_WILDCARD,
+		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+		NO_SYNCHRONIZE_CACHE
+	},
+	{USB_VENDOR_SEAGATE, USB_PRODUCT_SEAGATE_FREEAGENT, RID_WILDCARD,
+		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+		NO_GETMAXLUN
+	},
 	{VID_EOT, PID_EOT, RID_EOT, 0, 0}
 };
 
--- umass.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list