搜索

[i.MX] mmcblk1: error -84 transferring data

[复制链接]
10016|19
 楼主 | 2014-11-28 15:19 | 显示全部楼层 |阅读模式
板子是mx6q的,系统是android4.3,android启动之后会自动挂载sd card,但是会出现错误:
mmcblk1: error -84 transferring data, sector 135, nr 1, cmd response 0x900, card status 0x0
end_request: I/O error, dev mmcblk1, sector 135
Buffer I/O error on device mmcblk1p1, logical block 4
lost page write due to I/O error on mmcblk1p1
mmcblk1: timed out sending r/w cmd command, card status 0x400d00
FAT-fs (mmcblk1p1): error, fat_free_clusters: deleting FAT entry beyond EOF
FAT-fs (mmcblk1p1): Filesystem has been set read-only

使用的配置是:
        .cd_gpio = SABRESD_SD2_CD,
        .keep_power_at_suspend = 1,
        .support_8bit = 0,
        .delay_line = 0,
        .cd_type = ESDHC_CD_CONTROLLER,
        .runtime_pm = 1,
50M的clock
已经确认sdcard是ok的
| 2014-11-28 17:16 | 显示全部楼层
楼主你好,请问你这里使用的是哪块板子?你这里是从SD卡启动吗?u-boot中的启动参数是如何设置的?

使用特权

评论回复
 楼主 | 2014-11-29 15:11 | 显示全部楼层
使用的是imx6q_sabresd
不是从sd卡启动 只是挂载sd卡

使用特权

评论回复
| 2014-12-1 14:49 | 显示全部楼层
ling1874 发表于 2014-11-29 15:11
使用的是imx6q_sabresd
不是从sd卡启动 只是挂载sd卡

楼主你好,从你给的信息里能看出,是在挂载SD卡时无法mmc的block。请问你这里使用的是 SDHC 卡吗?还是microSD card?

使用特权

评论回复
 楼主 | 2014-12-2 10:36 | 显示全部楼层
FSL_TICS_Rita 发表于 2014-12-1 14:49
楼主你好,从你给的信息里能看出,是在挂载SD卡时无法mmc的block。请问你这里使用的是 SDHC 卡吗?还是mi ...

我挂载的是microSD card,现在蛮奇怪的 手动挂载可以挂载上 但是不能有删除动作  否则就报上面的错误 但是可以向sd card复制东西  是不是50M频率过高的?

使用特权

评论回复
| 2015-10-17 09:45 | 显示全部楼层
同样的问题,你用的是高速卡吗??应该低速卡不会出现这种问题,应该是驱动哪里的设置,请问您现在解决了吗?

使用特权

评论回复
| 2015-10-19 10:39 | 显示全部楼层
没遇到过,关注一下......

使用特权

