Re: USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command operation code)

2013-07-27 Thread Janaka Withana
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 jwith...@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, 0x, 0x, 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-unsubscr...@freebsd.org 
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command operation code)

2013-07-27 Thread Janaka Withana

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 jwith...@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, 0x, 0x, 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-unsubscr...@freebsd.org

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org 


___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/180726: XHCI umass support breaks between r248085 and r252560 on 9-STABLE

2013-07-27 Thread Alexandre Kovalenko
The following reply was made to PR usb/180726; it has been noted by GNATS.

From: Alexandre Kovalenko bsd.gai...@gmail.com
To: bug-follo...@freebsd.org,
 bsd.gai...@gmail.com
Cc:  
Subject: Re: usb/180726: XHCI umass support breaks between r248085 and r252560 
on 9-STABLE
Date: Sat, 27 Jul 2013 23:07:04 -0400

 --Apple-Mail=_14A7616C-868E-4938-8FF0-F03573AB44BF
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
charset=utf-8
 
 I can confirm that as of
 
 FreeBSD twinhead 9.2-BETA2 FreeBSD 9.2-BETA2 #13 r253716: Sat Jul 27 =
 18:26:26 EDT 2013
 
 problem is fixed and drives are properly recognized.
 
 Thank you,
 
 
 Alexandre Sunny Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=
 =B4=D1=80 =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE)
 
 
 
 
 
 --Apple-Mail=_14A7616C-868E-4938-8FF0-F03573AB44BF
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/html;
charset=utf-8
 
 htmlheadmeta http-equiv=3DContent-Type content=3Dtext/html =
 charset=3Dutf-8/headbody style=3Dword-wrap: break-word; =
 -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; I can =
 confirm that as ofdivbr/divdivFreeBSD twinhead 9.2-BETA2 FreeBSD =
 9.2-BETA2 #13 r253716: Sat Jul 27 18:26:26 EDT =
 2013/divdivbr/divdivproblem is fixed and drives are properly =
 recognized./divdivbr/divdivThank you,/divbrbrdiv
 span class=3DApple-style-span style=3Dborder-collapse: separate; =
 color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; =
 font-variant: normal; font-weight: normal; letter-spacing: normal; =
 line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
 0px; -webkit-border-horizontal-spacing: 0px; =
 -webkit-border-vertical-spacing: 0px; =
 -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
 auto; -webkit-text-stroke-width: 0px; font-size: medium; span =
 class=3DApple-style-span style=3Dborder-collapse: separate; color: =
 rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: =
 normal; font-weight: normal; letter-spacing: normal; line-height: =
 normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
 text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
 -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
 auto; -webkit-text-stroke-width: 0px; font-size: medium; div =
 style=3Dword-wrap: break-word; -webkit-nbsp-mode: space; =
 -webkit-line-break: after-white-space; divAlexandre Sunny =
 Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80 =
 =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE)/divdivbr/di=
 v/div/spanbr class=3DApple-interchange-newline/spanbr =
 class=3DApple-interchange-newline
 /div
 br/body/html=
 
 --Apple-Mail=_14A7616C-868E-4938-8FF0-F03573AB44BF--
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org