Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #54674 > unrolled thread

Bug#830303: sdhci_pci: SD card reader gives error "mmc0: error -110 whilst initialising SD card"

Started byJ Mo <jmomo@jmomo.net>
First post2016-07-08 03:30 +0200
Last post2019-02-18 23:00 +0100
Articles 6 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#830303: sdhci_pci: SD card reader gives error "mmc0: error -110 whilst initialising SD card" J Mo <jmomo@jmomo.net> - 2016-07-08 03:30 +0200
    Processed: mmc0: Unexpected interrupt 0x04000000. "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-01-05 12:10 +0100
    Bug#830303: mmc0: Unexpected interrupt 0x04000000. Mathieu Malaterre <malat@debian.org> - 2018-01-05 12:10 +0100
      Bug#830303: mmc0: Unexpected interrupt 0x04000000. Mathieu Malaterre <malat@debian.org> - 2018-01-05 12:20 +0100
    Bug#830303: mmc0: Unexpected interrupt 0x04000000. Mathieu Malaterre <malat@debian.org> - 2018-01-11 11:00 +0100
    Bug#830303: mmc0: Unexpected interrupt 0x04000000. Alexandros Kosiaris <akosiaris@gmail.com> - 2019-02-18 23:00 +0100

#54674 — Bug#830303: sdhci_pci: SD card reader gives error "mmc0: error -110 whilst initialising SD card"

FromJ Mo <jmomo@jmomo.net>
Date2016-07-08 03:30 +0200
SubjectBug#830303: sdhci_pci: SD card reader gives error "mmc0: error -110 whilst initialising SD card"
Message-ID<rSsM9-6jn-1@gated-at.bofh.it>
Package: src:linux
Version: 4.6.2-1
Severity: normal

I have a Zotac ZBox Nano CI320 (Intel N2930), which has a built-in SD card reader. However, it doesn't seem to be working.

I get the following dmesg errors when I insert a card:

Jul 07 17:21:06.417263 hostname kernel: mmc0: error -110 whilst initialising SD card
Jul 07 17:21:06.521245 hostname kernel: mmc0: error -110 whilst initialising SD card
Jul 07 17:21:06.658049 hostname kernel: mmc0: error -110 whilst initialising SD card
Jul 07 17:21:06.805167 hostname kernel: mmc0: error -110 whilst initialising SD card



Multiple known-good cards tested, all working in other systems.

This is what lspci says about the reader device:

00:12.0 SD Host controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SDIO Controller (rev 0e) (prog-if 01)
        Subsystem: ZOTAC International (MCO) Ltd. Atom Processor Z36xxx/Z37xxx Series SDIO ControllerDisINTx-
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 18bit, non-prefetchable) [size=4K]
        Region 0: Memory at d0817000 (32-bit, non-prefetchable) [size=4K]
        Region 1: Memory at d0816000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [80] Power Management version 3t=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci_pci




I googled around and found a very large number of similar bugs on similar hardware (mostly laptops). I suspect this is a driver problem.



-- Package-specific info:
** Version:
Linux version 4.6.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 5.4.0 20160609 (Debian 5.4.0-4) ) #1 SMP Debian 4.6.2-1 (2016-06-15)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.6.0-1-amd64 root=UUID=50ba5b42-6270-4d9f-5d9c-b7f9a121b0bd ro ipv6.disable=1 quiet

** Tainted: E (8192)
 * Unsigned module has been loaded (currently expected).

** Kernel log:
[574755.247043] mmc0: error -110 whilst initialising SD card
[574755.368245] mmc0: error -110 whilst initialising SD card
[574755.502021] mmc0: error -110 whilst initialising SD card
[574755.652246] mmc0: error -110 whilst initialising SD card

** Model information
sys_vendor: Motherboard by ZOTAC
product_name: ZBOX-CI320NANO series
product_version: Rev.00
chassis_vendor: To Be Filled By O.E.M.
chassis_version: To Be Filled By O.E.M.
bios_vendor: American Megatrends Inc.
bios_version: B219P026
board_vendor: ZOTAC
board_name: ZBOX-CI320NANO series
board_version: Rev.00

