NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sdmmc / sdhc trouble
I just tried a new kingston technology sd4 card:
(-current/amd64:)
sdhc0 at pci1 dev 0 function 0: Ricoh 5U823 SD/MMC Controller (rev. 0x04)
sdhc0: interrupting at ioapic0 pin 16
sdhc0: SD Host Specification 3.0, rev.5
sdhc0: using DMA transfer
sdmmc0 at sdhc0 slot 0
ld0 at sdmmc0: <SD16G>
ld0: 14756 MB, 7495 cyl, 64 head, 63 sec, 512 bytes/sect x 30220288 sectors
ld0: 4-bit width, bus clock 50.000 MHz
but:
dd if=2012-09-18-wheezy-raspbian.img of=/dev/rld0d
dd: /dev/rld0d: Input/output error
1+0 records in
0+0 records out
0 bytes transferred in 0.001 secs (0 bytes/sec)
ld0d: error writing fsbn 0 (ld0 bn 0; cn 0 tn 0 sn 0)
disklabel:
label: fictitious
d: 30220288 0 unused 0 0 # (Cyl. 0 - 7495*)
e: 30212096 8192 MSDOS # (Cyl. 2*- 7495*)
gnu# mount /dev/ld0e /mnt
gnu# ls /mnt
gnu# df -h /mnt
Filesystem Size Used Avail %Cap Mounted on
/dev/ld0e 14G 32K 14G 0% /mnt
gnu# cd /mnt
gnu# ls
gnu# touch foo
gnu# ls -l
total 0
-rwxr-xr-x 1 root wheel 0 Nov 2 12:51 foo
gnu# echo hello > bar
bar: Input/output error.
gnu# ls -l
gnu# pwd
/mnt
gnu# mount
...
/dev/ld0e on /mnt type msdos (local)
foo disappeared?
ld0e: error writing fsbn 8192 of 8192-8255 (ld0 bn 16384; cn 4 tn 4 sn 4)
ld0e: error reading fsbn 8192 of 8192-8255 (ld0 bn 16384; cn 4 tn 4 sn 4)
ld0e: error reading fsbn 8192 of 8192-8255 (ld0 bn 16384; cn 4 tn 4 sn 4)
ld0e: error reading fsbn 8192 of 8192-8255 (ld0 bn 16384; cn 4 tn 4 sn 4)
ld0e: error reading fsbn 8192 of 8192-8255 (ld0 bn 16384; cn 4 tn 4 sn 4)
ld0e: error reading fsbn 8192 of 8192-8255 (ld0 bn 16384; cn 4 tn 4 sn 4)
How can I use the card?
Cheers,
Patrick
Home |
Main Index |
Thread Index |
Old Index