Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2014 20:17:47 -0400
From:      "Janaka Withana" <jwithana@hotmail.com>
To:        "Hans Petter Selasky" <hans.petter.selasky@bitfrost.no>, <freebsd-usb@freebsd.org>
Subject:   Re: USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command operation code)
Message-ID:  <BAY174-DS6DAF9E1D204D457B1B6A0C9380@phx.gbl>
In-Reply-To: <zarafa.51f4da97.6a66.4a121951128a3613@mail.lockless.no>
References:  <BAY174-DS1821CEE31BEA970C616534C96A0@phx.gbl> <zarafa.51f4da97.6a66.4a121951128a3613@mail.lockless.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jwithana@hotmail.com>> Sent: Sunday 28th July 2013 1:56> To: =
Hans Petter Selasky <hans.petter.selasky@bitfrost.no>; =
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 <jwithana@hotmail.com>> 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: <owner-freebsd-usb@FreeBSD.ORG>
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 <freebsd-usb@freebsd.org>; 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 <freebsd-usb@freebsd.org>; 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" <rfg@tristatelogic.com>
To: Hans Petter Selasky <hps@selasky.org>
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 <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>;
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 01:35:00 -0000


In message <5380EB10.9030109@selasky.org>, 
Hans Petter Selasky <hps@selasky.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY174-DS6DAF9E1D204D457B1B6A0C9380>