** Loaded modules:
lp(E)
parport_pc(E)
joydev(E)
st(E)
sr_mod(E)
cdrom(E)
ppdev(E)
parport(E)
xt_multiport(E)
iptable_filter(E)
ip_tables(E)
x_tables(E)
hmac(E)
drbg(E)
ansi_cprng(E)
ctr(E)
ccm(E)
bridge(E)
stp(E)
llc(E)
nfsd(E)
auth_rpcgss(E)
nfs_acl(E)
nfs(E)
lockd(E)
grace(E)
fscache(E)
sunrpc(E)
binfmt_misc(E)
snd_hda_codec_hdmi(E)
snd_hda_codec_realtek(E)
snd_hda_codec_generic(E)
arc4(E)
iwlmvm(E)
intel_rapl(E)
uvcvideo(E)
intel_soc_dts_iosf(E)
intel_powerclamp(E)
videobuf2_vmalloc(E)
videobuf2_memops(E)
kvm_intel(E)
videobuf2_v4l2(E)
snd_usb_audio(E)
i915(E)
videobuf2_core(E)
snd_usbmidi_lib(E)
videodev(E)
uas(E)
iTCO_wdt(E)
snd_rawmidi(E)
mac80211(E)
iwlwifi(E)
cfg80211(E)
media(E)
iTCO_vendor_support(E)
usb_storage(E)
snd_seq_device(E)
kvm(E)
irqbypass(E)
crct10dif_pclmul(E)
crc32_pclmul(E)
evdev(E)
ghash_clmulni_intel(E)
btusb(E)
sg(E)
drm_kms_helper(E)
btrtl(E)
pcspkr(E)
serio_raw(E)
drm(E)
hci_uart(E)
snd_intel_sst_acpi(E)
snd_intel_sst_core(E)
video(E)
btbcm(E)
btqca(E)
snd_soc_sst_mfld_platform(E)
snd_soc_rt5640(E)
dw_dmac(E)
ir_lirc_codec(E)
lirc_dev(E)
btintel(E)
bluetooth(E)
battery(E)
rc_rc6_mce(E)
nuvoton_cir(E)
8250_fintek(E)
rfkill(E)
rc_core(E)
snd_soc_sst_match(E)
snd_soc_rl6231(E)
dw_dmac_core(E)
snd_soc_core(E)
shpchp(E)
i2c_algo_bit(E)
snd_hda_intel(E)
lpc_ich(E)
i2c_designware_platform(E)
i2c_designware_core(E)
i2c_i801(E)
snd_hda_codec(E)
mfd_core(E)
snd_compress(E)
snd_hda_core(E)
snd_hwdep(E)
snd_pcm(E)
snd_timer(E)
snd(E)
soundcore(E)
button(E)
tpm_tis(E)
tpm(E)
processor(E)
nct6775(E)
hwmon_vid(E)
coretemp(E)
autofs4(E)
ext4(E)
ecb(E)
glue_helper(E)
lrw(E)
gf128mul(E)
ablk_helper(E)
cryptd(E)
aes_x86_64(E)
crc16(E)
jbd2(E)
crc32c_generic(E)
mbcache(E)
md_mod(E)
sd_mod(E)
crc32c_intel(E)
xhci_pci(E)
psmouse(E)
ahci(E)
xhci_hcd(E)
libahci(E)
libata(E)
usbcore(E)
r8169(E)
mii(E)
scsi_mod(E)
usb_common(E)
sdhci_pci(E)
fjes(E)
i2c_hid(E)
hid(E)
sdhci_acpi(E)
sdhci(E)
mmc_core(E)

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [8086:0f00] (rev 0e)
	Subsystem: ZOTAC International (MCO) Ltd. Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [19da:b219]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Kernel driver in use: iosf_mbi_pci

00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] (rev 0e) (prog-if 00 [VGA controller])
	DeviceName:  Onboard IGD
	Subsystem: ZOTAC International (MCO) Ltd. Atom Processor Z36xxx/Z37xxx Series Graphics & Display [19da:b219]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 265
	Region 0: Memory at d0000000 (32-bit, non-prefetchable) [size=4M]
	Region 2: Memory at c0000000 (32-bit, prefetchable) [size=256M]
	Region 4: I/O ports at f080 [size=8]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:12.0 SD Host controller [0805]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SDIO Controller [8086:0f16] (rev 0e) (prog-if 01)
	Subsystem: ZOTAC International (MCO) Ltd. Atom Processor Z36xxx/Z37xxx Series SDIO Controller [19da:b219]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 18
	Region 0: Memory at d0817000 (32-bit, non-prefetchable) [size=4K]
	Region 1: Memory at d0816000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci

00:13.0 SATA controller [0106]: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller [8086:0f23] (rev 0e) (prog-if 01 [AHCI 1.0])
	Subsystem: ZOTAC International (MCO) Ltd. Atom Processor E3800 Series SATA AHCI Controller [19da:b219]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 262
	Region 0: I/O ports at f070 [size=8]
	Region 1: I/O ports at f060 [size=4]
	Region 2: I/O ports at f050 [size=8]
	Region 3: I/O ports at f040 [size=4]
	Region 4: I/O ports at f020 [size=32]
	Region 5: Memory at d0815000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:14.0 USB controller [0c03]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB xHCI [8086:0f35] (rev 0e) (prog-if 30 [XHCI])
	Subsystem: ZOTAC International (MCO) Ltd. Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI [19da:b219]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 263
	Region 0: Memory at d0800000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:1a.0 Encryption controller [1080]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [8086:0f18] (rev 0e)
	Subsystem: ZOTAC International (MCO) Ltd. Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [19da:b219]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 23
	Region 0: Memory at d0500000 (32-bit, non-prefetchable) [size=1M]
	Region 1: Memory at d0400000 (32-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>

00:1b.0 Audio device [0403]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller [8086:0f04] (rev 0e)
	Subsystem: ZOTAC International (MCO) Ltd. Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller [19da:b219]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 266
	Region 0: Memory at d0810000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 [8086:0f48] (rev 0e) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: d0700000-d07fffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.1 PCI bridge [0604]: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 [8086:0f4a] (rev 0e) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin B routed to IRQ 17
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.2 PCI bridge [0604]: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 [8086:0f4c] (rev 0e) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin C routed to IRQ 18
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: d0600000-d06fffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.3 PCI bridge [0604]: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 [8086:0f4e] (rev 0e) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin D routed to IRQ 19
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1f.0 ISA bridge [0601]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit [8086:0f1c] (rev 0e)
	Subsystem: ZOTAC International (MCO) Ltd. Atom Processor Z36xxx/Z37xxx Series Power Control Unit [19da:b219]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich

00:1f.3 SMBus [0c05]: Intel Corporation Atom Processor E3800 Series SMBus Controller [8086:0f12] (rev 0e)
	Subsystem: ZOTAC International (MCO) Ltd. Atom Processor E3800 Series SMBus Controller [19da:b219]
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin B routed to IRQ 18
	Region 0: Memory at d0814000 (32-bit, non-prefetchable) [size=32]
	Region 4: I/O ports at f000 [size=32]
	Capabilities: <access denied>
	Kernel modules: i2c_i801

01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07)
	Subsystem: ZOTAC International (MCO) Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [19da:8168]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 261
	Region 0: I/O ports at e000 [size=256]
	Region 2: Memory at d0704000 (64-bit, prefetchable) [size=4K]
	Region 4: Memory at d0700000 (64-bit, prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

03:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b3] (rev 83)
	Subsystem: Intel Corporation Dual Band Wireless-AC 3160 [8086:0070]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 264
	Region 0: Memory at d0600000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi


