Unable to access mounted sd card partition on resume from hibernate

AYAN KUMAR HALDER ayankumarh at gmail.com
Fri Jun 13 03:07:18 EDT 2014


Hi All,

I am working on a ARM based custom platform which has a mmc controller
(by Designware.) The mmc controller driver is dw-mmc.c.

On kernel bootup, I insert the driver and then I mount the mmc device
on /mnt. I am able to perform file-system operation(ls, cp, mv, rm) on
/mnt. Then without unmount, I hibernate my board (echo disk >
/sys/power/state).
On resuming, when I try to access /mnt , I get errors as follows:-
 # ls /mnt/
[  201.509858] FAT-fs (mmcblk0): Directory bread(block 32768) failed
[  201.516045] FAT-fs (mmcblk0): Directory bread(block 32769) failed
[  201.522163] FAT-fs (mmcblk0): Directory bread(block 32770) failed
[  201.528301] FAT-fs (mmcblk0): Directory bread(block 32771) failed
[  201.534404] FAT-fs (mmcblk0): Directory bread(block 32772) failed
[  201.540531] FAT-fs (mmcblk0): Directory bread(block 32773) failed
[  201.546658] FAT-fs (mmcblk0): Directory bread(block 32774) failed

Please tell me the reason for such errors. When I do the same sequence
of operations for a usb device, I do not get such errors. I am able to
access(after resume) the mounted partition of usb device normally.

Regards,
Ayan Kumar Halder



More information about the Kernelnewbies mailing list