Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2013 07:37:51 +0200
From:      =?utf-8?Q?Hans_Petter_Selasky?= <hans.petter.selasky@bitfrost.no>
To:        =?utf-8?Q?Janaka_Withana?= <jwithana@hotmail.com>,  =?utf-8?Q?freebsd-usb=40freebsd=2Eorg?= <freebsd-usb@freebsd.org>
Subject:   RE: USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command operation code)
Message-ID:  <zarafa.51f35caf.3dea.4ef7125068a74c1d@mail.lockless.no>
In-Reply-To: <BAY174-DS1821CEE31BEA970C616534C96A0@phx.gbl>
References:  <BAY174-DS1821CEE31BEA970C616534C96A0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE=0D=0A=0D=0A--HPS=0D=0A=0D=
=0A=20=0D=0A=20=0D=0A-----Original message-----=0D=0A> From:Janaka Withan=
a <jwithana@hotmail.com <mailto:jwithana@hotmail.com> >=0D=0A> Sent: Frid=
ay 26th July 2013 23:37=0D=0A> To: freebsd-usb@freebsd.org <mailto:freebs=
d-usb@freebsd.org>=20=0D=0A> Subject: Re: USB 3.0 HDD ILLEGAL REQUEST asc=
:20, 0 (Invalid command operation code)=0D=0A>=20=0D=0A> Sorry,=0D=0A>=20=
=0D=0A> Seems one of the author suggested a fix.=0D=0A>=20=0D=0A> > Line =
to add to usb_quirk.c:=0D=0A> > USB_QUIRK_VP(0x13fe, 0x2240, 0x0000, 0xff=
ff, UQ_MSC_NO_SYNC_CACHE),=0D=0A>=20=0D=0A> Any other workarounds you cou=
ld suggest that would not require me to=20=0D=0A> recompile=3F I am using=
 nas4free embedded.=0D=0A>=20=0D=0A> -----Original Message-----=20=0D=0A>=
 From: Janaka Withana=0D=0A> Sent: Friday, July 26, 2013 5:33 PM=0D=0A> T=
o: freebsd-usb@freebsd.org <mailto:freebsd-usb@freebsd.org>=20=0D=0A> Sub=
ject: USB 3.0 HDD ILLEGAL REQUEST asc:20,0 (Invalid command operation=20=0D=
=0A> code)=0D=0A>=20=0D=0A> I am using FreeBSD 9.1 to p4 (Nas4Free 9.1.0.=
1.804) and get the following=0D=0A> repeated errors using a USB 3.0 hard =
drive via a USB 3.0 port=0D=0A>=20=0D=0A> Jul 26 17:11:26     nas     ker=
nel: (da1:umass-sim1:1:0:0): SYNCHRONIZE=0D=0A> CACHE(10). CDB: 35 0 0 0 =
0 0 0 0 0 0=0D=0A> Jul 26 17:11:26     nas     kernel: (da1:umass-sim1:1:=
0:0): CAM status: SCSI=0D=0A> Status Error=0D=0A> Jul 26 17:11:26     nas=
     kernel: (da1:umass-sim1:1:0:0): SCSI status:=0D=0A> Check Condition=0D=
=0A> Jul 26 17:11:26     nas     kernel: (da1:umass-sim1:1:0:0): SCSI sen=
se:=0D=0A> ILLEGAL REQUEST asc:20,0 (Invalid command operation code)=0D=0A=
> Jul 26 17:11:26     nas     kernel: (da1:umass-sim1:1:0:0): Error 22,=0D=
=0A> Unretryable error=0D=0A>=20=0D=0A> Drive is zfs formatted and seems =
to work without losing data. This issues=0D=0A> seems to keep popping up:=
=0D=0A> http://lists.freebsd.org/pipermail/freebsd-usb/2013-January/01185=
0.html <http://lists.freebsd.org/pipermail/freebsd-usb/2013-January/01185=
0.html>=20=0D=0A> http://lists.freebsd.org/pipermail/freebsd-usb/2012-Apr=
il/011179.html <http://lists.freebsd.org/pipermail/freebsd-usb/2012-April=
/011179.html>=20=0D=0A>=20=0D=0A> Seems the last author proposed a fixL=20=
=0D=0A>=20=0D=0A> _______________________________________________=0D=0A> =
freebsd-usb@freebsd.org <mailto:freebsd-usb@freebsd.org>  mailing list=0D=
=0A> http://lists.freebsd.org/mailman/listinfo/freebsd-usb <http://lists.=
freebsd.org/mailman/listinfo/freebsd-usb>=20=0D=0A> To unsubscribe, send =
any mail to "freebsd-usb-unsubscribe@freebsd.org <mailto:freebsd-usb-unsu=
bscribe@freebsd.org> "=0D=0A>=20=0D=0A=0D=0A
From owner-freebsd-usb@FreeBSD.ORG  Sat Jul 27 23:19:31 2013
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 ESMTP id F0982628
 for <freebsd-usb@freebsd.org>; Sat, 27 Jul 2013 23:19:31 +0000 (UTC)
 (envelope-from jwithana@hotmail.com)
