From owner-freebsd-usb@FreeBSD.ORG Sun Jan 8 20:25:41 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C1AA10657B5; Sun, 8 Jan 2012 20:25:41 +0000 (UTC) (envelope-from poyopoyo@puripuri.plala.or.jp) Received: from msa04a.plala.or.jp (msa04.plala.or.jp [IPv6:2400:7800:0:5010::4]) by mx1.freebsd.org (Postfix) with ESMTP id C23FC8FC08; Sun, 8 Jan 2012 20:25:40 +0000 (UTC) Received: from i219-167-119-49.s02.a026.ap.plala.or.jp ([219.167.119.49]) by msa04b.plala.or.jp with ESMTP id <20120108201400.ERLP10746.msa04b.plala.or.jp@i219-167-119-49.s02.a026.ap.plala.or.jp>; Mon, 9 Jan 2012 05:14:00 +0900 Date: Mon, 09 Jan 2012 05:14:00 +0900 Message-ID: <86d3aukl4n.wl%poyopoyo@puripuri.plala.or.jp> From: poyopoyo@puripuri.plala.or.jp To: Bartosz Fabianowski 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> Mail-Followup-To: Bartosz Fabianowski , Hans Petter Selasky , freebsd-current@freebsd.org, freebsd-usb@freebsd.org, poyopoyo@puripuri.plala.or.jp User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-2022-JP-2?B?R29qGyQoRCtXGyhC?=) APEL/10.8 Emacs/23.3 (amd64-portbld-freebsd9.9) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-VirusScan: Outbound; msa04b; Mon, 9 Jan 2012 05:14:01 +0900 X-Mailman-Approved-At: Mon, 09 Jan 2012 01:16:10 +0000 Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: umass regression X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2012 20:25:41 -0000 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: at usbus0 umass0: 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: 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: 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