Garmin Edge705: LUN1 of umass device not recognized

poyopoyo at puripuri.plala.or.jp poyopoyo at puripuri.plala.or.jp
Sat Dec 31 13:08:39 UTC 2011


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 <mjacob at FreeBSD.org>
Message-Id: <201006081617.o58GHQIE050026 at 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: <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 = 0x0000
umass0:4:0:-1: Attached to scbus4
da0 at umass-sim0 bus 0 scbus4 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 scbus4 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)
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: <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 = 0x0000
umass0:4:0:-1: Attached to scbus4
da0 at umass-sim0 bus 0 scbus4 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)

Could you tell me what can I do the next? Thanks.

-- 
kuro


More information about the freebsd-scsi mailing list