Received: from bay0-omc4-s13.bay0.hotmail.com (bay0-omc4-s13.bay0.hotmail.com
 [65.54.190.215]) by mx1.freebsd.org (Postfix) with ESMTP id D51BE28B8
 for <freebsd-usb@freebsd.org>; Sat, 27 Jul 2013 23:19:31 +0000 (UTC)
Received: from BAY174-DS17 ([65.54.190.199]) by bay0-omc4-s13.bay0.hotmail.com
 with Microsoft SMTPSVC(6.0.3790.4675); 
 Sat, 27 Jul 2013 16:18:26 -0700
X-TMN: [L3XCYIs9uUI7RMKuBj928KfJf9ytQWZR]
X-Originating-Email: [jwithana@hotmail.com]
Message-ID: <BAY174-DS17BF32D3CB64270388EC41C96B0@phx.gbl>
From: "Janaka Withana" <jwithana@hotmail.com>
To: "Hans Petter Selasky" <hans.petter.selasky@bitfrost.no>,
 <freebsd-usb@freebsd.org>
References: <BAY174-DS1821CEE31BEA970C616534C96A0@phx.gbl>
 <zarafa.51f35caf.3dea.4ef7125068a74c1d@mail.lockless.no>
In-Reply-To: <zarafa.51f35caf.3dea.4ef7125068a74c1d@mail.lockless.no>
Subject: Re: USB 3.0 HDD ILLEGAL REQUEST asc:20,
 0 (Invalid command operation code)
Date: Sat, 27 Jul 2013 19:18:25 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 16.4.3505.912
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912
X-OriginalArrivalTime: 27 Jul 2013 23:18:26.0073 (UTC)
 FILETIME=[9898F090:01CE8B1F]
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.14
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: Sat, 27 Jul 2013 23:19:32 -0000

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=20
Sent: Saturday, July 27, 2013 1:37 AM
To: Janaka Withana ; freebsd-usb@freebsd.org=20
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"> 
From owner-freebsd-usb@FreeBSD.ORG  Sat Jul 27 23:56:08 2013
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 ESMTP id E97A294D
 for <freebsd-usb@freebsd.org>; Sat, 27 Jul 2013 23:56:07 +0000 (UTC)
 (envelope-from jwithana@hotmail.com)
Received: from bay0-omc4-s2.bay0.hotmail.com (bay0-omc4-s2.bay0.hotmail.com
 [65.54.190.204]) by mx1.freebsd.org (Postfix) with ESMTP id D0813298F
 for <freebsd-usb@freebsd.org>; Sat, 27 Jul 2013 23:56:07 +0000 (UTC)
Received: from BAY174-DS8 ([65.54.190.199]) by bay0-omc4-s2.bay0.hotmail.com
 with Microsoft SMTPSVC(6.0.3790.4675); 
 Sat, 27 Jul 2013 16:55:02 -0700
X-TMN: [Bk/07ELj3h2//J3rsSw2lBn+Xf44TpWg]
X-Originating-Email: [jwithana@hotmail.com]
Message-ID: <BAY174-DS80EC45C55FF2C1BB04717C96B0@phx.gbl>
From: "Janaka Withana" <jwithana@hotmail.com>
To: "Hans Petter Selasky" <hans.petter.selasky@bitfrost.no>,
 <freebsd-usb@freebsd.org>
References: <BAY174-DS1821CEE31BEA970C616534C96A0@phx.gbl>
 <zarafa.51f35caf.3dea.4ef7125068a74c1d@mail.lockless.no>
 <BAY174-DS17BF32D3CB64270388EC41C96B0@phx.gbl>
In-Reply-To: <BAY174-DS17BF32D3CB64270388EC41C96B0@phx.gbl>
Subject: Re: USB 3.0 HDD ILLEGAL REQUEST asc:20,
 0 (Invalid command operation code)
Date: Sat, 27 Jul 2013 19:55:02 -0400
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 16.4.3505.912
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912
X-OriginalArrivalTime: 27 Jul 2013 23:55:02.0542 (UTC)
 FILETIME=[B5CB82E0:01CE8B24]
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.14
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: Sat, 27 Jul 2013 23:56:08 -0000

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" 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?zarafa.51f35caf.3dea.4ef7125068a74c1d>