From owner-freebsd-scsi@FreeBSD.ORG Sat Dec 31 13:08:39 2011 Return-Path: Delivered-To: FreeBSD-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF7B2106568A for ; Sat, 31 Dec 2011 13:08:39 +0000 (UTC) (envelope-from poyopoyo@puripuri.plala.or.jp) Received: from msa04b.plala.or.jp (msa04.plala.or.jp [IPv6:2400:7800:0:5010::4]) by mx1.freebsd.org (Postfix) with ESMTP id 4D2778FC08 for ; Sat, 31 Dec 2011 13:08:35 +0000 (UTC) Received: from i219-164-101-120.s02.a026.ap.plala.or.jp ([219.164.101.120]) by msa04b.plala.or.jp with ESMTP id <20111231130834.TPIF10746.msa04b.plala.or.jp@i219-164-101-120.s02.a026.ap.plala.or.jp> for ; Sat, 31 Dec 2011 22:08:34 +0900 Date: Sat, 31 Dec 2011 22:08:34 +0900 Message-ID: <86r4zkx50t.wl%poyopoyo@puripuri.plala.or.jp> From: poyopoyo@puripuri.plala.or.jp To: FreeBSD-scsi@FreeBSD.org 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; Sat, 31 Dec 2011 22:08:34 +0900 Cc: Subject: Garmin Edge705: LUN1 of umass device not recognized X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 13:08:39 -0000 Hi, I found I cannot see my Garmin Edge705 bike computer's storage through USB as before. It has two umass devices in it: the first is internal flash drive and the other is on board SD card slot and I lost the latter now. I managed to narrow down the responsible commit: == Subject: svn commit: r208911 - in head/sys/cam: . scsi From: Matt Jacob Message-Id: <201006081617.o58GHQIE050026@svn.freebsd.org> Date: Tue, 8 Jun 2010 16:17:26 +0000 (UTC) X-SVN-Group: head Author: mjacob Date: Tue Jun 8 16:17:25 2010 New Revision: 208911 URL: http://svn.freebsd.org/changeset/base/208911 Log: Implement the usage of Report Luns as part of SCSI probing for SCP3 or better devices. This can be disabled on a per-device basis using quirks as well. This also handles the case where there is actually no connected LUN 0 (which can definitely be the case for storage arrays). Reviewed by: scsi@ MFC after: 1 month == http://docs.FreeBSD.org/cgi/mid.cgi?201006081617.o58GHQIE050026 This is 19 months old commit so it affects both 10-CURRENT and 9.0-RELEASE. It seems so reasonable for LUN1 device going away when LUN probing code is modified. :) before(r208907): ugen0.5: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:4:0:-1: Attached to scbus4 da0 at umass-sim0 bus 0 scbus4 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 scbus4 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) GEOM: da1: partition 1 does not start on a track boundary. GEOM: da1: partition 1 does not end on a track boundary. after(r208911): ugen0.5: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:4:0:-1: Attached to scbus4 da0 at umass-sim0 bus 0 scbus4 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) Could you tell me what can I do the next? Thanks. -- kuro