From owner-freebsd-usb@FreeBSD.ORG Sun Mar 21 10:29:36 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EF901065677; Sun, 21 Mar 2010 10:29:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF168FC18; Sun, 21 Mar 2010 10:29:35 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=vHOFoGaOoHMA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=miBq-GLSARnfoV0ZXe4A:9 a=ZvfDc8N7WaftV3vvBo4A:7 a=sQ_LkdYfOlmv7gvo-ushzAxCV6EA:4 a=PUjeQqilurYA:10 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1343059461; Sun, 21 Mar 2010 11:29:33 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 21 Mar 2010 11:27:48 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201003201856.o2KIuZeo050700@www.freebsd.org> In-Reply-To: <201003201856.o2KIuZeo050700@www.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003211127.48933.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, Monty Hall Subject: Re: 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: Sun, 21 Mar 2010 10:29:36 -0000 On Saturday 20 March 2010 19:56:35 Monty Hall wrote: > >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), > > -------------------------------------------- > Hi, Thanks for your patch! Can you try the patch without the UQ_MSC_FORCE options, only the UQ_MSC_NO_SYNC_CACHE? We try to avoid the UQ_MSC_FORCE options when the USB descriptors already have the correct values for these fields. Does the patch still work? --HPS > /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: > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" >