评论回复
| 2015-10-20 17:08 | 显示全部楼层
有没有大神指导一下呢,我sd卡可以识别,但是一挂载就出错。。
  1. / # hdparm -tT /dev/mmcblk0

  2. /dev/mmcblk0:
  3. mmcblk0: error -84 transferring data, sector 0, nr 512, cmd response 0x900, card status 0xb00
  4. mmcblk0: retrying using single block read
  5. Timing buffer-cache reads:   328 MB in 0.51 seconds = 654735 kB/s
  6. Timing buffered disk reads:mmcblk0: error -84 transferring data, sector 16384, nr 512, cmd response 0x900, card status 0xb00
  7. mmcblk0: retrying using single block read
  8. mmcblk0: error -84 transferring data, sector 16457, nr 439, cmd response 0x900, card status 0x0
  9. end_request: I/O error, dev mmcblk0, sector 16457
  10. mmcblk0: error -84 transferring data, sector 16458, nr 438, cmd response 0x900, card status 0x0
  11. end_request: I/O error, dev mmcblk0, sector 16458
  12. Buffer I/O error on device mmcblk0, logical block 2057
  13. mmcblk0: error -84 transferring data, sector 16477, nr 419, cmd response 0x900, card status 0x0
  14. end_request: I/O error, dev mmcblk0, sector 16477
  15. Buffer I/O error on device mmcblk0, logical block 2059
  16. mmcblk0: error -84 transferring data, sector 16480, nr 416, cmd response 0x900, card status 0x0
  17. end_request: I/O error, dev mmcblk0, sector 16480
  18. mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
  19. mmcblk0: error -84 transferring data, sector 16485, nr 411, cmd response 0x900, card status 0x0
  20. end_request: I/O error, dev mmcblk0, sector 16485
  21. mmcblk0: error -84 transferring data, sector 16486, nr 410, cmd response 0x900, card status 0x0
  22. end_request: I/O error, dev mmcblk0, sector 16486
  23. Buffer I/O error on device mmcblk0, logical block 2060
  24. mmcblk0: error -84 transferring data, sector 16502, nr 394, cmd response 0x900, card status 0x0
  25. end_request: I/O error, dev mmcblk0, sector 16502
  26. Buffer I/O error on device mmcblk0, logical block 2062
  27. mmcblk0: error -84 transferring data, sector 16505, nr 391, cmd response 0x900, card status 0x0
  28. end_request: I/O error, dev mmcblk0, sector 16505
  29. Buffer I/O error on device mmcblk0, logical block 2063
  30. mmcblk0: error -84 transferring data, sector 16695, nr 201, cmd response 0x900, card status 0x0
  31. end_request: I/O error, dev mmcblk0, sector 16695
  32. Buffer I/O error on device mmcblk0, logical block 2086
  33. mmcblk0: error -84 transferring data, sector 16715, nr 181, cmd response 0x900, card status 0x0
  34. end_request: I/O error, dev mmcblk0, sector 16715
  35. Buffer I/O error on device mmcblk0, logical block 2089
  36. mmcblk0: error -84 transferring data, sector 16748, nr 148, cmd response 0x900, card status 0x0
  37. end_request: I/O error, dev mmcblk0, sector 16748
  38. Buffer I/O error on device mmcblk0, logical block 2093
  39. mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
  40. mmcblk0: error -84 transferring data, sector 16758, nr 138, cmd response 0x900, card status 0x0
  41. end_request: I/O error, dev mmcblk0, sector 16758
  42. Buffer I/O error on device mmcblk0, logical block 2094
  43. mmcblk0: error -84 transferring data, sector 16789, nr 107, cmd response 0x900, card status 0x0
  44. end_request: I/O error, dev mmcblk0, sector 16789
  45. Buffer I/O error on device mmcblk0, logical block 2098
  46. mmcblk0: error -84 transferring data, sector 16824, nr 72, cmd response 0x900, card status 0x0
  47. end_request: I/O error, dev mmcblk0, sector 16824
  48. mmcblk0: error -84 transferring data, sector 16827, nr 69, cmd response 0x900, card status 0x0
  49. end_request: I/O error, dev mmcblk0, sector 16827
  50. mmcblk0: error -84 transferring data, sector 16862, nr 34, cmd response 0x900, card status 0x0
  51. end_request: I/O error, dev mmcblk0, sector 16862
  52. mmcblk0: error -84 transferring data, sector 16883, nr 13, cmd response 0x900, card status 0x0
  53. end_request: I/O error, dev mmcblk0, sector 16883
  54. mmcblk0: error -84 transferring data, sector 16472, nr 8, cmd response 0x900, card status 0xb00
  55. mmcblk0: retrying using single block read
  56. mmcblk0: error -84 transferring data, sector 16496, nr 8, cmd response 0x900, card status 0xb00
  57. mmcblk0: retrying using single block read
  58. mmcblk0: error -84 transferring data, sector 16896, nr 256, cmd response 0x900, card status 0xb00
  59. mmcblk0: retrying using single block read
  60. mmcblk0: error -84 transferring data, sector 16913, nr 239, cmd response 0x900, card status 0x0
  61. end_request: I/O error, dev mmcblk0, sector 16913
  62. mmcblk0: error -84 transferring data, sector 16961, nr 191, cmd response 0x900, card status 0x0
  63. end_request: I/O error, dev mmcblk0, sector 16961
  64. mmcblk0: error -84 transferring data, sector 16970, nr 182, cmd response 0x900, card status 0x0
  65. end_request: I/O error, dev mmcblk0, sector 16970
  66. mmcblk0: error -84 transferring data, sector 16987, nr 165, cmd response 0x900, card status 0x0
  67. end_request: I/O error, dev mmcblk0, sector 16987
  68. mmcblk0: error -84 transferring data, sector 17013, nr 139, cmd response 0x900, card status 0x0
  69. end_request: I/O error, dev mmcblk0, sector 17013
  70. mmcblk0: error -84 transferring data, sector 17052, nr 100, cmd response 0x900, card status 0x0
  71. end_request: I/O error, dev mmcblk0, sector 17052
  72. mmcblk0: error -84 transferring data, sector 17065, nr 87, cmd response 0x900, card status 0x0
  73. end_request: I/O error, dev mmcblk0, sector 17065
  74. mmcblk0: error -84 transferring data, sector 17073, nr 79, cmd response 0x900, card status 0x0
  75. end_request: I/O error, dev mmcblk0, sector 17073
  76. mmcblk0: error -84 transferring data, sector 17088, nr 64, cmd response 0x900, card status 0x0
  77. end_request: I/O error, dev mmcblk0, sector 17088
  78. mmcblk0: error -84 transferring data, sector 16712, nr 8, cmd response 0x900, card status 0xb00
  79. mmcblk0: retrying using single block read
  80. mmcblk0: error -84 transferring data, sector 16784, nr 8, cmd response 0x900, card status 0xb00
  81. mmcblk0: retrying using single block read
  82. mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
  83. mmcblk0: error -84 transferring data, sector 16787, nr 5, cmd response 0x900, card status 0x0
  84. end_request: I/O error, dev mmcblk0, sector 16787
  85. mmcblk0: error -84 transferring data, sector 16791, nr 1, cmd response 0x900, card status 0x0
  86. end_request: I/O error, dev mmcblk0, sector 16791
  87. mmcblk0: error -84 transferring data, sector 16784, nr 8, cmd response 0x900, card status 0xb00
  88. mmcblk0: retrying using single block read
  89. mmcblk0: error -84 transferring data, sector 17152, nr 64, cmd response 0x900, card status 0xb00
  90. mmcblk0: retrying using single block read
  91. mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
  92. mmcblk0: error -84 transferring data, sector 17174, nr 42, cmd response 0x900, card status 0x0
  93. end_request: I/O error, dev mmcblk0, sector 17174
  94. mmcblk0: error -84 transferring data, sector 17187, nr 29, cmd response 0x900, card status 0x0
  95. end_request: I/O error, dev mmcblk0, sector 17187
  96. mmcblk0: error -84 transferring data, sector 16960, nr 8, cmd response 0x900, card status 0xb00
  97. mmcblk0: retrying using single block read
  98. mmcblk0: error -84 transferring data, sector 16968, nr 8, cmd response 0x900, card status 0xb00
  99. mmcblk0: retrying using single block read
  100. mmcblk0: error -84 transferring data, sector 16968, nr 8, cmd response 0x900, card status 0x0
  101. end_request: I/O error, dev mmcblk0, sector 16968
  102. mmcblk0: error -84 transferring data, sector 16984, nr 8, cmd response 0x900, card status 0xb00
  103. mmcblk0: retrying using single block read
  104. mmcblk0: error -84 transferring data, sector 17064, nr 8, cmd response 0x900, card status 0xb00
  105. mmcblk0: retrying using single block read
  106. mmcblk0: error -84 transferring data, sector 17072, nr 8, cmd response 0x900, card status 0xb00
  107. mmcblk0: retrying using single block read
  108. mmcblk0: error -84 transferring data, sector 17168, nr 8, cmd response 0x900, card status 0xb00
  109. mmcblk0: retrying using single block read
  110. mmcblk0: error -84 transferring data, sector 17216, nr 16, cmd response 0x900, card status 0xb00
  111. mmcblk0: retrying using single block read
  112. mmcblk0: error -84 transferring data, sector 17232, nr 32, cmd response 0x900, card status 0xb00
  113. mmcblk0: retrying using single block read
  114. mmcblk0: error -84 transferring data, sector 17264, nr 32, cmd response 0x900, card status 0xb00
  115. mmcblk0: retrying using single block read
  116. mmcblk0: error -84 transferring data, sector 17296, nr 32, cmd response 0x900, card status 0xb00
  117. mmcblk0: retrying using single block read
  118. mmcblk0: error -84 transferring data, sector 17328, nr 32, cmd response 0x900, card status 0xb00
  119. mmcblk0: retrying using single block read
  120. mmcblk0: error -84 transferring data, sector 17360, nr 32, cmd response 0x900, card status 0xb00
  121. mmcblk0: retrying using single block read
  122. mmcblk0: error -84 transferring data, sector 17392, nr 32, cmd response 0x900, card status 0xb00
  123. mmcblk0: retrying using single block read
  124. mmcblk0: error -84 transferring data, sector 17419, nr 5, cmd response 0x900, card status 0x0
  125. end_request: I/O error, dev mmcblk0, sector 17419
  126. mmcblk0: error -84 transferring data, sector 17416, nr 24, cmd response 0x900, card status 0xb00
  127. mmcblk0: retrying using single block read
  128. mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
  129. mmcblk0: error -84 transferring data, sector 17421, nr 19, cmd response 0x900, card status 0x0
  130. end_request: I/O error, dev mmcblk0, sector 17421
  131. mmcblk0: error -84 transferring data, sector 17440, nr 8, cmd response 0x900, card status 0xb00
  132. mmcblk0: retrying using single block read
  133. mmcblk0: error -84 transferring data, sector 17456, nr 8, cmd response 0x900, card status 0xb00
  134. mmcblk0: retrying using single block read
  135. mmcblk0: error -84 transferring data, sector 17461, nr 3, cmd response 0x900, card status 0x0
  136. end_request: I/O error, dev mmcblk0, sector 17461
  137. mmcblk0: error -84 transferring data, sector 17456, nr 8, cmd response 0x900, card status 0xb00
  138. mmcblk0: retrying using single block read
  139. mmcblk0: error -84 transferring data, sector 17460, nr 4, cmd response 0x900, card status 0x0
  140. end_request: I/O error, dev mmcblk0, sector 17460
  141. hdparm: short read
