Date: Mon, 18 Jun 2007 20:03:22 GMT From: Bernard Steiner <fbsd-send-pr@anydomain.de> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/113837: unable to access 1024 sector size storage Message-ID: <200706182003.l5IK3MD5044830@www.freebsd.org> Resent-Message-ID: <200706182010.l5IKA39Z063473@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113837 >Category: kern >Synopsis: unable to access 1024 sector size storage >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 18 20:10:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Bernard Steiner >Release: 6.2-STABLE >Organization: n/a >Environment: FreeBSD grimma 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Jun 10 15:45:01 CEST 2007 root@grimma:/mnt/usr2/obj/mnt/usr2/src/sys/GRIMMA i386 >Description: kernel refuses to handle 2GB secure digital cards correctly. 2GB (transcend 150x, fwiw) inserted into SD slot in 4-slot card reader; attaching card reader yields: umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 3 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <SMSC 223 U HS-CF 1.95> Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: <SMSC 223 U HS-MS 1.95> Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: <SMSC 223 U HS-SM 1.95> Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 3 da3: <SMSC 223 U HS-SD/MMC 1.95> Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: 1962MB (2009600 1024 byte sectors: 255H 63S/T 125C) Note that card is detected correctly as da3 (and also da3s1 pops up in /dev). Trying to access da3s1 (mount_msdosfs) yields: g_vfs_done():da3s1[READ(offset=512, length=4096)]error = 22 Also fdisk seems to go through something similar: # fdisk da3 fdisk: could not detect sector size # fdisk-linux -b 1024 /dev/da3 Unable to read /dev/da3 The card works fine in the same card reader under WinME (sorry...) and also works fine in the DigiMate II-plus for copying its contents to external storage and also works fine in two digital cameras (and, yes, as 2GB). >How-To-Repeat: Plug in said 2GB SD card and try to access it >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706182003.l5IK3MD5044830>