FreeBSD 8.2-PRERELASE doesn't see slice on SDHC card in cardreader -- what should I do?

Lev Serebryakov lev at serebryakov.spb.ru
Mon Dec 20 23:47:32 UTC 2010


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=1953 heads=255 sectors/track=63 (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=1953 heads=255 sectors/track=63 (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?!

-- 
// Black Lion AKA Lev Serebryakov <lev at serebryakov.spb.ru>



More information about the freebsd-geom mailing list