USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command operation code)
Hans Petter Selasky
hans.petter.selasky at bitfrost.no
Sun Jul 28 08:47:17 UTC 2013
Running:
usbconfig
Will list all devices.
You need to re-plug the device after applying the quirk.
--HPS
-----Original message-----
> From:Janaka Withana <jwithana at hotmail.com <mailto:jwithana at hotmail.com> >
> Sent: Sunday 28th July 2013 1:56
> To: Hans Petter Selasky <hans.petter.selasky at bitfrost.no <mailto:hans.petter.selasky at bitfrost.no> >; freebsd-usb at freebsd.org <mailto:freebsd-usb at 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 at freebsd.org <mailto:freebsd-usb at 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 at freebsd.org <mailto:freebsd-usb at 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 at hotmail.com <mailto:jwithana at hotmail.com> >> Sent: Friday 26th
> July 2013 23:37> To: freebsd-usb at freebsd.org <mailto:freebsd-usb at 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 at freebsd.org <mailto:freebsd-usb at 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:>
> " target="_blank">http://lists.freebsd.org/pipermail/freebsd-usb/2013-January/011850.html> <http://lists.freebsd.org/pipermail/freebsd-usb/2013-January/011850.html> ;
> " target="_blank">http://lists.freebsd.org/pipermail/freebsd-usb/2012-April/011179.html> <http://lists.freebsd.org/pipermail/freebsd-usb/2012-April/011179.html> ; >
> Seems the last author proposed a fixL > >
> _______________________________________________> freebsd-usb at freebsd.org <mailto:freebsd-usb at freebsd.org>
> mailing list> " target="_blank">http://lists.freebsd.org/mailman/listinfo/freebsd-usb> <http://lists.freebsd.org/mailman/listinfo/freebsd-usb> ; To
> unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org <mailto:freebsd-usb-unsubscribe at freebsd.org> ">
> _______________________________________________
> freebsd-usb at freebsd.org <mailto:freebsd-usb at freebsd.org> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org <mailto:freebsd-usb-unsubscribe at freebsd.org> "
>
> _______________________________________________
> freebsd-usb at freebsd.org <mailto:freebsd-usb at freebsd.org> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org <mailto:freebsd-usb-unsubscribe at freebsd.org> "
>
More information about the freebsd-usb
mailing list