复制代码

使用特权

评论回复
| 2015-10-21 09:14 | 显示全部楼层
有大神遇到过这种情况吗

使用特权

评论回复
| 2015-10-22 13:37 | 显示全部楼层
clk布线加个电阻,我这边出现这个问题,应该是阻抗匹配的问题.

使用特权

评论回复
| 2015-10-22 20:45 | 显示全部楼层
gardenhill 发表于 2015-10-22 13:37
clk布线加个电阻,我这边出现这个问题,应该是阻抗匹配的问题.

是clk这个引脚上面加一个上拉电阻吗??多少欧姆的呢?
tf卡原理图.png

使用特权

评论回复
| 2015-10-22 21:53 | 显示全部楼层
不是上拉,是串一个电阻,22 33 47 试试.

使用特权

评论回复
| 2015-10-23 09:37 | 显示全部楼层
gardenhill 发表于 2015-10-22 21:53
不是上拉,是串一个电阻,22 33 47 试试.

哦~我知道了。还想请教您一个问题。我现在用非高速卡(不带HC字样的),使用是完全没问题的,最高速度有16M/s。但是高速卡(有high capacity)的就出现这种错误。请问您也是这样的吗?

使用特权

评论回复
| 2015-10-26 13:19 | 显示全部楼层
目前使用hc16G class10的卡

