Hi,
I am working on TMS320DM355 based custom board with linux-2.6.10 MVL401 kernel.
I am able to get the entry for MMC in /proc/devices and also got a node in /dev directory with the name mmcblk0 n mmcblk0p1.The problem i am facing is that When I try to mount the MMC card i am geting the following error.
# mount /dev/mmcblk0 /mnt/mmc/
FAT: invalid media value (0x00)
VFS: Can't find a valid FAT filesystem on dev mmcblk0.
FAT: invalid media value (0x00)
VFS: Can't find a valid FAT filesystem on dev mmcblk0.
yaffs: dev is 266338304 name is "mmcblk0"
yaffs: Attempting MTD mount on 254.0, "mmcblk0"
yaffs: dev is 266338304 name is "mmcblk0"
yaffs: Attempting MTD mount on 254.0, "mmcblk0"
mount: you must specify the filesystem type
When i try to mount /dev/mmcblk0p1 (# mount /dev/mmcblk0p1 /mnt/mmc/ ) its mounting but if i try to write or read from mmc i am getting the following error.
FAT: Filesystem panic (dev mmcblk0p1)
fat_free: deleting beyond EOF (i_pos 131073)
File system has been set read-only
mmcblk0: error 2 transferring data
end_request: I/O error, dev mmcblk0, sector 8255
Buffer I/O error on device mmcblk0p1, logical block 8192
lost page write due to I/O error on mmcblk0p1
mmcblk0: error 2 transferring data
end_request: I/O error, dev mmcblk0, sector 4491
Buffer I/O error on device mmcblk0p1, logical block 4428
lost page write due to I/O error on mmcblk0p1
mmcblk0: error 2 transferring data
end_request: I/O error, dev mmcblk0, sector 727
Buffer I/O error on device mmcblk0p1, logical block 664
lost page write due to I/O error on mmcblk0p1
Anybody can suggest me what i am missing and what i should do.
Thanks