Comment 9 for bug 342096

Revision history for this message
renbag (renbag) wrote :

I confirm this bug on a Dell mini9 with ubuntu-9.04-netbook-remix-i386.
After resuming from a suspend with a mounted SHDC card, the partition table on the card is corrupted.
This does not happen with the original ubuntu 8.04 shipped by Dell. Looking at the config files of the Dell 8.04 and the Ubuntu 9.04 kernels I found these relevant differences:

config-2.6.24-22-lpia (Ubuntu 8.04 Dell):
...
CONFIG_MMC=y
CONFIG_MMC_BLOCK=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PCI=y
CONFIG_MMC_UNSAFE_RESUME=y
...

config-2.6.28-11-generic (ubuntu 9.04):
...
CONFIG_MMC=y
CONFIG_MMC_BLOCK=m
CONFIG_MMC_SDHCI=m
CONFIG_MMC_SDHCI_PCI=m
# CONFIG_MMC_UNSAFE_RESUME is not set
...

Then I build custom packages of 2.6.28-11 kernel and restricted-modules for jaunty, using the CONFIG_MMC options of the Ubuntu 8.04 kernel and this solved the problem for me.
(Community instructions for kernel compile are here: https://help.ubuntu.com/community/Kernel/Compile)