使用特权

评论回复
| 2016-1-9 10:32 | 显示全部楼层
各位大神,我的是emmc出现这个问题了,从SD卡启动,出现下面的错误
[  193.887832] mmc1: Timeout waiting for hardware interrupt.
[  193.894750] mmcblk1: error -110 sending stop command, original cmd response 0x2000900, card status 0x2400900
[  193.904770] mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x2000900, card status 0x0
[  193.914979] mmcblk1: retrying using single block read
[  203.927833] mmc1: Timeout waiting for hardware interrupt.
[  203.935599] mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x2000900, card status 0x0
[  203.945317] end_request: I/O error, dev mmcblk1, sector 0
[  213.967814] mmc1: Timeout waiting for hardware interrupt.
[  213.973644] mmcblk1: error -110 transferring data, sector 1, nr 7, cmd response 0x2000900, card status 0x0
[  213.983381] end_request: I/O error, dev mmcblk1, sector 1
[  224.007851] mmc1: Timeout waiting for hardware interrupt.
[  224.014638] mmcblk1: error -110 transferring data, sector 2, nr 6, cmd response 0x2000900, card status 0x0
[  224.024366] end_request: I/O error, dev mmcblk1, sector 2
[  234.047820] mmc1: Timeout waiting for hardware interrupt.
[  234.053618] mmcblk1: error -110 transferring data, sector 3, nr 5, cmd response 0x2000900, card status 0x0
[  234.063341] end_request: I/O error, dev mmcblk1, sector 3
[  244.087817] mmc1: Timeout waiting for hardware interrupt.
[  244.094606] mmcblk1: error -110 transferring data, sector 4, nr 4, cmd response 0x2000900, card status 0x0
[  244.104324] end_request: I/O error, dev mmcblk1, sector 4
[  254.127822] mmc1: Timeout waiting for hardware interrupt.
[  254.134624] mmcblk1: error -110 transferring data, sector 5, nr 3, cmd response 0x2000900, card status 0x0
[  254.144345] end_request: I/O error, dev mmcblk1, sector 5
[  264.167821] mmc1: Timeout waiting for hardware interrupt.
[  264.174616] mmcblk1: error -110 transferring data, sector 6, nr 2, cmd response 0x2000900, card status 0x0
[  264.184336] end_request: I/O error, dev mmcblk1, sector 6
[  274.207820] mmc1: Timeout waiting for hardware interrupt.
[  274.215609] mmcblk1: error -110 transferring data, sector 7, nr 1, cmd response 0x2000900, card status 0x0
[  274.225365] end_request: I/O error, dev mmcblk1, sector 7
[  274.230789] Buffer I/O error on device mmcblk1, logical block 0
[  274.236839]  mmcblk1: unable to read partition table

