Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jan 2012 05:14:00 +0900
From:      poyopoyo@puripuri.plala.or.jp
To:        Bartosz Fabianowski <freebsd@chillt.de>
Cc:        freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky <hselasky@c2i.net>
Subject:   Re: umass regression
Message-ID:  <86d3aukl4n.wl%poyopoyo@puripuri.plala.or.jp>
In-Reply-To: <4F09E951.4080703@chillt.de>
References:  <4EF9D06C.9060501@chillt.de> <201201031726.03885.hselasky@c2i.net> <4F03317D.6080702@chillt.de> <201201031815.32624.hselasky@c2i.net> <86r4zagqyv.wl%sf@FreeBSD.org> <4F09BD0E.5090606@chillt.de> <4F09CA6E.5090802@chillt.de> <4F09E951.4080703@chillt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sun, 08 Jan 2012 21:06:57 +0200,
Bartosz Fabianowski wrote:
> 
> Replying to myself one last time, the kind of quirk I was thinking of 
> actually does exist already. It is called CAM_QUIRK_NORPTLUNS. Enabling 
> this quirk fixes the issue for me - both LUNs are detected and two umass 
> devices appear.
> 
> I submitted a patch in the following PR:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=163932

Hi,
I now aware of why my da1 did not appear once I tried this quirk
the other day; I set it FIXED device. It should be REMOVABLE device
as yours.

ugen0.5: <vendor 0x091e> at usbus0
umass0: <vendor 0x091e product 0x2271, class 0/0, rev 1.10/5.09, addr 5> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:10:0:-1: Attached to scbus10
da0 at umass-sim0 bus 0 scbus10 target 0 lun 0
da0: <Garmin Edge 705 Flash 1.00> Removable Direct Access SCSI-5 device
da0: 1.000MB/s transfers
da0: 976MB (1998848 512 byte sectors: 64H 32S/T 976C)
da1 at umass-sim0 bus 0 scbus10 target 0 lun 1
da1: <Garmin Edge 705 SD Card 1.00> Removable Direct Access SCSI-5 device
da1: 1.000MB/s transfers
da1: 1910MB (3911680 512 byte sectors: 255H 63S/T 243C)

> Thanks for the pointers and discussion that led to this solution.

Thank you very much. Great analysis.

-- 
kuro



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d3aukl4n.wl%poyopoyo>