← Back to team overview

kernel-packages team mailing list archive

[Bug 1579748] Re: rtsx_usb module for Realtek Semiconductor Corp. RTS5129 Card Reader Controller: mmc errors and read data corruption

 

Same problem here, I'm currently using 4.5.0-rc4-mainline with the Realtek Semiconductor Corp. RTS5129 Card Reader Controller on Arch Linux.
The problem appears just on Linux, and I have fixed it a while ago, until I format my pc and installed Arch. Unfortunately I don't have the solution anymore (see http://unix.stackexchange.com/questions/257033/rts5129-card-reader-with-ubuntu-15-10) since the user who has commented actually deleted his account.

This happens when I put on a class 10 micro sd card with an sdcard
adapter in my Acer Aspire V17 Nitro

[  132.789797] sd 4:0:0:0: [sdc] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[  132.789807] sd 4:0:0:0: [sdc] tag#0 Sense Key : 0x3 [current] 
[  132.789813] sd 4:0:0:0: [sdc] tag#0 ASC=0x11 ASCQ=0x0 
[  132.789818] sd 4:0:0:0: [sdc] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 20 00
[  132.789823] blk_update_request: critical medium error, dev sdc, sector 0
[  132.790660] sd 4:0:0:0: [sdc] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[  132.790666] sd 4:0:0:0: [sdc] tag#0 Sense Key : 0x3 [current] 
[  132.790670] sd 4:0:0:0: [sdc] tag#0 ASC=0x11 ASCQ=0x0 
[  132.790675] sd 4:0:0:0: [sdc] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 08 00
[  132.790679] blk_update_request: critical medium error, dev sdc, sector 0
[  132.790684] Buffer I/O error on dev sdc, logical block 0, async page read
[  132.791535] sd 4:0:0:0: [sdc] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[  132.791546] sd 4:0:0:0: [sdc] tag#0 Sense Key : 0x3 [current] 
[  132.791553] sd 4:0:0:0: [sdc] tag#0 ASC=0x11 ASCQ=0x0 
[  132.791561] sd 4:0:0:0: [sdc] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 08 00
[  132.791567] blk_update_request: critical medium error, dev sdc, sector 0
[  132.791574] Buffer I/O error on dev sdc, logical block 0, async page read


lsmod:
Module                  Size  Used by
fuse                   94208  3
ctr                    16384  2
ccm                    20480  2
cmac                   16384  2
ecb                    16384  1
rfcomm                 61440  14
ipt_MASQUERADE         16384  1
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
iptable_nat            16384  1
nf_conntrack_ipv4      16384  2
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
xt_addrtype            16384  2
iptable_filter         16384  1
xt_conntrack           16384  1
nf_nat                 20480  2 nf_nat_ipv4,nf_nat_masquerade_ipv4
nf_conntrack           90112  5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
br_netfilter           24576  0
bridge                118784  1 br_netfilter
stp                    16384  1 bridge
llc                    16384  2 stp,bridge
dm_thin_pool           61440  1
dm_persistent_data     57344  1 dm_thin_pool
dm_bio_prison          16384  1 dm_thin_pool
dm_bufio               24576  1 dm_persistent_data
libcrc32c              16384  1 dm_persistent_data
crc32c_generic         16384  0
loop                   28672  4
arc4                   16384  2
snd_hda_codec_hdmi     53248  1
snd_hda_codec_realtek    69632  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
bnep                   20480  2
nls_iso8859_1          16384  1
nls_cp437              20480  1
vfat                   20480  1
fat                    65536  1 vfat
i915                 1142784  22
mousedev               20480  0
hid_multitouch         20480  0
ath10k_pci             45056  0
ath10k_core           262144  1 ath10k_pci
ath                    28672  1 ath10k_core
mac80211              643072  1 ath10k_core
r8169                  77824  0
btusb                  40960  0
joydev                 20480  0
btrtl                  16384  1 btusb
uvcvideo               86016  0
i2c_designware_platform    16384  0
mii                    16384  1 r8169
btbcm                  16384  1 btusb
cfg80211              483328  3 ath,mac80211,ath10k_core
drm_kms_helper        106496  1 i915
acer_wmi               20480  0
i2c_designware_core    20480  1 i2c_designware_platform
btintel                16384  1 btusb
sparse_keymap          16384  1 acer_wmi
drm                   286720  9 i915,drm_kms_helper
intel_rapl             20480  0
bluetooth             454656  41 bnep,btbcm,btrtl,btusb,rfcomm,btintel
intel_gtt              20480  1 i915
videobuf2_vmalloc      16384  1 uvcvideo
x86_pkg_temp_thermal    16384  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
videobuf2_memops       16384  1 videobuf2_vmalloc
sysimgblt              16384  1 drm_kms_helper
intel_powerclamp       16384  0
fb_sys_fops            16384  1 drm_kms_helper
i2c_algo_bit           16384  1 i915
coretemp               16384  0
videobuf2_v4l2         20480  1 uvcvideo
rfkill                 20480  9 cfg80211,acer_wmi,bluetooth
kvm_intel             180224  0
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
videodev              147456  3 uvcvideo,videobuf2_core,videobuf2_v4l2
kvm                   487424  1 kvm_intel
snd_hda_intel          32768  6
media                  24576  2 uvcvideo,videodev
snd_hda_codec         106496  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
evdev                  24576  15
input_leds             16384  0
irqbypass              16384  1 kvm
led_class              16384  2 acer_wmi,input_leds
snd_hda_core           49152  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
mac_hid                16384  0
snd_hwdep              16384  1 snd_hda_codec
idma64                 20480  0
pcspkr                 16384  0
serio_raw              16384  0
snd_pcm                86016  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer              28672  1 snd_pcm
snd                    65536  20 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
mei_me                 32768  0
soundcore              16384  1 snd
i2c_i801               20480  0
i2c_hid                20480  0
mei                    81920  1 mei_me
shpchp                 32768  0
intel_lpss_pci         16384  0
thermal                20480  0
hid                   114688  2 i2c_hid,hid_multitouch
acpi_als               16384  0
kfifo_buf              16384  1 acpi_als
industrialio           49152  2 acpi_als,kfifo_buf
battery                20480  0
ac                     16384  0
wmi                    20480  1 acer_wmi
pinctrl_sunrisepoint    28672  0
video                  36864  2 i915,acer_wmi
tpm_crb                16384  0
pinctrl_intel          20480  1 pinctrl_sunrisepoint
intel_lpss_acpi        16384  0
intel_lpss             16384  2 intel_lpss_pci,intel_lpss_acpi
tpm_tis                20480  0
fjes                   28672  0
tpm                    36864  2 tpm_crb,tpm_tis
button                 16384  1 i915
acpi_pad               20480  0
processor              32768  0
sch_fq_codel           20480  6
vboxnetflt             28672  0
vboxnetadp             28672  0
pci_stub               16384  1
vboxpci                24576  0
vboxdrv               385024  3 vboxnetadp,vboxnetflt,vboxpci
ip_tables              28672  2 iptable_filter,iptable_nat
x_tables               28672  5 ip_tables,ipt_MASQUERADE,xt_conntrack,iptable_filter,xt_addrtype
ext4                  516096  2
crc16                  16384  2 ext4,bluetooth
mbcache                20480  1 ext4
jbd2                   90112  1 ext4
sha256_ssse3           32768  1
sha256_generic         24576  1 sha256_ssse3
hmac                   16384  1
drbg                   32768  1
ansi_cprng             16384  0
algif_skcipher         20480  0
af_alg                 16384  1 algif_skcipher
rts5139               315392  0
dm_crypt               28672  1
dm_mod                102400  8 dm_persistent_data,dm_bufio,dm_crypt,dm_thin_pool
sr_mod                 24576  0
cdrom                  49152  1 sr_mod
sd_mod                 36864  4
atkbd                  24576  0
libps2                 16384  1 atkbd
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
crc32c_intel           24576  1
ghash_clmulni_intel    16384  0
aesni_intel           167936  8
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
glue_helper            16384  1 aesni_intel
ablk_helper            16384  1 aesni_intel
cryptd                 20480  4 ghash_clmulni_intel,aesni_intel,ablk_helper
ahci                   36864  3
libahci                28672  1 ahci
xhci_pci               16384  0
xhci_hcd              159744  1 xhci_pci
libata                196608  2 ahci,libahci
scsi_mod              151552  4 rts5139,libata,sd_mod,sr_mod
usbcore               196608  5 btusb,uvcvideo,rts5139,xhci_hcd,xhci_pci
usb_common             16384  1 usbcore
i8042                  24576  2 acer_wmi,libps2
serio                  20480  4 serio_raw,atkbd,i8042

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1579748