使用特权

评论回复
| 2016-3-8 21:45 | 显示全部楼层
告诉tf卡写入出错!大家搞定没?
end_request: I/O error, dev mmcblk0, sector 2728496
end_request: I/O error, dev mmcblk0, sector 2728504
end_request: I/O error, dev mmcblk0, sector 2728512
end_request: I/O error, dev mmcblk0, sector 2728520
end_request: I/O error, dev mmcblk0, sector 2728528
end_request: I/O error, dev mmcblk0, sector 2728536
end_request: I/O error, dev mmcblk0, sector 2728544
end_request: I/O error, dev mmcblk0, sector 2728552
end_request: I/O error, dev mmcblk0, sector 2728560
end_request: I/O error, dev mmcblk0, sector 2728568
end_request: I/O error, dev mmcblk0, sector 2728576
end_request: I/O error, dev mmcblk0, sector 2728584
end_request: I/O error, dev mmcblk0, sector 2728592
end_request: I/O error, dev mmcblk0, sector 2728600
end_request: I/O error, dev mmcblk0, sector 2728608
end_request: I/O error, dev mmcblk0, sector 2728616
end_request: I/O error, dev mmcblk0, sector 2728624
end_request: I/O error, dev mmcblk0, sector 2728632
end_request: I/O error, dev mmcblk0, sector 2728640
end_request: I/O error, dev mmcblk0, sector 2728648
end_request: I/O error, dev mmcblk0, sector 2728656

使用特权

评论回复
扫描二维码,随时随地手机跟帖
您需要登录后才可以回帖 登录 | 注册

本版积分规则

我要发帖 投诉建议 创建版块 申请版主

快速回复

您需要登录后才可以回帖
登录 | 注册
高级模式

论坛热帖

关闭

热门推荐上一条 /5 下一条

在线客服 快速回复 返回顶部 返回列表