** USB devices:
Bus 002 Device 002: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 002: ID 8087:07dc Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-4.6.0-1-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.125
ii  kmod                                    22-1.1
ii  linux-base                              4.3

Versions of packages linux-image-4.6.0-1-amd64 recommends:
ii  firmware-linux-free  3.4
ii  irqbalance           1.1.0-2

Versions of packages linux-image-4.6.0-1-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 2.02~beta2-36
pn  linux-doc-4.6           <none>

Versions of packages linux-image-4.6.0-1-amd64 is related to:
ii  firmware-amd-graphics     20160110-1
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
ii  firmware-iwlwifi          20160110-1
pn  firmware-libertas         <none>
ii  firmware-linux-nonfree    20160110-1
ii  firmware-misc-nonfree     20160110-1
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
ii  firmware-realtek          20160110-1
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

[toc] | [next] | [standalone]


#59832 — Processed: mmc0: Unexpected interrupt 0x04000000.

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2018-01-05 12:10 +0100
SubjectProcessed: mmc0: Unexpected interrupt 0x04000000.
Message-ID<v4y2S-2YJ-17@gated-at.bofh.it>
In reply to#54674
Processing control commands:

> found -1 4.14+88~bpo9+1
Bug #830303 [src:linux] sdhci_pci: SD card reader gives error "mmc0: error -110 whilst initialising SD card"
The source 'linux' and version '4.14+88~bpo9+1' do not appear to match any binary packages
Marked as found in versions linux/4.14+88~bpo9+1.

-- 
830303: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830303
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#59834 — Bug#830303: mmc0: Unexpected interrupt 0x04000000.

FromMathieu Malaterre <malat@debian.org>
Date2018-01-05 12:10 +0100
SubjectBug#830303: mmc0: Unexpected interrupt 0x04000000.
Message-ID<v4y2S-2YJ-13@gated-at.bofh.it>
In reply to#54674
Control: found -1 4.14+88~bpo9+1

Same here, using a MacBookPro10,1. I cannot get the driver to work
when SDHC Samsung Evo 16GB is placed in card reader (bug is totally
reproducible). If I remove the card and place it in a USB reader
(USB-HUB reader) then everything is fine. I even tested using f3probe:

https://packages.qa.debian.org/f/f3.html

The card only work when placed in USB-HUB reader.

For reference:

