Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 21:17:27 +0200 (CEST)
From:      Damian Weber <dweber@htwsaar.de>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Kurt Jaeger <lists@opsec.eu>, freebsd-current@freebsd.org
Subject:   Re: umass, Verbatim STORE N GO drive, CAM status 0x50
Message-ID:  <alpine.BSF.2.11.1504012116060.11952@magritte.htwsaar.de>
In-Reply-To: <551C02CB.4000201@selasky.org>
References:  <alpine.BSF.2.11.1503281506040.42072@magritte.htwsaar.de> <5516BC51.6080108@selasky.org> <alpine.BSF.2.11.1504011615500.9508@magritte.htwsaar.de> <551C02CB.4000201@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 1 Apr 2015, Hans Petter Selasky wrote:

> Date: Wed, 1 Apr 2015 16:38:03
> From: Hans Petter Selasky <hps@selasky.org>
> To: Damian Weber <dweber@htwsaar.de>, Kurt Jaeger <lists@opsec.eu>
> Cc: freebsd-current@freebsd.org
> Subject: Re: umass, Verbatim STORE N GO drive, CAM status 0x50
> 
> On 04/01/15 16:27, Damian Weber wrote:
> > 
> > > Try adding some quirks:
> > > 
> > > usbconfig dump_quirk_names | grep MSC
> > > 
> > > --HPS
> > 
> > Dear Hans Petter and Kurt, thank you for your great advice,
> > I successfully attached my Verbatim USB drive
> > 
> > the magic lines are
> > 
> > in ./dev/usb/usbdevs :
> > 
> > +vendor VERBATIM        0x18a5  Verbatim
> > +product VERBATIM STORENGO      0x0243  Verbatim Store N Go
> > 
> > in ./dev/usb/quirk/usb_quirk.c
> > 
> > /* copied from SANDISK, SDCZ2_128 */
> > 
> > +       USB_QUIRK(VERBATIM, STORENGO, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
> > +           UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_IGNORE_RESIDUE,
> > +           UQ_MSC_NO_SYNC_CACHE),
> > 
> > 
> > result:
> > a) can mount it (mount_msdosfs)
> > b) can read/write files (sha1-checksums verified)
> > 
> > two questions remain
> > 
> > 1) can the dmesg error messages be dealt with? ILLEGAL REQUEST asc:20,0
> > 
> > ugen2.2: <Verbatim> at usbus2
> > umass0: <Verbatim STORE N GO, class 0/0, rev 2.10/1.00, addr 2> on usbus2
> > umass0:  SCSI over Bulk-Only; quirks = 0x4080
> > umass0:4:0: Attached to scbus4
> > (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10
> > 00 00
> > (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
> > (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
> > (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid
> > command operation code)
> > (probe0:umass-sim0:0:0:0): Error 22, Unretryable error
> > da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
> > da0: <Verbatim STORE N GO > Removable Direct Access SPC-4 SCSI device
> > da0: 40.000MB/s transfers
> > da0: 14909MB (30535401 512 byte sectors: 255H 63S/T 1900C)
> > da0: quirks=0x2<NO_6_BYTE>
> > 
> > 2) is it possible to modify usb_quirk.c without
> >     going through the whole make-kernel dance?
> > 
> 
> Hi,
> 
> If usb_quirk is built like a module you only rebuild that and load.
> 
> Can you put this quirk and patch in a PR and assign to me and I'll get it in!
> 
> --HPS
> 

PR filed as Bug 199101 has been added to the database

    Email sent to:
        freebsd-usb@FreeBSD.org 





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