Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2010 02:47:23 +0300
From:      Lev Serebryakov <lev@serebryakov.spb.ru>
To:        freebsd-usb@FreeBSD.org, freebsd-geom@FreeBSD.org
Subject:   FreeBSD 8.2-PRERELASE doesn't see slice on SDHC card in cardreader -- what should I do?
Message-ID:  <159888671.20101221024723@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
Hello, Freebsd-usb.

  FreeBSD   8.2-PRERELEASE/amd64,  4-slots  USB  cardreader,  properly
  detected as da0 .. da3. SD/SDHC slot is da0:

blob# camcontrol devlist
<SAMSUNG HD321KJ CP100-10>         at scbus0 target 0 lun 0 (ada0,pass0)
<WDC WD5000AAKS-00YGA0 12.01C02>   at scbus1 target 0 lun 0 (ada1,pass1)
<WDC WD5000AAKS-00A7B2 01.03B01>   at scbus2 target 0 lun 0 (ada2,pass2)
<WDC WD5000AAKS-00YGA0 12.01C02>   at scbus3 target 0 lun 0 (ada3,pass3)
<WDC WD5000AAKS-00YGA0 12.01C02>   at scbus4 target 0 lun 0 (ada4,pass4)
<WDC WD5000AAKS-00YGA0 12.01C02>   at scbus5 target 0 lun 0 (ada5,pass5)
<Generic USB SD Reader 1.00>       at scbus6 target 0 lun 0 (pass6,da0)
<Generic USB CF Reader 1.01>       at scbus6 target 0 lun 1 (pass7,da1)
<Generic USB SM Reader 1.02>       at scbus6 target 0 lun 2 (pass8,da2)
<Generic USB MS Reader 1.03>       at scbus6 target 0 lun 3 (pass9,da3)
blob#

  I  inserted 16Gb SDHC card, with one FAT32 slice (it is card from my
 PDA). After that I've tried:

blob# camcontrol rescan 6
Re-scan of bus 6 was successful
blob# camcontrol inquiry da0
pass6: <Generic USB SD Reader 1.00> Removable Direct Access SCSI-0 device
pass6: Serial Number 058F312D81B
pass6: 40.000MB/s transfers
blob# camcontrol start da0
Unit started successfully
blob# camcontrol load da0
Unit started successfully, Media loaded
blob# ls /dev/da0*
/dev/da0

  So,  system  doesn't  seen  /dev/da0s1 and I can not mount card! But
  card can be read for sure, because fdisk shows PROPER MBR:

blob# fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=3D1953 heads=3D255 sectors/track=3D63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3D1953 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 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
    start 8192, size 31380480 (15322 Meg), flag 0
        beg: cyl 0/ head 130/ sector 3;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
blob#

  What should I do to mount this card?!

--=20
// Black Lion AKA Lev Serebryakov <lev@serebryakov.spb.ru>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?159888671.20101221024723>