Bug#830303: sdhci_pci: SD card reader gives error "mmc0: error -110 whilst initialising SD card"
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
Reply to: