You are not logged in.

#1 2018-12-23 20:34:40

^x3ro
Member
Registered: 2018-02-22
Posts: 3

mmc0: error -22 whilst initialising SD card

Hi,

I'm facing an issue with the new SD card my GF bought recently. When I plug it into my card reader, I'm seeing the following dmesg errors:

[ 1079.259955] mmc0: tuning execution failed: -22
[ 1079.259964] mmc0: error -22 whilst initialising SD card
[ 1082.783993] mmc0: tuning execution failed: -22
[ 1082.784004] mmc0: error -22 whilst initialising SD card
[ 1085.186041] mmc0: tuning execution failed: -22
[ 1085.186047] mmc0: error -22 whilst initialising SD card

As one can see, these messages pop up every few seconds while the SD card is plugged in.

This is however not the case for every SD card. Her old one works quite well. And the new one works when I boot up my Windows and also with other devices. It seems to be just my Laptop on arch.

I have of course googled the issue but could only find posts for "error -5" or "error -110" and the proposed workaround for one of those (doing "modprobe sdhci debug_quirks2="0x80000000" or other values for debug_quirks2) did not work for me (which I didn't expect because it was actually another error code).

Here is an image of the two cards:
The left one is the new one that's NOT working. The right one works fine.
https://i.imgur.com/UFU1fQL.jpg

As you can see, the right one is a bit older so maybe I'm just missing a driver that supports the newer card?

Here's my system information:

               +                 User: ---
               #                 Hostname: ---
              ###                Model: Aspire VN7-591G
             #####               Distro: Arch Linux [x86_64]
             ######              Kernel: 4.19.11-arch1-1-ARCH
            ; #####;             Uptime: 48 minutes
           +##.#####             WindowManager: i3
          +##########            DesktopEnvironment: Not detected
         #############;          Shell: /usr/bin/zsh
        ###############+         Terminal: rxvt-unicode-256color ## ## ## ## ## ## ##
       #######   #######         Packages: 1480
     .######;     ;###;`".       Temperature: 50.7 C (Max. 68.0 C)
    .#######;     ;#####.        CPU: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
    #########.   .########`      GPU: NVIDIA Corporation GM107M [GeForce GTX 960M]...
   ######'           '######     RAM: 2372 MB / 15959 MB
  ;####                 ####;    Disk: 690 GB / 925 GB
  ##'                     '##    LAN_IP: ---
 #'                         `#   WAN_IP: ---

I hope there's someone out there who can help me smile

// EDIT:
`df -h` and `lsblk -f` give the same output whether or not the card is plugged in.

Last edited by ^x3ro (2018-12-23 23:04:10)

Offline

#2 2018-12-23 20:45:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: mmc0: error -22 whilst initialising SD card

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-12-23 21:25:21

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 341
Website

Re: mmc0: error -22 whilst initialising SD card

Your ‘system information’ is useless in this case, as suggested have a read of our COC. The output of df -h or lsblk -f might have given us more relevant info.

Offline

#4 2018-12-23 22:56:19

^x3ro
Member
Registered: 2018-02-22
Posts: 3

Re: mmc0: error -22 whilst initialising SD card

Sorry, didn't know what else I could share. Output of `lsblk -f` and `df -h` would not be helpful because it does not change when I plug in the card. Should have mentioned that before...

Last edited by ^x3ro (2018-12-23 23:04:58)

Offline

#5 2018-12-24 04:28:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,697

Re: mmc0: error -22 whilst initialising SD card

lspci/lsusb - you've a realtek card reader?
https://aur.archlinux.org/packages/rts5227-dkms/ - I can't speak to the quality of that module, but the internet is full of this problem and patched drivers…

Offline

Board footer

Powered by FluxBB