You are not logged in.

#1 2015-09-28 09:20:40

aky
Member
From: BTW, I use Arch Windows...
Registered: 2009-03-14
Posts: 35

Integrated card reader stopped working since linux 3.15

Hello fellow archers,

I rarely post anything on the forums unless I have something to contribute or I need some help.
This time is for the latter, so please help me if you can.

I kept on testing newer (than 3.15) kernels with no success:
the integrated SD card reader in my Dell Inspiron does not work with any kernel version newer than 3.15.8

The card reader is a Realtek RTS5129:

[aky@3axis ~]$ lsusb
Bus 002 Device 003: ID 8087:07da Intel Corp. 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 064e:8126 Suyin Corp. 
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[aky@3axis ~]$

The kernel modules seem to be loaded (rtsx_usb, rtsx_usb_sdmmc, rtsx_usb_ms):

[aky@3axis ~]$ lsusb
Bus 002 Device 003: ID 8087:07da Intel Corp. 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 064e:8126 Suyin Corp. 
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[aky@3axis ~]$ lsmod
Module                  Size  Used by
rfcomm                 61440  12
cmac                   16384  2
ecb                    16384  1
fuse                   90112  5
jitterentropy_rng      16384  0
sha256_ssse3           28672  1
sha256_generic         24576  1 sha256_ssse3
hmac                   16384  1
drbg                   32768  1
ansi_cprng             16384  0
ctr                    16384  2
ccm                    20480  2
rtsx_usb_ms            20480  0
memstick               16384  1 rtsx_usb_ms
bnep                   20480  2
joydev                 20480  0
mousedev               20480  0
uvcvideo               86016  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_core         40960  1 uvcvideo
v4l2_common            16384  1 videobuf2_core
btusb                  40960  0
videodev              143360  3 uvcvideo,v4l2_common,videobuf2_core
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
bluetooth             446464  37 bnep,btbcm,btrtl,btusb,rfcomm,btintel
media                  20480  2 uvcvideo,videodev
dell_wmi               16384  0
sparse_keymap          16384  1 dell_wmi
intel_rapl             20480  0
iosf_mbi               16384  1 intel_rapl
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             163840  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
kvm                   446464  1 kvm_intel
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
arc4                   16384  2
crc32c_intel           24576  0
dell_laptop            20480  0
dcdbas                 16384  1 dell_laptop
ghash_clmulni_intel    16384  0
dell_smm_hwmon         16384  0
aesni_intel           167936  6
aes_x86_64             20480  1 aesni_intel
iwldvm                184320  0
snd_hda_codec_hdmi     49152  1
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
glue_helper            16384  1 aesni_intel
mac80211              651264  1 iwldvm
ablk_helper            16384  1 aesni_intel
snd_hda_codec_cirrus    20480  1
i915                 1056768  7
cryptd                 20480  3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_codec_generic    69632  1 snd_hda_codec_cirrus
evdev                  24576  28
iwlwifi               172032  1 iwldvm
input_leds             16384  0
mac_hid                16384  0
drm_kms_helper        102400  1 i915
snd_hda_intel          32768  6
psmouse               118784  0
pcspkr                 16384  0
snd_hda_codec         106496  4 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_cirrus
serio_raw              16384  0
i2c_i801               20480  0
cfg80211              466944  3 iwlwifi,mac80211,iwldvm
drm                   286720  9 i915,drm_kms_helper
snd_hda_core           49152  4 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                86016  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
alx                    36864  0
lpc_ich                24576  0
snd_timer              28672  1 snd_pcm
rfkill                 20480  6 cfg80211,bluetooth,dell_laptop
mdio                   16384  1 alx
snd                    65536  20 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
intel_gtt              20480  1 i915
mei_me                 24576  0
soundcore              16384  1 snd
i2c_algo_bit           16384  1 i915
mei                    77824  1 mei_me
shpchp                 32768  0
wmi                    20480  1 dell_wmi
thermal                20480  0
battery                20480  0
ac                     16384  0
video                  32768  3 i915,dell_wmi,dell_laptop
processor              32768  0
button                 16384  1 i915
sch_fq_codel           20480  6
usbip_host             24576  0
usbip_core             28672  1 usbip_host
rtsx_usb_sdmmc         28672  0
led_class              16384  4 rtsx_usb_sdmmc,iwldvm,dell_laptop,input_leds
mmc_core              110592  1 rtsx_usb_sdmmc
rtsx_usb               20480  2 rtsx_usb_sdmmc,rtsx_usb_ms
ip_tables              28672  0
x_tables               28672  1 ip_tables
ext4                  507904  1
crc16                  16384  2 ext4,bluetooth
mbcache                20480  1 ext4
jbd2                   90112  1 ext4
sd_mod                 36864  2
atkbd                  24576  0
libps2                 16384  2 atkbd,psmouse
ahci                   36864  1
libahci                28672  1 ahci
libata                196608  2 ahci,libahci
xhci_pci               16384  0
scsi_mod              147456  2 libata,sd_mod
ehci_pci               16384  0
xhci_hcd              155648  1 xhci_pci
ehci_hcd               69632  1 ehci_pci
usbcore               196608  8 btusb,uvcvideo,rtsx_usb,ehci_hcd,ehci_pci,usbip_host,xhci_hcd,xhci_pci
usb_common             16384  2 usbip_core,usbcore
i8042                  24576  2 libps2,dell_laptop
serio                  20480  6 serio_raw,atkbd,i8042,psmouse
[aky@3axis ~]$

