From owner-freebsd-usb@FreeBSD.ORG Sat Mar 20 19:00:17 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B4C01065677 for ; Sat, 20 Mar 2010 19:00:17 +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 5DDE48FC20 for ; Sat, 20 Mar 2010 19:00:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2KJ0Gh7065175 for ; Sat, 20 Mar 2010 19:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2KJ0GKW065174; Sat, 20 Mar 2010 19:00:16 GMT (envelope-from gnats) Resent-Date: Sat, 20 Mar 2010 19:00:16 GMT Resent-Message-Id: <201003201900.o2KJ0GKW065174@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Monty Hall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE6B01065675 for ; Sat, 20 Mar 2010 18:56:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8301B8FC0A for ; Sat, 20 Mar 2010 18:56:35 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o2KIuZ7o050701 for ; Sat, 20 Mar 2010 18:56:35 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o2KIuZeo050700; Sat, 20 Mar 2010 18:56:35 GMT (envelope-from nobody) Message-Id: <201003201856.o2KIuZeo050700@www.freebsd.org> Date: Sat, 20 Mar 2010 18:56:35 GMT From: Monty Hall To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/144915: Prolific USB-IDE Bridge for Seagate ST350083 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2010 19:00:17 -0000 >Number: 144915 >Category: usb >Synopsis: Prolific USB-IDE Bridge for Seagate ST350083 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 20 19:00:16 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Monty Hall >Release: 8.0 >Organization: >Environment: FreeBSD XXXXX 8.0-STABLE FreeBSD 8.0-STABLE #8 r205349M: Sat Mar 20 00:02:49 EDT 2010 root@XXXX:/usr/obj/usr/src/sys/INSPIRON i386 >Description: I started getting zpool corruption errors, and the console was displaying error messages concerning CACHE problems and SCSI error (20,0). Unfortunately I recompiled for this quirk and no longer have the actual error message: camcontrol devlist: at scbus2 target 0 lun 0 (da0,pass1) usbcontrol list: --------------- ugen4.5: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON >How-To-Repeat: I never had this problem as a UFS drive. Only started getting this message after adding to a zpool. >Fix: Recompile w/ the following changes: /usr/src/sys/dev/usb/quirk/usb_quirk.c Index: usb_quirk.c =================================================================== --- usb_quirk.c (revision 205388) +++ usb_quirk.c (working copy) @@ -80,6 +80,10 @@ USB_QUIRK_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, l, h, __VA_ARGS__) static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = { + USB_QUIRK(PROLIFIC, PL2506, 0x0000, 0xffff, + UQ_MSC_FORCE_PROTO_SCSI, + UQ_MSC_FORCE_WIRE_BBB, + UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(ASUS, LCM, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(INSIDEOUT, EDGEPORT4, 0x094, 0x094, UQ_SWAP_UNICODE), USB_QUIRK(DALLAS, J6502, 0x0a2, 0x0a2, UQ_BAD_ADC), -------------------------------------------- /usr/src/sys/dev/usb/usbdevs Index: usbdevs =================================================================== --- usbdevs (revision 205388) +++ usbdevs (working copy) @@ -2223,6 +2223,7 @@ product PROLIFIC PL2305 0x2305 Parallel printer product PROLIFIC ATAPI4 0x2307 ATAPI-4 Controller product PROLIFIC PL2501 0x2501 PL2501 Host-Host interface +product PROLIFIC PL2506 0x2506 PL2506 USB to IDE Bridge product PROLIFIC PHAROS 0xaaa0 Prolific Pharos product PROLIFIC RSAQ3 0xaaa2 PL2303 Serial Adapter (IODATA USB-RSAQ3) product PROLIFIC2 WSIM 0x2001 Willcom WSIM >Release-Note: >Audit-Trail: >Unformatted: