Reply by Virupax SS May 7, 20092009-05-07
Hi

I am using MTFC2GDKDM eMMC card on At91sam9260 board running linux 2.6.22
kernel.

I am continuosly getting below debug output and the mount commad hangs on
trying to mount the mmc card

##cat /proc/partitions
179 0 2008064 mmcblk0
##dmesg -c

MCI irq: status = 0000C0E5, C07F0020, 00000020
Card is ready
Completed command
Status = 0000C0E5 [00000B00 00000000 00000000 00000000]
mmc0: req done (CMD18): 0/0/0: 00000900 00000000 00000000 00000000
mmc0: starting CMD18 arg 00000000 flags 00000035
Sending command 18 as 000D1052, arg = 00000000, blocks = 8, length = 512
(MR = 02009B02)
pre dma read
Using transfer index 0
sg = c3daf9a0
dma address = 23DD3000, length = 4096
Nothing left to transfer (index = 1)
pre dma read done
MCI irq: status = 004080A5, C07F0040, 00400000
MMC: Data timeout
Completed command
Status = 000080A5 [00000900 00000000 00000000 00000000]
Sending command 12 as 0002104C, arg = 00000000, blocks = 0, length = 0 (MR
= 02009B02)
MCI irq: status = 0000C0ED, C07F0001, 00000001
Command ready
MCI irq: status = 0000C0E5, C07F0020, 00000020
Card is ready
Completed command
Status = 0000C0E5 [00000B00 00000000 00000000 00000000]
mmc0: req done (CMD18): 0/0/0: 00000900 00000000 00000000 00000000
mmc0: starting CMD18 arg 00000000 flags 00000035
Sending command 18 as 000D1052, arg = 00000000, blocks = 8, length = 512
(MR = 02009B02)
pre dma read
Using transfer index 0
sg = c3daf9a0
dma address = 23DD3000, length = 4096
Nothing left to transfer (index = 1)
pre dma read done
MCI irq: status = 004080A5, C07F0040, 00400000
MMC: Data timeout
Completed command
Status = 000080A5 [00000900 00000000 00000000 00000000]
Sending command 12 as 0002104C, arg = 00000000, blocks = 0, length = 0 (MR
= 02009B02)
MCI irq: status = 0000C0ED, C07F0001, 00000001
Command ready
MCI irq: status = 0000C0E5, C07F0020, 00000020
Card is ready
Completed command
Status = 0000C0E5 [00000B00 00000000 00000000 00000000]
mmc0: req done (CMD18): 0/0/0: 00000900 00000000 00000000 00000000
mmc0: starting CMD18 arg 00000000 flags 00000035
Sending command 18 as 000D1052, arg = 00000000, blocks = 8, length = 512
(MR = 02009B02)
pre dma read
Using transfer index 0
sg = c3daf9a0
dma address = 23DD3000, length = 4096
Nothing left to transfer (index = 1)
pre dma read done
MCI irq: status = 004080A5, C07F0040, 00400000
MMC: Data timeout
Completed command
Status = 000080A5 [00000900 00000000 00000000 00000000]
Sending command 12 as 0002104C, arg = 00000000, blocks = 0, length = 0 (MR
= 02009B02)
MCI irq: status = 0000C0ED, C07F0001, 00000001
Command ready
MCI irq: status = 0000C0E5, C07F0020, 00000020
Card is ready
Completed command
Status = 0000C0E5 [00000B00 00000000 00000000 00000000]
mmc0: req done (CMD18): 0/0/0: 00000900 00000000 00000000 00000000
mmc0: starting CMD18 arg 00000000 flags 00000035
Sending command 18 as 000D1052, arg = 00000000, blocks = 8, length = 512
(MR = 02009B02)
pre dma read
Using transfer index 0
sg = c3daf9a0
dma address = 23DD3000, length = 4096
Nothing left to transfer (index = 1)
pre dma read done
MCI irq: status = 004080A5, C07F0040, 00400000
MMC: Data timeout
Completed command
Status = 000080A5 [00000900 00000000 00000000 00000000]
Sending command 12 as 0002104C, arg = 00000000, blocks = 0, length = 0 (MR
= 02009B02)
MCI irq: status = 0000C0ED, C07F0001, 00000001
Command ready
MCI irq: status = 0000C0E5, C07F0020, 00000020
Card is ready
Completed command
Status = 0000C0E5 [00000B00 00000000 00000000 00000000]
mmc0: req done (CMD18): 0/0/0: 00000900 00000000 00000000 00000000
mmc0: starting CMD18 arg 00000000 flags 00000035
Sending command 18 as 000D1052, arg = 00000000, blocks = 8, length = 512
(MR = 02009B02)
pre dma read
Using transfer index 0
sg = c3daf9a0
dma address = 23DD3000, length = 4096
Nothing left to transfer (index = 1)
pre dma read done

does some ones any solution for this problem ??
Thanks
Virupax