From owner-freebsd-bugs@FreeBSD.ORG Mon Jun 8 04:50:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD5A81065670 for ; Mon, 8 Jun 2009 04:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B5AE28FC16 for ; Mon, 8 Jun 2009 04:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n584o1DH090623 for ; Mon, 8 Jun 2009 04:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n584o1mk090622; Mon, 8 Jun 2009 04:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 8 Jun 2009 04:50:01 GMT Resent-Message-Id: <200906080450.n584o1mk090622@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Akua Swiss Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AB501065672 for ; Mon, 8 Jun 2009 04:43:09 +0000 (UTC) (envelope-from akua@swiss.coh.akua.com) Received: from QMTA08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id 332798FC08 for ; Mon, 8 Jun 2009 04:43:09 +0000 (UTC) (envelope-from akua@swiss.coh.akua.com) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id 1GUY1c0010x6nqcA8GVzNN; Mon, 08 Jun 2009 04:29:59 +0000 Received: from swiss.coh.akua.com ([66.31.160.146]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id 1GVx1c00F39okEy8YGVz0x; Mon, 08 Jun 2009 04:29:59 +0000 Received: by swiss.coh.akua.com (Postfix, from userid 1000) id 87C09C94852; Mon, 8 Jun 2009 00:29:55 -0400 (EDT) Message-Id: <20090608042955.87C09C94852@swiss.coh.akua.com> Date: Mon, 8 Jun 2009 00:29:55 -0400 (EDT) From: Akua Swiss To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/135348: USB Drive Hangs with ZFS (JMicron USB2/eSata) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Akua Swiss List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 04:50:02 -0000 >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@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: