AnsweredAssumed Answered

imx28 mmcblk0: retrying using single block read

Question asked by shashikant h on Jun 6, 2020
Latest reply on Jun 9, 2020 by igorpadykov

Hi all,

 

i am using kernel 2.6.35.10, 

 

i am calling statvfs("/mnt/mmcblk0p1", &info); with a gap of 500ms in a while(1); -- > this is to get the status of various size like used , free, and available space

 

but when i do sd card remove and plug it back i am seeing a huge error on terminal

 

[ 83.160000] mmcblk0: retrying using single block read
[ 83.160000] mmcblk0: error -110 sending status comand
[ 83.180000] mmcblk0: error -110 sending read/write command, response 0xb00, c
[ 83.180000] end_request: I/O error, dev mmcblk0, sector 6688
[ 83.220000] mmcblk0: error -110 sending status comand
[ 83.220000] mmcblk0: error -110 sending read/write command, response 0xb00, c
[ 83.240000] end_request: I/O error, dev mmcblk0, sector 6689
[ 83.250000] mmcblk0: error -110 sending status comand
[ 83.250000] mmcblk0: error -110 sending read/write command, response 0xb00, c
[ 83.270000] end_request: I/O error, dev mmcblk0, sector 6690
[ 83.280000] mmcblk0: error -110 sending s

 

it keeps on populating, nearly 30 sec an udev rule gets an eject event, on removal of sd card ,

 

any one face this pls share your thought

 

patch would be helpful, i need a patch in kernel version, now i cannot move to new kernel

Outcomes