suspend with sd card inserted fails to suspend, hangs, and loses USB

Bug #530432 reported by Paul Larson on 2010-03-02
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux-mvl-dove (Ubuntu)
Eric Miao

Bug Description

If I insert an SD card, then suspend the system with the card still inserted, the screen goes black like it's going to suspend. However, the led counter never stops, and the only dmesg output is:
[ 227.550882] PM: Syncing filesystems ... done.

So it appears that the system never suspends completely. However, I can no longer access the system either. Keyboard and mouse no longer work. I hard reset the system using the reset switch on the board, and I'm returned to gdm after booting. USB mouse and keyboard are still non-functional until I unplug/replug them.

On a hunch, I also tried replugging the mouse and keyboard while the system seemed hung (after doing the suspend, but before rebooting). There was no effect, still could not get any response from the system.

ProblemType: Bug
Architecture: armel
Date: Mon Mar 1 20:02:08 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Alpha armel+dove (20100224.1)
Package: linux-image-2.6.32-201-dove 2.6.32-201.11
ProcVersionSignature: Ubuntu 2.6.32-201.11-hostname
SourcePackage: linux-mvl-dove
Uname: Linux 2.6.32-201-dove armv7l

Paul Larson (pwlars) wrote :
Changed in linux-mvl-dove (Ubuntu):
assignee: nobody → Eric Miao (eric.y.miao)
Eric Miao (eric.y.miao) wrote :


I've yet traced the hang to be in del_gendisk(), and confirmed it's the same issue as fully described in the thread below:

It's not yet upstreamed which I suspect it needs a cleaner fix. So we actually have three options:

1) enable CONFIG_MMC_UNSAFE_RESUME and to make hang only happens when card removal is found at resume

2) or I'll try the referenced patch to see if it solves this issue

3) or we can wait for a clean fix in upstream

Eric Miao (eric.y.miao) on 2010-04-05
Changed in linux-mvl-dove (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-10.04
status: New → Confirmed
mellis (mellis5) wrote :

I have this as well but on the regular Ubuntu release, don't know if that helps.

Uname -a: 2.6.32-17-generic #26-Ubuntu SMP Fri Mar 19 23:58:53 UTC 2010 i686 GNU/Linux

zonyl (zonyl) wrote :

Have the same issue on a HP TC4200. If I have an SD card in the laptop and go to suspend, it goes to a black screen and hangs requiring a hard reboot to fix.

Gary Trakhman (gary-trakhman) wrote :

It's related to this bug that I've had for a while now since 2.6.32

I did a git-bisect and everything, not sure what's going on in kernel-land about it, but it took me a couple months to figure out it was related to the SD card!

Gary Trakhman (gary-trakhman) wrote :

and ubuntu bug 492684

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.