suspend with sd card inserted fails to suspend, hangs, and loses USB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-mvl-dove (Ubuntu) |
Confirmed
|
High
|
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-
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: linux-mvl-dove
Uname: Linux 2.6.32-201-dove armv7l
Changed in linux-mvl-dove (Ubuntu): | |
importance: | Undecided → High |
milestone: | none → ubuntu-10.04 |
status: | New → Confirmed |
Confirmed.
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:
https:/ /patchwork. kernel. org/patch/ 77228/
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