dmesg shows this each time the card is inserted:

[  808.063281] mmc0: tuning execution failed
[  808.063289] mmc0: error -22 whilst initialising SD card

[Edit] Last kernel version tested:

[aky@3axis ~]$ uname -a
Linux 3axis 4.2.1-1-ARCH #1 SMP PREEMPT Tue Sep 22 06:57:07 CEST 2015 x86_64 GNU/Linux
[aky@3axis ~]$

I just erased all partitions on this card (it had an ext4) on another laptop and tried again but the device still doesn't show in /dev/

The SD card is a Samsung SDHCI (class 10) 32GB card.

If I downgrade to linux 3.15.8 everything works as it used to: the SD card is available/usable.

Please help me get over this issue.

Thanks,
G

Last edited by aky (2015-09-29 10:03:42)

Offline

#2 2015-09-28 21:13:01

aky
Member
From: BTW, I use Arch Windows...
Registered: 2009-03-14
Posts: 35

Re: Integrated card reader stopped working since linux 3.15

Hi again,

Here it is what happens when the SD card is inserted with the latest ArchLinux ISO (2015.09.01) booted, kernel 4.1.6:
http://i62.tinypic.com/5ujntw.jpg

I just downloaded the latest ArchLinux ISO, put it on an USB stick and booted.
Then inserted the SD card and the error messages started to fill up the screen, repeating at 2 or 3 seconds.

Sorry for the poor quality of the picture.

I still hope that someone knows what can be done so I can put 3.15.8 behind.

Thanks,
G

Last edited by aky (2015-09-28 21:35:04)

Offline

#3 2015-09-30 08:25:22

Hugao
Member
From: Portugal
Registered: 2014-02-25
Posts: 27
Website

Re: Integrated card reader stopped working since linux 3.15

Hey there,
I'm having the same problem.

Kernel: 4.2.1-1
Cardreader: Realtek Semiconductor Corp. RTS5129 Card Reader Controller
SD Card: SandDisk Ultra 16GB Class10

Cheers,
Hugo Rodrigues

Offline

#4 2015-09-30 08:38:36

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: Integrated card reader stopped working since linux 3.15

There was a bunch of changes to this driver between 3.15.x and 3.16.x. Your best bet is running git-bisect on the kernel.

Offline

#5 2015-09-30 08:40:01

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Integrated card reader stopped working since linux 3.15

Report this failure upstream is my suggestion.

Last edited by graysky (2015-09-30 08:40:20)

Offline

Board footer

Powered by FluxBB