Title:
  rtsx_usb module for Realtek Semiconductor Corp. RTS5129 Card Reader
  Controller: mmc errors and read data corruption

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  RTS5129 Card Reader has issues with rtsx_usb module on kernels >=3.16
  (since kmod-staging rts5129 module replaced with rtsx).

  Copying files from FAT32 SDHC memory card produces error messages in syslog:
  May  9 05:39:15 dev-laptop kernel: [  134.762713] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
  May  9 05:39:15 dev-laptop kernel: [  135.427035] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
  May  9 05:39:16 dev-laptop kernel: [  136.030041] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900

  Also these errors indicate that copied files are corrupted - md5sum
  shows different checksums for copied file after each "insert card/copy
  file/check md5sum/eject card" cycle (actually you can skip "copy file"
  step and run "check md5sum" step directly with file on mounted memory
  card filesystem).

  Running sudo badblocks -n /dev/mmcblk0 produces same error messages
  and prints a lot of random block numbers.

  Hardware:
   - dell inspiron 7720 laptop (a few different RAM modules and HDD drives used for testing);
   - Realtek Semiconductor Corp. RTS5129 Card Reader (ID 0bda:0129);
   - Transcend 32Gb SDHC Memory card Class 10 UHS-I.

  Bug exists in latest xenial 4.4.0-22.39 kernel and xenial mainline
  4.4.9-040409_4.4.9-040409.201605041832.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-22-generic 4.4.0-22.39
  ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  dev        1692 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Mon May  9 08:38:14 2016
  HibernationDevice: RESUME=UUID=cf073128-d53a-4214-96bc-3acdf0516900
  InstallationDate: Installed on 2016-05-08 (0 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  MachineType: Dell Inc. Inspiron 7720
  ProcFB:
   0 inteldrmfb
   1 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic root=UUID=2e4e4944-669a-4f1b-a080-87971c644984 ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-22-generic N/A
   linux-backports-modules-4.4.0-22-generic  N/A
   linux-firmware                            1.157
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: yes
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/23/2013
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A16
  dmi.board.name: 04M3YM
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 0.1
  dmi.modalias: dmi:bvnDellInc.:bvrA16:bd08/23/2013:svnDellInc.:pnInspiron7720:pvr:rvnDellInc.:rn04M3YM:rvrA00:cvnDellInc.:ct8:cvr0.1:
  dmi.product.name: Inspiron 7720
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579748/+subscriptions


References