usb/114682: USB media-card reader unusable

Mikhail Teterin mi+kde at aldan.algebra.com
Mon Sep 10 22:40:10 PDT 2007


The following reply was made to PR usb/114682; it has been noted by GNATS.

From: Mikhail Teterin <mi+kde at aldan.algebra.com>
To: "M. Warner Losh" <imp at bsdimp.com>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: usb/114682: USB media-card reader unusable
Date: Tue, 11 Sep 2007 01:12:24 -0400

 On =D3=C5=D2=C5=C4=C1 18 =CC=C9=D0=C5=CE=D8 2007, M. Warner Losh wrote:
 =3D Hmmm, I'm going to have to write something up here...
 
 Any updates on this?
 
 Right now I'm trying to read from an SD-card. The reader's multiple slots a=
 re=20
 all seen as /dev/daX
 
 All of these slots are empty except for the SD-slot, which is /dev/da2.
 
 If I do `fdisk da2', I see the large partition:
 
 	******* Working on device /dev/da2 *******
 	parameters extracted from in-core disklabel are:
 	cylinders=3D247 heads=3D255 sectors/track=3D63 (16065 blks/cyl)
 
 	parameters to be used for BIOS calculations are:
 	cylinders=3D247 heads=3D255 sectors/track=3D63 (16065 blks/cyl)
 
 	Media sector size is 512
 	Warning: BIOS sector numbering starts with sector 1
 	Information from DOS bootblock is:
 	The data for partition 1 is:
 	sysid 6 (0x06),(Primary 'big' DOS (>=3D 32MB))
 	    start 249, size 3967239 (1937 Meg), flag 0
 	        beg: cyl 0/ head 3/ sector 61;
 	        end: cyl 983/ head 63/ sector 63
 	The data for partition 2 is:
 	<UNUSED>
 	The data for partition 3 is:
 	<UNUSED>
 	The data for partition 4 is:
 	<UNUSED>
 
 Unfortunately, `mount -t msdosfs /dev/da2s1' fails, because /dev/da2s1 does=
 =20
 not exist:
 
 	ls -l /dev/da2*
 	crw-r-----  1 root  operator    0, 106 Aug 26 10:37 /dev/da2
 
 At least, the mtools-port works (249x512=3D127488):
 
 	drive n: file=3D"/dev/da2" offset=3D127488
 	mtools_skip_check=3D1
 
 Maybe, because it is non-FreeBSD software :-(
 
 	-mi


More information about the freebsd-usb mailing list