SD card error mmc0: error -110 whilst initialising SD card

Bug #1810416 reported by laurius
66
This bug affects 13 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When inserting card to internal card reader:

    laurynas@laurynas-ThinkPad-T450:~$ dmesg
    [342809.333716] mmc0: error -110 whilst initialising SD card

    laurynas@laurynas-ThinkPad-T450:~$ uname -a
    Linux laurynas-ThinkPad-T450 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

SanDisk Extreme 64GB UHS 3. Working fine on windows 10.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-43-generic 4.15.0-43.46
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
Uname: Linux 4.15.0-43-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: laurynas 3963 F.... pulseaudio
 /dev/snd/controlC0: laurynas 3963 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Thu Jan 3 16:09:26 2019
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=6d87ff4e-c0ef-4f84-a96e-19a22e4acce4
InstallationDate: Installed on 2017-02-18 (683 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: LENOVO 20BUS3GN07
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-43-generic root=UUID=a0b409bc-4664-443b-b5be-7941f78d50a8 ro quiet splash vt.handoff=1
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-43-generic N/A
 linux-backports-modules-4.15.0-43-generic N/A
 linux-firmware 1.173.2
SourcePackage: linux
UpgradeStatus: Upgraded to bionic on 2018-10-04 (90 days ago)
dmi.bios.date: 02/27/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: JBET68WW (1.32 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20BUS3GN07
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrJBET68WW(1.32):bd02/27/2018:svnLENOVO:pn20BUS3GN07:pvrThinkPadT450:rvnLENOVO:rn20BUS3GN07:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad T450
dmi.product.name: 20BUS3GN07
dmi.product.version: ThinkPad T450
dmi.sys.vendor: LENOVO

Revision history for this message
laurius (laurynas-tamosiunas) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.20 kernel[0].

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'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".

Thanks in advance.

[0] https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/

Revision history for this message
laurius (laurynas-tamosiunas) wrote :

Still the same:

[ 95.117728] mmc0: error -110 whilst initialising SD card
laurynas@laurynas-ThinkPad-T450:~$ uname -a
Linux laurynas-ThinkPad-T450 4.20.0-042000-generic #201812232030 SMP Mon Dec 24 01:32:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

tags: added: kernel-bug-exists-upstream
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

The system was upgrade from 16.04, did you see the same issue on Linux kernel v4.4?

Revision history for this message
K4LiN (kalinq) wrote :

I've got the same issue on Dell e5470 with Manjaro. Tried kernel v4.19, v4.20, v4.4
The issue is visible on each kernel. The card is brand new and works perfectly fine on camera and on Windows booted on the same machine.

Revision history for this message
Sqoorch (sqoorch) wrote :

The same problem with SanDisk Extreme 64GB.

Tested on live Xubuntu 19.04. Daily build - 2019-03-26 22:49.

xubuntu@xubuntu:~$ uname -a
Linux xubuntu 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:27:25 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

xubuntu@xubuntu:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Disco Dingo (development branch)"
[..]

tags: added: disco
Revision history for this message
Sqoorch (sqoorch) wrote :

the above is on Dell Latitude 5490 with RTS525A card reader.

xubuntu@xubuntu:~$ lspci -v
[..]
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
 Subsystem: Dell RTS525A PCI Express Card Reader
 Flags: bus master, fast devsel, latency 0, IRQ 125
 Memory at ef100000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: <access denied>
 Kernel driver in use: rtsx_pci
 Kernel modules: rtsx_pci

and the relevant "lshw" section:
           *-generic
                description: Unassigned class
                product: RTS525A PCI Express Card Reader
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=rtsx_pci latency=0
                resources: irq:125 memory:ef100000-ef100fff

Revision history for this message
ash (sersorrel) wrote :

Same issue here, also with a SanDisk Extreme microSD card (128GB).

Possibly relevant: https://bugzilla.kernel.org/show_bug.cgi?id=202473

Revision history for this message
ash (sersorrel) wrote :

For anyone experiencing this issue with a Realtek RTL8411 card reader:

04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
 Subsystem: CLEVO/KAPOK Computer RTL8411B PCI Express Card Reader
 Flags: bus master, fast devsel, latency 0, IRQ 19
 Memory at a4215000 (32-bit, non-prefetchable) [size=4K]
 Expansion ROM at a4200000 [disabled] [size=64K]
 Capabilities: <access denied>
 Kernel driver in use: rtsx_pci
 Kernel modules: rtsx_pci

the out-of-tree rts_bpp module appears to work fine with kernel version 4.15.0-47: https://github.com/Ri0n/rts_bpp

Revision history for this message
vseguip (vseguip) wrote :

I'm having the same problem with a Sandisk 64G.

Revision history for this message
Jose Andres Arias Velichko (andres-arias) wrote :

Same bug here on Toshiba Tecra X40-D, with:
"01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)"

The Sandisk A2 128GB Extreme card works on the same hardware when booted into Windows 10. Other Cards are working also.

Revision history for this message
Nicola (nicola-battista89) wrote :

Same bug with Notebook Acer Aspire E5-575G-55GR with Sandisk 64GB extreme.

[ 227.724762] mmc0: error -110 whilst initialising SD card
[ 229.032794] mmc0: error -110 whilst initialising SD card
[ 230.340830] mmc0: error -110 whilst initialising SD card
[ 304.327820] i2c_hid i2c-ELAN0501:00: i2c_hid_get_input: IRQ triggered but there's no data
[ 1587.476136] mmc0: error -110 whilst initialising SD card
[ 1588.784185] mmc0: error -110 whilst initialising SD card

Kubuntu 19.04
AME="Ubuntu"
VERSION="19.04 (Disco Dingo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.04"
VERSION_ID="19.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=disco
UBUNTU_CODENAME=disco

Card Reader :
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please file an upstream bug at [1]. Component -> MMC/SD.

[1] https://bugzilla.kernel.org/enter_bug.cgi?product=Drivers

Revision history for this message
Diachuck Dmytro (siteo-expert) wrote :

I have same problem.
Laptop HP Omen Pro 15, SanDisk 64Gb
I tested it on Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04. It did not work. In all environments, I always get in logs(system) message: "mmc0: error -110 whilst initialising SD card"

This card "SanDisk 64Gb" works on Ubuntu 14* and works on any my cameras.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

If it worked on older kernels, please do a kernel bisection to find the regression commit.

Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Arnold Greving (arnold-arnox) wrote :

This problem also affects me on a Dell Precision 5510 in combination with a SanDisk Extreme Pro 128 GB.

I'm running kernel 5.0.0-25-generic on Ubuntu 19.04

Revision history for this message
Artem Chekunov (scorp-dev-null) wrote :

The same problem(mmc0: error -110 whilst initialising SD card):
HW: Dell Precision 3520
OS: Ubuntu 19.04
KERNEL: 5.0.0-25-generic
SSD: SanDisk Extreme Pro 256 GB

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3-rc6/

I'll raise the issue to Dell/Realtek if it's not fixed on mainline kernel.

Revision history for this message
Stéphane (steph-pak) wrote :

Hi, I had the same issue with an RTS525A.

"mmc0: error -110 whilst initialising SD card"

PC: Dell XPS 9570

OS: Ubuntu 19.04, Linux 5.0.0-15-generic

SD CARD: SanDisk 128Go SDXC V30, U3, 95 mb/s

Some really good dev found at fist a nice workaround that work fine for me:
https://patchwork.kernel.org/patch/11088719/

And here there a final patch to try:
https://patchwork.kernel.org/patch/11116271/

Here, the topic on bugzilla:
https://bugzilla.kernel.org/show_bug.cgi?id=202473

Big thanks

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Since it has "Cc: <email address hidden>", it'll also land to Ubuntu's kernel.

Revision history for this message
laurius (laurynas-tamosiunas) wrote :

Almost a year and still nothing changed. 18.04.3 with 4.20.0-042000-generic still have the same issue.

Revision history for this message
maxwellcom (ndmaxwell) wrote :

Still broken @ 19.10, 5.3.0-24-generic.

Revision history for this message
Zadir de Sena Correa Junior (nortonap) wrote :

I would like to know how to install those patch (https://patchwork.kernel.org/patch/11088719/ and https://patchwork.kernel.org/patch/11116271/), listed above, on Ubuntu, deepin or gpart distro. I am trying to install linux on a mini pc that came with windows 10, but while trying.to do that I receive erros containing "HS 400 -84 whitest mmc", or something like that.
Could somebody help me on that? My WhatsApp is +5596991121266. I am Brazilian, by the way...

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please just test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc5/

Revision history for this message
Mathias (mathias-f) wrote :

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1810416/comments/25

works well for me!

[code]
Okt 11 12:38:25 ubuntu kernel: mmc0: card 59b4 removed
Okt 11 12:38:30 ubuntu kernel: mmc0: cannot verify signal voltage switch
Okt 11 12:38:30 ubuntu kernel: mmc0: new ultra high speed SDR104 SDXC card at address 59b4
Okt 11 12:38:30 ubuntu kernel: mmcblk0: mmc0:59b4 USDU1 113 GiB
Okt 11 12:38:30 ubuntu kernel: mmcblk0: p1 p2

Linux ubuntu 5.8.0-050800rc5-generic #202007140715 SMP Tue Jul 14 11:18:29 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[/code]

Revision history for this message
Joshua Peisach (itzswirlz) wrote :

Unfortunately, and I have found another bug about similar issues with patches, on Ubuntu Jammy 22.04 server (preinstalled), I am getting the same issue on my raspi (arm64).

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1810416

tags: added: iso-testing
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.