[  220.210842] mmc0: Tuning timeout, falling back to fixed sampling clock
[  220.210934] mmc0: new ultra high speed DDR50 SDHC card at address 59b4
[  220.219075] mmcblk0: mmc0:59b4 00000 14.9 GiB
[  230.362858] mmc0: Timeout waiting for hardware interrupt.
[  230.362868] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  230.362918] mmc0: sdhci: Sys addr:  0x000000c8 | Version:  0x00001502
[  230.362927] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  230.362937] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x0000003b
[  230.362946] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  230.362955] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  230.362964] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  230.362974] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  230.362982] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  230.362992] mmc0: sdhci: AC12 err:  0x00000010 | Slot int: 0x00000000
[  230.363001] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  230.363011] mmc0: sdhci: Cmd:       0x0000123a | Max curr: 0x00000000
[  230.363020] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
[  230.363029] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  230.363035] mmc0: sdhci: Host ctl2: 0x0000804c
[  230.363047] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  230.363049] mmc0: sdhci: ============================================
[  230.363119] mmc0: Unexpected interrupt 0x04000000.
[  230.363128] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  230.363157] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  230.363166] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  230.363174] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[  230.363184] mmc0: sdhci: Present:   0x1fff0001 | Host ctl: 0x0000001f
[  230.363193] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  230.363203] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  230.363214] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  230.363225] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  230.363234] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  230.363244] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  230.363253] mmc0: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[  230.363263] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
[  230.363272] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  230.363278] mmc0: sdhci: Host ctl2: 0x0000800c
[  230.363292] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  230.363294] mmc0: sdhci: ============================================
[  230.363509] mmcblk0: error -110 sending stop command, original cmd
response 0x0, card status 0x400900
[  230.418897] mmc0: Tuning timeout, falling back to fixed sampling clock
[  240.602915] mmc0: Timeout waiting for hardware interrupt.
[  240.602924] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  240.602971] mmc0: sdhci: Sys addr:  0x000000c8 | Version:  0x00001502
[  240.602981] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  240.602989] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x0000003b
[  240.602999] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  240.603008] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  240.603018] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  240.603027] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  240.603036] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  240.603045] mmc0: sdhci: AC12 err:  0x00000010 | Slot int: 0x00000000
[  240.603054] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  240.603063] mmc0: sdhci: Cmd:       0x0000123a | Max curr: 0x00000000
[  240.603073] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
[  240.603082] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001000
[  240.603088] mmc0: sdhci: Host ctl2: 0x0000804c
[  240.603100] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  240.603102] mmc0: sdhci: ============================================
[  240.603162] mmc0: Unexpected interrupt 0x04000000.
[  240.603164] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  240.603172] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  240.603182] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  240.603192] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[  240.603201] mmc0: sdhci: Present:   0x1fff0001 | Host ctl: 0x0000001f
[  240.603211] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  240.603221] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  240.603230] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  240.603246] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  240.603256] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  240.603266] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  240.603275] mmc0: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[  240.603285] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
[  240.603294] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001000
[  240.603300] mmc0: sdhci: Host ctl2: 0x0000800c
[  240.603314] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  240.603316] mmc0: sdhci: ============================================
[  240.603768] mmcblk0: error -110 sending stop command, original cmd
response 0x0, card status 0x400900
[  240.603774] mmcblk0: error -110 transferring data, sector 0, nr 8,
cmd response 0x0, card status 0x0
[  244.818960] mmc0: Tuning timeout, falling back to fixed sampling clock
[  254.938957] mmc0: Timeout waiting for hardware interrupt.
[  254.938966] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  254.939017] mmc0: sdhci: Sys addr:  0x00000040 | Version:  0x00001502
[  254.939028] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  254.939037] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x0000003b
[  254.939047] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  254.939056] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  254.939066] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  254.939134] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  254.939148] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  254.939159] mmc0: sdhci: AC12 err:  0x00000010 | Slot int: 0x00000000
[  254.939174] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  254.939189] mmc0: sdhci: Cmd:       0x0000123a | Max curr: 0x00000000
[  254.939204] mmc0: sdhci: Resp[0]:   0x00000201 | Resp[1]:  0x00000000
[  254.939219] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001200
[  254.939226] mmc0: sdhci: Host ctl2: 0x0000804c
[  254.939249] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  254.939250] mmc0: sdhci: ============================================
[  254.939321] mmc0: Unexpected interrupt 0x04000000.
[  254.939334] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  254.939358] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  254.939370] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  254.939390] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[  254.939414] mmc0: sdhci: Present:   0x1fff0001 | Host ctl: 0x0000001f
[  254.939429] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  254.939463] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  254.939473] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  254.939484] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  254.939497] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  254.939506] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  254.939516] mmc0: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[  254.939525] mmc0: sdhci: Resp[0]:   0x00000201 | Resp[1]:  0x00000000
[  254.939538] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001200
[  254.939544] mmc0: sdhci: Host ctl2: 0x0000800c
[  254.939558] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  254.939560] mmc0: sdhci: ============================================
[  254.940047] mmcblk0: error -110 sending stop command, original cmd
response 0x0, card status 0x400900
[  254.940051] mmcblk0: error -110 transferring data, sector 0, nr 8,
cmd response 0x0, card status 0x0
[  254.940057] mmcblk0: retrying using single block read
[  254.994990] mmc0: Tuning timeout, falling back to fixed sampling clock
[  265.179189] mmc0: Timeout waiting for hardware cmd interrupt.
[  265.179193] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  265.179240] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  265.179249] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000001
[  265.179257] mmc0: sdhci: Argument:  0x59b40000 | Trn mode: 0x00000013
[  265.179264] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  265.179272] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  265.179280] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  265.179288] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  265.179294] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  265.179301] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  265.179309] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  265.179317] mmc0: sdhci: Cmd:       0x00000d1a | Max curr: 0x00000000
[  265.179324] mmc0: sdhci: Resp[0]:   0x00001300 | Resp[1]:  0x00001200
[  265.179331] mmc0: sdhci: Resp[2]:   0x00001201 | Resp[3]:  0x00000000
[  265.179335] mmc0: sdhci: Host ctl2: 0x0000804c
[  265.179347] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  265.179347] mmc0: sdhci: ============================================
[  265.179497] mmcblk0: error -110 sending status command, retrying
[  265.235001] mmc0: Tuning timeout, falling back to fixed sampling clock
[  275.418978] mmc0: Timeout waiting for hardware cmd interrupt.
[  275.418991] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  275.419046] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  275.419056] mmc0: sdhci: Blk size:  0x00007040 | Blk cnt:  0x00000001
[  275.419065] mmc0: sdhci: Argument:  0x59b40000 | Trn mode: 0x00000010
[  275.419075] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  275.419084] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  275.419093] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  275.419103] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  275.419112] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  275.419121] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  275.419131] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  275.419140] mmc0: sdhci: Cmd:       0x00000d1a | Max curr: 0x00000000
[  275.419150] mmc0: sdhci: Resp[0]:   0x00001200 | Resp[1]:  0x00001201
[  275.419159] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  275.419165] mmc0: sdhci: Host ctl2: 0x0000804c
[  275.419178] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  275.419180] mmc0: sdhci: ============================================
[  275.419410] mmcblk0: error -110 sending status command, retrying
[  275.475014] mmc0: Tuning timeout, falling back to fixed sampling clock
[  285.658993] mmc0: Timeout waiting for hardware cmd interrupt.
[  285.659002] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  285.659052] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  285.659062] mmc0: sdhci: Blk size:  0x00007040 | Blk cnt:  0x00000001
[  285.659072] mmc0: sdhci: Argument:  0x59b40000 | Trn mode: 0x00000010
[  285.659082] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  285.659090] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  285.659099] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  285.659108] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  285.659118] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  285.659127] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  285.659137] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  285.659146] mmc0: sdhci: Cmd:       0x00000d1a | Max curr: 0x00000000
[  285.659156] mmc0: sdhci: Resp[0]:   0x00001100 | Resp[1]:  0x00001a01
[  285.659166] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  285.659172] mmc0: sdhci: Host ctl2: 0x0000804c
[  285.659185] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  285.659187] mmc0: sdhci: ============================================
[  285.659428] mmcblk0: error -110 sending status command, aborting
[  285.659442] print_req_error: I/O error, dev mmcblk0, sector 0
[  285.659451] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[  285.715040] mmc0: Tuning timeout, falling back to fixed sampling clock
[  295.899493] mmc0: Timeout waiting for hardware interrupt.
[  295.899501] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  295.899550] mmc0: sdhci: Sys addr:  0x00000040 | Version:  0x00001502
[  295.899560] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  295.899570] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x0000003b
[  295.899579] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  295.899589] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  295.899598] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  295.899607] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  295.899615] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  295.899624] mmc0: sdhci: AC12 err:  0x00000010 | Slot int: 0x00000000
[  295.899634] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  295.899643] mmc0: sdhci: Cmd:       0x0000123a | Max curr: 0x00000000
[  295.899652] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
[  295.899662] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001000
[  295.899667] mmc0: sdhci: Host ctl2: 0x0000804c
[  295.899680] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  295.899682] mmc0: sdhci: ============================================
[  295.899728] mmc0: Unexpected interrupt 0x04000000.
[  295.899731] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  295.899742] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  295.899752] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  295.899766] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[  295.899784] mmc0: sdhci: Present:   0x1fff0001 | Host ctl: 0x0000001f
[  295.899802] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  295.899813] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  295.899823] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  295.899834] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  295.899845] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  295.899855] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  295.899866] mmc0: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[  295.899878] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
[  295.899889] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001000
[  295.899904] mmc0: sdhci: Host ctl2: 0x0000800c
[  295.899917] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  295.899920] mmc0: sdhci: ============================================
[  295.900237] mmcblk0: error -110 sending stop command, original cmd
response 0x0, card status 0x400900
[  295.955214] mmc0: Tuning timeout, falling back to fixed sampling clock
[  306.139878] mmc0: Timeout waiting for hardware interrupt.
[  306.139886] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  306.139933] mmc0: sdhci: Sys addr:  0x00000040 | Version:  0x00001502
[  306.139942] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  306.139951] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x0000003b
[  306.139960] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  306.139969] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  306.139978] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  306.139987] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  306.139996] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  306.140005] mmc0: sdhci: AC12 err:  0x00000010 | Slot int: 0x00000000
[  306.140014] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  306.140023] mmc0: sdhci: Cmd:       0x0000123a | Max curr: 0x00000000
[  306.140032] mmc0: sdhci: Resp[0]:   0x00001a01 | Resp[1]:  0x00000000
[  306.140041] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001a00
[  306.140046] mmc0: sdhci: Host ctl2: 0x0000804c
[  306.140059] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  306.140060] mmc0: sdhci: ============================================
[  306.140117] mmc0: Unexpected interrupt 0x04000000.
[  306.140121] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  306.140136] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  306.140146] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  306.140156] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[  306.140167] mmc0: sdhci: Present:   0x1fff0001 | Host ctl: 0x0000001f
[  306.140181] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  306.140192] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  306.140202] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  306.140213] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  306.140223] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  306.140233] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  306.140243] mmc0: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[  306.140253] mmc0: sdhci: Resp[0]:   0x00001a01 | Resp[1]:  0x00000000
[  306.140264] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001a00
[  306.140270] mmc0: sdhci: Host ctl2: 0x0000800c
[  306.140284] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  306.140287] mmc0: sdhci: ============================================
[  306.140685] mmcblk0: error -110 sending stop command, original cmd
response 0x0, card status 0x400900
[  306.140688] mmcblk0: error -110 transferring data, sector 0, nr 8,
cmd response 0x0, card status 0x0
[  306.140692] mmcblk0: retrying using single block read
[  306.195555] mmc0: Tuning timeout, falling back to fixed sampling clock
[  316.379754] mmc0: Timeout waiting for hardware cmd interrupt.
[  316.379766] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  316.379819] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  316.379831] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000001
[  316.379843] mmc0: sdhci: Argument:  0x59b40000 | Trn mode: 0x00000013
[  316.379854] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  316.379867] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  316.379878] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  316.379890] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  316.379903] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  316.379983] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  316.379998] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  316.380013] mmc0: sdhci: Cmd:       0x00000d1a | Max curr: 0x00000000
[  316.380028] mmc0: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00001200
[  316.380043] mmc0: sdhci: Resp[2]:   0x00001201 | Resp[3]:  0x00000000
[  316.380050] mmc0: sdhci: Host ctl2: 0x0000804c
[  316.380073] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  316.380075] mmc0: sdhci: ============================================
[  316.380484] mmcblk0: error -110 sending status command, retrying
[  316.435811] mmc0: Tuning timeout, falling back to fixed sampling clock
[  326.620015] mmc0: Timeout waiting for hardware cmd interrupt.
[  326.620024] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  326.620074] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  326.620083] mmc0: sdhci: Blk size:  0x00007040 | Blk cnt:  0x00000001
[  326.620093] mmc0: sdhci: Argument:  0x59b40000 | Trn mode: 0x00000010
[  326.620102] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  326.620112] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  326.620121] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  326.620131] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  326.620140] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  326.620149] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  326.620158] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  326.620168] mmc0: sdhci: Cmd:       0x00000d1a | Max curr: 0x00000000
[  326.620176] mmc0: sdhci: Resp[0]:   0x00001800 | Resp[1]:  0x00001001
[  326.620185] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  326.620191] mmc0: sdhci: Host ctl2: 0x0000804c
[  326.620204] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  326.620206] mmc0: sdhci: ============================================
[  326.620465] mmcblk0: error -110 sending status command, retrying
[  326.676062] mmc0: Tuning timeout, falling back to fixed sampling clock
[  336.860231] mmc0: Timeout waiting for hardware cmd interrupt.
[  336.860240] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  336.860310] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  336.860319] mmc0: sdhci: Blk size:  0x00007040 | Blk cnt:  0x00000001
[  336.860328] mmc0: sdhci: Argument:  0x59b40000 | Trn mode: 0x00000010
[  336.860338] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  336.860347] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  336.860356] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  336.860366] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  336.860375] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  336.860384] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  336.860393] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  336.860403] mmc0: sdhci: Cmd:       0x00000d1a | Max curr: 0x00000000
[  336.860412] mmc0: sdhci: Resp[0]:   0x00001000 | Resp[1]:  0x00000200
[  336.860420] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  336.860426] mmc0: sdhci: Host ctl2: 0x0000804c
[  336.860439] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  336.860441] mmc0: sdhci: ============================================
[  336.860710] mmcblk0: error -110 sending status command, aborting
[  336.860726] print_req_error: I/O error, dev mmcblk0, sector 0
[  336.860736] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[  336.916279] mmc0: Tuning timeout, falling back to fixed sampling clock
[  347.100430] mmc0: Timeout waiting for hardware interrupt.
[  347.100440] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  347.100490] mmc0: sdhci: Sys addr:  0x00000040 | Version:  0x00001502
[  347.100563] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  347.100577] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x0000003b
[  347.100591] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  347.100606] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  347.100621] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  347.100636] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  347.100651] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  347.100666] mmc0: sdhci: AC12 err:  0x00000010 | Slot int: 0x00000000
[  347.100681] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  347.100696] mmc0: sdhci: Cmd:       0x0000123a | Max curr: 0x00000000
[  347.100711] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
[  347.100726] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001000
[  347.100733] mmc0: sdhci: Host ctl2: 0x0000804c
[  347.100755] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  347.100757] mmc0: sdhci: ============================================
[  347.100841] mmc0: Unexpected interrupt 0x04000000.
[  347.100853] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  347.100893] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  347.100905] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  347.100918] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[  347.100934] mmc0: sdhci: Present:   0x1fff0001 | Host ctl: 0x0000001f
[  347.100946] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  347.100962] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  347.100973] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  347.100983] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  347.100994] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  347.101004] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  347.101014] mmc0: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[  347.101025] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
[  347.101036] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001000
[  347.101043] mmc0: sdhci: Host ctl2: 0x0000800c
[  347.101058] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  347.101061] mmc0: sdhci: ============================================
[  347.101322] mmcblk0: error -110 sending stop command, original cmd
response 0x0, card status 0x400900
[  347.156470] mmc0: Tuning timeout, falling back to fixed sampling clock
[  357.340559] mmc0: Timeout waiting for hardware interrupt.
[  357.340578] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  357.340649] mmc0: sdhci: Sys addr:  0x00000040 | Version:  0x00001502
[  357.340664] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  357.340679] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x0000003b
[  357.340694] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  357.340708] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  357.340723] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  357.340737] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  357.340752] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  357.340767] mmc0: sdhci: AC12 err:  0x00000010 | Slot int: 0x00000000
[  357.340782] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  357.340797] mmc0: sdhci: Cmd:       0x0000123a | Max curr: 0x00000000
[  357.340812] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
[  357.340827] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001200
[  357.340834] mmc0: sdhci: Host ctl2: 0x0000804c
[  357.340857] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  357.340859] mmc0: sdhci: ============================================
[  357.340913] mmc0: Unexpected interrupt 0x04000000.
[  357.340921] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  357.340942] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  357.340957] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
[  357.340991] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[  357.341001] mmc0: sdhci: Present:   0x1fff0001 | Host ctl: 0x0000001f
[  357.341010] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  357.341020] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  357.341030] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  357.341041] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  357.341051] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  357.341061] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  357.341071] mmc0: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[  357.341081] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
[  357.341092] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00001200
[  357.341099] mmc0: sdhci: Host ctl2: 0x0000800c
[  357.341112] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  357.341114] mmc0: sdhci: ============================================
[  357.341306] mmcblk0: error -110 sending stop command, original cmd
response 0x0, card status 0x400900
[  357.341309] mmcblk0: error -110 transferring data, sector 0, nr 8,
cmd response 0x0, card status 0x0
[  357.341314] mmcblk0: retrying using single block read
[  357.396638] mmc0: Tuning timeout, falling back to fixed sampling clock
[  367.581163] mmc0: Timeout waiting for hardware cmd interrupt.
[  367.581172] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  367.581219] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
[  367.581229] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000001
[  367.581238] mmc0: sdhci: Argument:  0x59b40000 | Trn mode: 0x00000013
[  367.581247] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
[  367.581256] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  367.581266] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
[  367.581275] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
[  367.581283] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[  367.581293] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
[  367.581302] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
[  367.581312] mmc0: sdhci: Cmd:       0x00000d1a | Max curr: 0x00000000
[  367.581321] mmc0: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00001200
[  367.581330] mmc0: sdhci: Resp[2]:   0x00000201 | Resp[3]:  0x00000000
[  367.581336] mmc0: sdhci: Host ctl2: 0x0000804c
[  367.581349] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
[  367.581351] mmc0: sdhci: ============================================
[  367.581633] mmcblk0: error -110 sending status command, retrying
[  367.636779] mmc0: Tuning timeout, falling back to fixed sampling clock

