Bug 894707 - mmc stops working after a couple of days uptime
Summary: mmc stops working after a couple of days uptime
Keywords:
Status: CLOSED DUPLICATE of bug 924652
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 894709 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-13 11:33 UTC by Peter Robinson
Modified: 2013-04-01 20:43 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-01 20:43:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2013-01-13 11:33:00 UTC
On a Lenovo Thinkpad x220 and kernel 3.7.1-2.fc18.x86_64 (although this has been an issue for a while from memory) after a period of uptime with suspend / resume although I'm not sure if it ultimately makes a difference I get the following errors in dmesg and any SD cards aren't seen.

[80060.019176] mmcblk0: error -110 sending status command, retrying
[80060.019206] mmcblk0: error -110 sending status command, retrying
[80060.019236] mmcblk0: error -110 sending status command, aborting

I usually just reboot to fix the problem but to try and get around that I removed the modules and modprobed them again to try and reset the driver/hw

rmmod sdhci_pci; rmmod sdhci; rmmod mmc_block; rmmod mmc_core
modprobe sdhci_pci

Then reinserted and got the following crash

[80449.331537] sdhci: Secure Digital Host Controller Interface driver
[80449.331539] sdhci: Copyright(c) Pierre Ossman
[80449.333491] sdhci-pci 0000:0d:00.0: SDHCI controller found [1180:e822] (rev 7)
[80449.333673] Registered led device: mmc0::
[80449.361153] mmc0: SDHCI controller on PCI [0000:0d:00.0] using DMA
[80468.919519] mmc0: error -110 whilst initialising SD card
[80468.986693] mmc0: error -110 whilst initialising SD card
[80469.055147] mmc0: new SDHC card at address b368
[80469.064194] mmcblk0: mmc0:b368 00000 15.0 GiB 
[80469.064563] mmcblk0: error -110 sending status command, retrying
[80469.064597] mmcblk0: error -110 sending status command, retrying
[80469.064630] mmcblk0: error -110 sending status command, aborting
[80469.064634] blk_update_request: 148 callbacks suppressed
[80469.064635] end_request: I/O error, dev mmcblk0, sector 0
[80469.064637] quiet_error: 149 callbacks suppressed
[80469.064638] Buffer I/O error on device mmcblk0, logical block 0
[80469.065660] mmc0: Got data interrupt 0x00200000 even though no data operation was in progress.
[80469.065735] mmcblk0: error -110 sending status command, retrying
[80469.065777] mmcblk0: error -110 sending status command, retrying
[80469.065818] mmcblk0: error -110 sending status command, aborting
[80469.065825] end_request: I/O error, dev mmcblk0, sector 0
[80469.065830] Buffer I/O error on device mmcblk0, logical block 0
[80469.065987] mmcblk0: error -110 sending status command, retrying
[80469.066035] mmcblk0: error -110 sending status command, retrying
[80469.066083] mmcblk0: error -110 sending status command, aborting
[80469.066092] end_request: I/O error, dev mmcblk0, sector 0
[80469.066100] Buffer I/O error on device mmcblk0, logical block 0
[80469.066241] mmcblk0: error -110 sending status command, retrying
[80469.066287] mmcblk0: error -110 sending status command, retrying
[80469.066334] mmcblk0: error -110 sending status command, aborting
[80469.066343] end_request: I/O error, dev mmcblk0, sector 0
[80469.066349] Buffer I/O error on device mmcblk0, logical block 0
[80469.066560] ------------[ cut here ]------------
[80469.066575] WARNING: at drivers/mmc/host/sdhci.c:977 sdhci_send_command+0xc36/0xd70 [sdhci]()
[80469.066578] Hardware name: 4291EJ3
[80469.066581] Modules linked in: mmc_block(+) sdhci_pci sdhci mmc_core nls_utf8 hidp fuse ebtable_nat usb_storage xt_CHECKSUM bridge stp llc lockd sunrpc ipt_MASQUERADE nf_conntrack_netbios_ns nf_conntrack_broadcast ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 iptable_nat nf_nat_ipv4 nf_nat iptable_mangle nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ebtable_filter ebtables ip6table_filter ip6_tables rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media btusb bluetooth vfat fat snd_hda_codec_hdmi snd_hda_codec_conexant iTCO_wdt iTCO_vendor_support snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm arc4 iwldvm coretemp mac80211 microcode joydev i2c_i801 iwlwifi cfg80211 lpc_ich e1000e snd_page_alloc mfd_core snd_timer thinkpad_acpi
[80469.066676]  vhost_net mei tpm_tis snd tun tpm soundcore macvtap rfkill macvlan tpm_bios kvm_intel kvm uinput dm_crypt crc32c_intel i915 i2c_algo_bit drm_kms_helper ghash_clmulni_intel drm i2c_core wmi video [last unloaded: mmc_core]
[80469.066716] Pid: 674, comm: rs:main Q:Reg Tainted: G        W    3.7.1-2.fc18.x86_64 #1
[80469.066719] Call Trace:
[80469.066722]  <IRQ>  [<ffffffff8105e70f>] warn_slowpath_common+0x7f/0xc0
[80469.066744]  [<ffffffff8105e76a>] warn_slowpath_null+0x1a/0x20
[80469.066753]  [<ffffffffa00345b6>] sdhci_send_command+0xc36/0xd70 [sdhci]
[80469.066764]  [<ffffffff8130333e>] ? swiotlb_tbl_unmap_single+0xee/0x110
[80469.066771]  [<ffffffff813033ae>] ? unmap_single+0x4e/0x70
[80469.066779]  [<ffffffff8130341e>] ? swiotlb_unmap_sg_attrs+0x4e/0x70
[80469.066787]  [<ffffffffa0034838>] sdhci_finish_data+0x148/0x390 [sdhci]
[80469.066795]  [<ffffffff814657fe>] ? ehci_irq+0x3e/0x490
[80469.066803]  [<ffffffff81096215>] ? sched_clock_cpu+0xc5/0x120
[80469.066811]  [<ffffffffa003500a>] sdhci_irq+0x36a/0x930 [sdhci]
[80469.066817]  [<ffffffff810929a9>] ? scheduler_tick+0x109/0x140
[80469.066827]  [<ffffffff810ec604>] handle_irq_event_percpu+0x54/0x1f0
[80469.066835]  [<ffffffff810ec7e1>] handle_irq_event+0x41/0x70
[80469.066841]  [<ffffffff810ef959>] handle_fasteoi_irq+0x59/0x100
[80469.066850]  [<ffffffff8101620f>] handle_irq+0xbf/0x150
[80469.066857]  [<ffffffff810672b1>] ? irq_enter+0x51/0x90
[80469.066863]  [<ffffffff8163f45a>] do_IRQ+0x5a/0xe0
[80469.066873]  [<ffffffff816356ed>] common_interrupt+0x6d/0x6d
[80469.066875]  <EOI>  [<ffffffff81216050>] ? __check_block_validity.constprop.50+0x80/0x80
[80469.066893]  [<ffffffff8121bb85>] ? ext4_da_write_end+0x145/0x350
[80469.066900]  [<ffffffff81219349>] ? ext4_da_write_begin+0xc9/0x1f0
[80469.066909]  [<ffffffff8112f33e>] generic_file_buffered_write+0x17e/0x280
[80469.066917]  [<ffffffff811bd57f>] ? __mark_inode_dirty+0x3f/0x200
[80469.066924]  [<ffffffff81131311>] __generic_file_aio_write+0x1d1/0x3d0
[80469.066931]  [<ffffffff8113158f>] generic_file_aio_write+0x7f/0x100
[80469.066938]  [<ffffffff812128a9>] ext4_file_write+0xa9/0x490
[80469.066946]  [<ffffffff811d5da0>] ? inotify_handle_event+0xa0/0x120
[80469.066954]  [<ffffffff811d3402>] ? send_to_group+0x182/0x250
[80469.066963]  [<ffffffff810b7ef6>] ? futex_wake+0x106/0x130
[80469.066969]  [<ffffffff81194eb7>] do_sync_write+0xa7/0xe0
[80469.066976]  [<ffffffff8119556c>] vfs_write+0xac/0x180
[80469.066981]  [<ffffffff811958b2>] sys_write+0x52/0xa0
[80469.066989]  [<ffffffff8163d9d9>] system_call_fastpath+0x16/0x1b
[80469.066993] ---[ end trace 85df1e26c8cf69d3 ]---
[80469.067002] mmc0: Got data interrupt 0x00600000 even though no data operation was in progress.
[80469.067084] mmcblk0: error -110 sending status command, retrying
[80469.067133] mmcblk0: error -110 sending status command, retrying
[80469.067178] mmcblk0: error -110 sending status command, aborting

Comment 1 Peter Robinson 2013-01-13 11:40:13 UTC
*** Bug 894709 has been marked as a duplicate of this bug. ***

Comment 2 Yann Droneaud 2013-03-13 16:06:15 UTC
See bug #871638 for a fix.

Comment 3 Josh Boyer 2013-04-01 20:43:05 UTC

*** This bug has been marked as a duplicate of bug 924652 ***


Note You need to log in before you can comment on or make changes to this bug.