Comment 24 for bug 477106

Revision history for this message
alien8 (fb-alien8) wrote :

Hi,

I'd just like to add that I run into the same problem on a
        Product Name: 2808D4G
        Version: ThinkPad T400s
on a
        Manufacturer: FUJITSU SIEMENS
        Product Name: LIFEBOOK S2110
        Version:
and a Aspire One Netbook
        Manufacturer: Acer
        Product Name: AOA110
        Version: 1
For all systems in Karmic the SD card was unmounted before suspend/resume and mounted afterwards. I do remember the data loss Stefan mentioned in #17 ;)

I don't think the
echo "N" | sudo tee /sys/module/mmc_core/parameters/removable
"work around" can be considered a solution even if I'd like to confirm that it works on all mentioned boxes.
IMHO it has a high potential of frustration for Ubuntu users to see their boxes freeze using the default install.

Since the real fix seems to involve proper handling of the umount in the Linux kernel and suspending the devices in the right order (mmc_core tries to suspend, mmc_block still has the partitions mounted or whatever happens right now. Said to be tricky) I think it would be a valid work around to have the sd cards umounted by the suspend/resume pm-utils.
If an umount is not possible I'd expect a warning and the process to be stopped. That is also suggested by some folks on the net.
The echo "N" >... removable is to deal with root partitions on mmc_block devices. The average Ubuntu user will be challenged to look for that bug on the net and do echo "N" ... each reboot or fiddle w/ the grub config.

Anyhow, IMHO that problem should be fixed in the default Lucid distribution.

Thanks,

- a8