From owner-freebsd-usb@FreeBSD.ORG Sun May 25 00:18:56 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA2312CE for ; Sun, 25 May 2014 00:18:56 +0000 (UTC) Received: from BAY004-OMC4S5.hotmail.com (bay004-omc4s5.hotmail.com [65.54.190.207]) by mx1.freebsd.org (Postfix) with ESMTP id AE1BD2A5F for ; Sun, 25 May 2014 00:18:56 +0000 (UTC) Received: from BAY174-DS6 ([65.54.190.201]) by BAY004-OMC4S5.hotmail.com with Microsoft SMTPSVC(7.5.7601.22678); Sat, 24 May 2014 17:17:50 -0700 X-TMN: [OeVwJ055G3cUloA8iWCc1EPqSasqQfSp] X-Originating-Email: [jwithana@hotmail.com] Message-ID: From: "Janaka Withana" To: "Hans Petter Selasky" , References: In-Reply-To: Subject: Re: USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command operation code) Date: Sat, 24 May 2014 20:17:47 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 X-OriginalArrivalTime: 25 May 2014 00:17:50.0245 (UTC) FILETIME=[C3592D50:01CF77AE] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2014 00:18:56 -0000 RE: USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command operation = code)greetings =E2=80=93 just checking this will work in 9.2? appears = the issue still exists... From: Hans Petter Selasky=20 Sent: Sunday, July 28, 2013 4:47 AM To: Janaka Withana ; freebsd-usb@freebsd.org=20 Subject: RE: USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command = operation code) Running:usbconfigWill list all devices.You need to re-plug the device = after applying the quirk.--HPS -----Original message-----> From:Janaka = Withana > Sent: Sunday 28th July 2013 1:56> To: = Hans Petter Selasky ; = freebsd-usb@freebsd.org> Subject: Re: USB 3.0 HDD ILLEGAL REQUEST = asc:20, 0 (Invalid command operation code)> > guessed it was 1.2> > > = usbconfig -d 1.2 add_quirk UQ_MSC_NO_SYNC_CACHE> > did not fix it> > = still get errors:> > kernel: (da1:umass-sim1:1:0:0): SYNCHRONIZE = CACHE(10). CDB: 35 0 0 0 0 0 0 > > 0 0 0> > kernel: = (da1:umass-sim1:1:0:0): CAM status: SCSI Status Error> > kernel: = (da1:umass-sim1:1:0:0): SCSI status: Check Condition> > kernel: = (da1:umass-sim1:1:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 > > = (Invalid command operation code)> > kernel: (da1:umass-sim1:1:0:0): = Error 22, Unretryable error> > -----Original Message----- > From: Janaka = Withana> Sent: Saturday, July 27, 2013 7:18 PM> To: Hans Petter Selasky = ; freebsd-usb@freebsd.org> Subject: Re: USB 3.0 HDD ILLEGAL REQUEST = asc:20, 0 (Invalid command > operation code)> > RE: USB 3.0 HDD ILLEGAL = REQUEST asc:20, 0 (Invalid command operation > code)thanks!> > any idea = the best way to determine the unit & addr of the device?> > sorry for = the follow-up newbie question, but the usbconfig man page is a bit > = sparse.> > From: Hans Petter Selasky> Sent: Saturday, July 27, 2013 1:37 = AM> To: Janaka Withana ; freebsd-usb@freebsd.org> Subject: RE: USB 3.0 = HDD ILLEGAL REQUEST asc:20, 0 (Invalid command > operation code)> > = usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE--HPS -----Original > = message-----> From:Janaka Withana > Sent: Friday = 26th > July 2013 23:37> To: freebsd-usb@freebsd.org> Subject: Re: USB = 3.0 HDD > ILLEGAL REQUEST asc:20, 0 (Invalid command operation code)> > = Sorry,> > > Seems one of the author suggested a fix.> > > Line to add to = usb_quirk.c:> > > USB_QUIRK_VP(0x13fe, 0x2240, 0x0000, 0xffff, = UQ_MSC_NO_SYNC_CACHE),> > Any > other workarounds you could suggest that = would not require me to > > recompile? I am using nas4free embedded.> > = -----Original Message----- > > From: Janaka Withana> Sent: Friday, July = 26, 2013 5:33 PM> To: > freebsd-usb@freebsd.org> Subject: USB 3.0 HDD = ILLEGAL REQUEST asc:20,0 > (Invalid command operation > code)> > I am = using FreeBSD 9.1 to p4 (Nas4Free > 9.1.0.1.804) and get the following> = repeated errors using a USB 3.0 hard > drive via a USB 3.0 port> > Jul = 26 17:11:26 nas kernel: > (da1:umass-sim1:1:0:0): SYNCHRONIZE> = CACHE(10). CDB: 35 0 0 0 0> 0 0 0 0 0> Jul 26 17:11:26 nas = kernel: (da1:umass-sim1:1:0:0): CAM > status: SCSI> Status Error> Jul 26 = 17:11:26 nas kernel: > (da1:umass-sim1:1:0:0): SCSI status:> = Check Condition> Jul 26 17:11:26 > nas kernel: = (da1:umass-sim1:1:0:0): SCSI sense:> ILLEGAL REQUEST > asc:20,0 (Invalid = command operation code)> Jul 26 17:11:26 nas > kernel: = (da1:umass-sim1:1:0:0): Error 22,> Unretryable error> > Drive is zfs > = formatted and seems to work without losing data. This issues> seems to = keep > popping up:> > = http://lists.freebsd.org/pipermail/freebsd-usb/2013-January/011850.html>;= > = http://lists.freebsd.org/pipermail/freebsd-usb/2012-April/011179.html>; = > > Seems the last author proposed a fixL > > > = _______________________________________________> 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">> = _______________________________________________> 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" > > = _______________________________________________> 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"> From owner-freebsd-usb@FreeBSD.ORG Sun May 25 01:35:00 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 95E4AC6C for ; Sun, 25 May 2014 01:35:00 +0000 (UTC) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 7A9C52F8F for ; Sun, 25 May 2014 01:34:59 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 7F49C3AEBE; Sat, 24 May 2014 18:34:55 -0700 (PDT) From: "Ronald F. Guilmette" To: Hans Petter Selasky Subject: Re: Do _any_ USB 3.0 cards actually work? In-Reply-To: <5380EB10.9030109@selasky.org> Date: Sat, 24 May 2014 18:34:55 -0700 Message-ID: <21851.1400981695@server1.tristatelogic.com> Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2014 01:35:00 -0000 In message <5380EB10.9030109@selasky.org>, Hans Petter Selasky wrote: >On 05/24/14 20:43, Ronald F. Guilmette wrote: >> Does FreeBSD support the "VIA VL800 Chipset" that this add-on card >> is alleged to contain? >> >> Does FreeBSD *ever* work with *any* USB 3.0 equipment? Or is this >> just a far off dream? >What version of FreeBSD are you running. 9.1-RELEASE >Have you tried -stable? No, I have not. I did also try 10.0-RELEASE (LiveCD) and also again got a bunch of errors and the system refused to see the drive.... again. I tried that (10.0-RELEASE) with multiple different motherboard and multiple different USB 3.0 add-in PCIe controller cards. All tests failed, all of the time, with both systems. >Yes, USB 3.0 _works_ with FreeBSD. Please can you be more specific? What host controller chipsets are supported, exactly? Please post the list. And specifically, is the VIA VL800 chipset supported? What controllers and what external USB 3.0 devices have you yourself actually _successfully_ tested, and which version of FreeBSD exactly did you use for those tests? I'm sorry if I seem to be aseking too many detailed questions about this, but I've previously also tried using external USB 3.0 hard drives attached to a totally different system, also running FreeBSD, with a different motherboard *and* a totally different USB 3.0 card in it and that experiment also ended in tears and utter failure. I really would like to know what specific USB 3.0 hardware was properly tested and qualified as working and fully supported *before* 10.0-RELEASE went out the door. Was there any? Or did USB 3.0 support only begin working properly post 10.0-RELEASE? P.S. To be clear, I am interested in finding out if FreeBSD actually has any support for any kind of *rotating* USB 3.0-attached external storage. Right at the moment, I don't really care if USB 3.0 flash sticks work. (Those are quite obviously going to be easier to make work.) P.P.S. Not all of use have the luxury of being able to run -STABLE.