MMC/SD memory card reader stops working after hibernate and resume

Bug #1011005 reported by Bernie Bernstein
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Confirmed
Medium
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

On a fresh boot, the MMC/SD memory card reader on my laptop works fine. However, if I hibernate and resume my laptop and attempt to use the MMC/SD memory again, the laptop fails to read the memory card and I receive a kernel trace from the driver.

The kernel trace is as follows:
[208991.375755] irq 21: nobody cared (try booting with the "irqpoll" option)
[208991.375761] Pid: 0, comm: swapper/1 Tainted: G W 3.3.4-030304-generic #201205011755
[208991.375764] Call Trace:
[208991.375774] [<c10b38a9>] __report_bad_irq+0x29/0xd0
[208991.375780] [<c1572bff>] ? _raw_spin_lock_irqsave+0x2f/0x50
[208991.375784] [<c10b3a63>] note_interrupt+0x113/0x1c0
[208991.375788] [<c10b17f9>] handle_irq_event_percpu+0xa9/0x1e0
[208991.375793] [<c10279b8>] ? default_spin_lock_flags+0x8/0x10
[208991.375797] [<c10b196b>] handle_irq_event+0x3b/0x60
[208991.375800] [<c10b4010>] ? handle_percpu_irq+0x50/0x50
[208991.375804] [<c10b405e>] handle_fasteoi_irq+0x4e/0xe0
[208991.375806] <IRQ> [<c157a272>] ? do_IRQ+0x42/0xc0
[208991.375815] [<c1065ad2>] ? sched_clock_local+0xb2/0x190
[208991.375819] [<c157a1b0>] ? common_interrupt+0x30/0x38
[208991.375823] [<c106007b>] ? find_process_by_pid+0x2b/0x30
[208991.375828] [<c131e643>] ? acpi_idle_enter_simple+0xef/0x12a
[208991.375834] [<c1458d2b>] ? cpuidle_idle_call+0xab/0x1d0
[208991.375838] [<c10020b4>] ? cpu_idle+0xa4/0xf0
[208991.375841] [<c156c271>] ? start_secondary+0xf1/0xf7
[208991.375844] handlers:
[208991.375848] [<c13eaba0>] usb_hcd_irq
[208991.375866] [<f83b9710>] sdhci_irq
[208991.375871] [<f8881780>] r592_irq
[208991.375875] [<f8a5c6b0>] r852_irq
[208991.375877] Disabling IRQ #21
[208998.208046] mmc0: Timeout waiting for hardware interrupt.
[209008.224025] mmc0: Timeout waiting for hardware interrupt.
---
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Dependencies:
 linux-firmware 1.79
 linux-generic 3.4.0.5.6
 linux-headers-generic 3.4.0.5.7
 linux-image-generic 3.4.0.5.7
DistroRelease: Ubuntu 12.04
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
Package: linux 3.4.0.5.6
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Tags: precise
Uname: Linux 3.4.0-030400-generic i686
UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again.
UpgradeStatus: Upgraded to precise on 2012-04-29 (48 days ago)
UserGroups: admin cdrom dialout lpadmin netdev plugdev sambashare

Brad Figg (brad-figg)
affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1011005

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Bernie Bernstein (bernie9998) wrote :

After attempting to collect info with apport-collect, I realized that I had upgraded the kernel to 3.3.4 to solve an unrelated issue. I have just tested the default kernel included with the 12.04 release (3.2.0-24) and this issue does not affect the kernel installed by default.

As per the suggestion provided by apport-collect, I have submitted this issue upstream to bugzilla.kernel.org. The upstream issue is bug #43361.

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-bug-exists-upstream quantal
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest 12.10(Quantal) kernel? It can be downloaded from:
https://launchpad.net/ubuntu/+source/linux-meta/3.4.0.5.6

Look for the link to your specific arch under "Builds". The .deb can then be downloaded from the next page.

Revision history for this message
Bernie Bernstein (bernie9998) wrote :

I tried installing that linux kernel and I came across some odd dependency issues. It appears that linux-headers-generic_3.4.0.5.6 depends on linux-headers-3.4.0-5-generic and linux-image-generic_3.4.0.5.6 depends on linux-image-3.4.0-5-generic. Is this expected? I never before installed kernel packages that depended on a different version.

The same thing appears to occur for the 3.4.0.5.7 versions.

I did happen to find kernel version 3.4.0 on the kernel ppa that I was able to install. I'll test with that shortly.

Revision history for this message
Bernie Bernstein (bernie9998) wrote :

This issue still occurs on version 3.4.0 found in the kernel ppa (3.4-precise).

tags: added: apport-collected precise
description: updated
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.5kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5-rc3-quantal/

tags: added: needs-upstream-testing
Revision history for this message
Bernie Bernstein (bernie9998) wrote :

Just tested with version 3.5-rc4 found in the kernel mainline ppa. Now the MMC card reader fails to work at all. The stack trace occurs when a memory card is inserted after a fresh boot into the kernel.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
tags: removed: needs-upstream-testing
Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Bernie Bernstein, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.12

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Triaged → Incomplete
tags: added: needs-kernel-logs needs-upstream-testing regression-potential
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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