[toc] | [prev] | [next] | [standalone]


#59835 — Bug#830303: mmc0: Unexpected interrupt 0x04000000.

FromMathieu Malaterre <malat@debian.org>
Date2018-01-05 12:20 +0100
SubjectBug#830303: mmc0: Unexpected interrupt 0x04000000.
Message-ID<v4ycx-32h-7@gated-at.bofh.it>
In reply to#59834
Also for reference:

$ sudo lspci -s 03:00.1 -vvx
03:00.1 SD Host controller: Broadcom Limited BCM57765/57785 SDXC/MMC
Card Reader (rev 10) (prog-if 01)
Subsystem: Broadcom Limited BCM57765/57785 SDXC/MMC Card Reader
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 256 bytes
Interrupt: pin B routed to IRQ 17
Region 0: Memory at c1820000 (64-bit, prefetchable) [size=64K]
Capabilities: [48] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [58] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000  Data: 0000
Capabilities: [ac] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10.000W
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+
MaxPayload 128 bytes, MaxReadReq 4096 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
L0s <1us, L1 <2us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive-
BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF-
MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF-
MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+
MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [150 v1] Power Budgeting <?>
Capabilities: [160 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
00: e4 14 bc 16 06 00 10 00 10 01 05 08 40 00 80 00
10: 0c 00 82 c1 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 e4 14 bc 96
30: 00 00 00 00 48 00 00 00 00 00 00 00 0b 02 00 00

[toc] | [prev] | [next] | [standalone]


#59948 — Bug#830303: mmc0: Unexpected interrupt 0x04000000.

FromMathieu Malaterre <malat@debian.org>
Date2018-01-11 11:00 +0100
SubjectBug#830303: mmc0: Unexpected interrupt 0x04000000.
Message-ID<v6HOp-7wC-5@gated-at.bofh.it>
In reply to#54674
For reference.


---------- Forwarded message ----------


On 05/01/18 14:44, Mathieu Malaterre wrote:
> Hi there,
>
> I am trying to get sdhci-pci driver to work with the following hardware:
>
> $ sudo lspci -s 03:00.1 -v -nn
> 03:00.1 SD Host controller [0805]: Broadcom Limited BCM57765/57785
> SDXC/MMC Card Reader [14e4:16bc] (rev 10) (prog-if 01)
> Subsystem: Broadcom Limited BCM57765/57785 SDXC/MMC Card Reader [14e4:96bc]
> Flags: bus master, fast devsel, latency 0, IRQ 17
> Memory at c1820000 (64-bit, prefetchable) [size=64K]
> Capabilities: [48] Power Management version 3
> Capabilities: [58] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [ac] Express Endpoint, MSI 00
> Capabilities: [100] Advanced Error Reporting
> Capabilities: [150] Power Budgeting <?>
> Capabilities: [160] Virtual Channel
> Kernel driver in use: sdhci-pci
> Kernel modules: sdhci_pci
>
> I am using a MacBookPro10,1. I cannot get the driver to work when
> using a SDHC Samsung Evo 16GB (placed inside a card reader), it always
> report the following (1).
>
> If I now place the card onto a USB reader (USB-HUB reader) then
> everything is fine (tested using f3: f3probe). Are there any options I
> can switch to make the driver more tolerant with my hardware ?
>
> Thanks
>
> Current system is Debian stable with kernel 4.14 (backport), modinfo returns:
>
> $ /sbin/modinfo sdhci-pci
> filename:
> /lib/modules/4.14.0-0.bpo.2-amd64/kernel/drivers/mmc/host/sdhci-pci.ko
> license:        GPL
> description:    Secure Digital Host Controller Interface PCI driver
> author:         Pierre Ossman <pierre@ossman.eu>
> alias:          pci:v*d*sv*sd*bc08sc05i*
> alias:          pci:v00001022d*sv*sd*bc08sc05i*
> alias:          pci:v00001217d00008621sv*sd*bc*sc*i*
> alias:          pci:v00001217d00008620sv*sd*bc*sc*i*
> alias:          pci:v00001217d00008421sv*sd*bc*sc*i*
> alias:          pci:v00001217d00008420sv*sd*bc*sc*i*
> (...)
> alias:          pci:v00001524d00000551sv*sd*bc*sc*i*
> alias:          pci:v00001524d00000550sv*sd*bc*sc*i*
> alias:          pci:v00001180d0000E823sv*sd*bc*sc*i*
> alias:          pci:v00001180d0000E822sv*sd*bc*sc*i*
> alias:          pci:v00001180d00000843sv*sd*bc*sc*i*
> alias:          pci:v00001180d00000822sv*sd*bc*sc*i*
> depends:        sdhci,mmc_core
> intree:         Y
> name:           sdhci_pci
> vermagic:       4.14.0-0.bpo.2-amd64 SMP mod_unload modversions
>
>
> (1)
> [  220.210842] mmc0: Tuning timeout, falling back to fixed sampling clock
> [  220.210934] mmc0: new ultra high speed DDR50 SDHC card at address 59b4
> [  220.219075] mmcblk0: mmc0:59b4 00000 14.9 GiB
> [  230.362858] mmc0: Timeout waiting for hardware interrupt.
> [  230.362868] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
> [  230.362918] mmc0: sdhci: Sys addr:  0x000000c8 | Version:  0x00001502
> [  230.362927] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
> [  230.362937] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x0000003b
> [  230.362946] mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x0000001f
> [  230.362955] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
> [  230.362964] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
> [  230.362974] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
> [  230.362982] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
> [  230.362992] mmc0: sdhci: AC12 err:  0x00000010 | Slot int: 0x00000000
> [  230.363001] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
> [  230.363011] mmc0: sdhci: Cmd:       0x0000123a | Max curr: 0x00000000
> [  230.363020] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
> [  230.363029] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
> [  230.363035] mmc0: sdhci: Host ctl2: 0x0000804c
> [  230.363047] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
> [  230.363049] mmc0: sdhci: ============================================
> [  230.363119] mmc0: Unexpected interrupt 0x04000000.

Tuning error presumably because it used fixed sampling because tuning
failed.  Strange considering that interrupt is not enabled.

If you can't get tuning to work, you may need to disable the transfer modes
that require tuning.


> [  230.363128] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
> [  230.363157] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
> [  230.363166] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
> [  230.363174] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
> [  230.363184] mmc0: sdhci: Present:   0x1fff0001 | Host ctl: 0x0000001f
> [  230.363193] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
> [  230.363203] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
> [  230.363214] mmc0: sdhci: Timeout:   0x0000000a | Int stat: 0x00000000
> [  230.363225] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
> [  230.363234] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
> [  230.363244] mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
> [  230.363253] mmc0: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
> [  230.363263] mmc0: sdhci: Resp[0]:   0x00001201 | Resp[1]:  0x00000000
> [  230.363272] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
> [  230.363278] mmc0: sdhci: Host ctl2: 0x0000800c
> [  230.363292] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000457940204
> [  230.363294] mmc0: sdhci: ============================================
> [  230.363509] mmcblk0: error -110 sending stop command, original cmd
> response 0x0, card status 0x400900
>

[toc] | [prev] | [next] | [standalone]


#63404 — Bug#830303: mmc0: Unexpected interrupt 0x04000000.

FromAlexandros Kosiaris <akosiaris@gmail.com>
Date2019-02-18 23:00 +0100
SubjectBug#830303: mmc0: Unexpected interrupt 0x04000000.
Message-ID<xsZ7b-58W-9@gated-at.bofh.it>
In reply to#54674
Hi,

For what it's worth, it seems on this specific hardware:

Broadcom Limited BCM57765/57785 SDXC/MMC Card Reader [14e4:16bc]

the problem can be resolved by passing:

debug_quirks2=0x4 to sdhci kernel module.

Note that there is also the debug_quirks param. I did set some values
for it but the working one is the default, namely 0

For more information have a look at
https://bugzilla.kernel.org/show_bug.cgi?id=73241#c55

I just tested it on a Macmini7,1Debian having Stretch with
4.19+101~bpo9+1 kernel. I 'll be using it for the next few days, I am
hoping everything will work out ok and I won't have to report more
stuff

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web