This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MMC Hang

Hello,

I am using the 8148EVM and booting from nand, If I do quick insert and remove of sd card I get following message, and later it doesnt detect mmc at all

Jan 01 00:08:32 8148EVM systemd-udevd[100]: worker [245] /devices/platform/mmci-omap-hs.1/mmc_host/mmc1/mmc1:b368/block/mmcblk0/mmcblk0p1 timeout; kill
it
Jan 01 00:08:32 8148EVM systemd-udevd[100]: seq 1263 '/devices/platform/mmci-omap-hs.1/mmc_host/mmc1/mmc1:b368/block/mmcblk0/mmcblk0p1' killed
[  720.370000] INFO: task kworker/u:0:5 blocked for more than 120 seconds.
[  720.370000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  720.380000] INFO: task systemd-udevd:245 blocked for more than 120 seconds.
[  720.390000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  720.400000] INFO: task mmcqd/1:248 blocked for more than 120 seconds.
[  720.400000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  840.410000] INFO: task kworker/u:0:5 blocked for more than 120 seconds.
[  840.410000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  840.420000] INFO: task systemd-udevd:245 blocked for more than 120 seconds.
[  840.430000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  840.440000] INFO: task mmcqd/1:248 blocked for more than 120 seconds.
[  840.440000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

Thanks,

--Mike

  • Mike,

    How "quick" is this insert/remove? If you make "normal" insert/remove, do you have the same issue?

    Does your MMC/SD card failed to hot insert/remove from the very beginning or it was working fine in the past and now the issue come?

    MMC/SD cards should not be removed when the mount operation is in progress. If done so, data integrity cannot be guaranteed.

    I want to also remind regarding the same discussion with you at the below e2e thread:

    e2e.ti.com/.../445353

    Regards,
    Pavel
  • Hi Pavel,

    The insert/removals of SD card are as quick you can. For normal Inserts?removal there is no issue.

    The earlier post was for card detection issue where gpio_cd was not being set as the reason hot plugs were not detected.

    Thanks,

    Mike

  • MMC/SD cards should not be removed when the mount operation is in progress. If done so, data integrity cannot be guaranteed.