Coming Underground
« Mail opdateringer24 hours with the HTC Magic Android phone »

MMC card and suspend problems

Permalink 2009-07-01 08:01, by jaervosz, Categories: General, Gentoo, Universe/English

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.

4 comments »Send a trackback »

Trackback address for this post

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

4 comments

Comment from: atomopawn [Visitor] Email · http://narnia.homeunix.com/~robert/
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] Email
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).
2009-07-02 @ 14:51
Comment from: jaervosz [Member] Email
MMC_UNSAFE_RESUME is not set, but the problem persists.
2009-07-02 @ 15:13

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

©2010 by admin

Contact Jaervosz