From owner-freebsd-current@FreeBSD.ORG Wed Apr 1 14:27:14 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99490996 for ; Wed, 1 Apr 2015 14:27:14 +0000 (UTC) Received: from triton.rz.uni-saarland.de (triton.rz.uni-saarland.de [134.96.7.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1BC373EA for ; Wed, 1 Apr 2015 14:27:13 +0000 (UTC) Received: from itz-mail.htw-saarland.de (itz-mail.htw-saarland.de [134.96.210.141]) by triton.rz.uni-saarland.de (8.14.9/8.14.0) with ESMTP id t31ERACr023862; Wed, 1 Apr 2015 16:27:11 +0200 X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.6 at HIZ-Mailrelay triton.rz.uni-saarland.de Received: from magritte.htw-saarland.de (magritte.htw-saarland.de [134.96.214.195]) by itz-mail.htw-saarland.de (8.14.5/8.14.5) with ESMTP id t31ERAIH011721; Wed, 1 Apr 2015 16:27:10 +0200 (CEST) Date: Wed, 1 Apr 2015 16:27:05 +0200 (CEST) From: Damian Weber To: Hans Petter Selasky , Kurt Jaeger Subject: Re: umass, Verbatim STORE N GO drive, CAM status 0x50 In-Reply-To: <5516BC51.6080108@selasky.org> Message-ID: References: <5516BC51.6080108@selasky.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: clamav-milter 0.97.3 at itz-mail X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (triton.rz.uni-saarland.de [134.96.7.25]); Wed, 01 Apr 2015 16:27:11 +0200 (CEST) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 14:27:14 -0000 > 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: at usbus2 umass0: 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: 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 2) is it possible to modify usb_quirk.c without going through the whole make-kernel dance? Best wishes Damian