| « Mail opdateringer | 24 hours with the HTC Magic Android phone » |
MMC card and suspend problems
After having encrypted my home partition as described here I encountered a strange problem. After each time I suspend to RAM all partitions on the MMC card are gone.
I'm running Gentoo sources 2.6.29-r5. I also tried Tuxonice sources 2.6.24-r9 but it has the same special effect. My MMC controller is the Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter. Perhaps suspend is just broken for it or something with my config is not right:(
So for now I'll just have to live without suspend to RAM and ensure that it doesn't do suspend to RAM as a powersaving measure.
Trackback address for this post
4 comments
If you make the partitions, format them, mount them, save some data, unmount them, then remove the card, then plug it back in without suspending/rebooting, is your data still there?
2009-07-01 @ 09:19
Comment from: jaervosz [Member]
Yeah, without suspending data is properly saved between normal reboots:)
2009-07-01 @ 09:53
Comment from: YoYo [Visitor]
IIRC the kernel unmounts any mmc partitions on suspend the same way it does for USB devices (so that if you take the card out while sleeping, you won't get into trouble when waking up).
If this is what causes the problem, you can disable it in the kernel (MMC_UNSAFE_RESUME).
If this is what causes the problem, you can disable it in the kernel (MMC_UNSAFE_RESUME).
2009-07-02 @ 14:51
Comment from: jaervosz [Member]
MMC_UNSAFE_RESUME is not set, but the problem persists.
2009-07-02 @ 15:13