compile https://github.com/asymingt/rts5139
Linux oleg-Lenovo-G580 4.10.0-30-generic #34~16.04.1-Ubuntu SMP Wed Aug 2 02:13:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [10366.363560] sd 6:0:0:0: [sdb] 7954432 512-byte logical blocks: (4.07 GB/3.79 GiB) [10376.625609] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [10376.625618] sd 6:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current] [10376.625623] sd 6:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error [10376.625630] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00 [10376.625634] blk_update_request: critical medium error, dev sdb, sector 0 [10376.625646] Buffer I/O error on dev sdb, logical block 0, async page read [10386.866325] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [10386.866333] sd 6:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current] [10386.866338] sd 6:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error [10386.866345] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00 [10386.866350] blk_update_request: critical medium error, dev sdb, sector 0 [10386.866360] Buffer I/O error on dev sdb, logical block 0, async page read [10397.107027] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [10397.107031] sd 6:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current] [10397.107033] sd 6:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error [10397.107036] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00 [10397.107038] blk_update_request: critical medium error, dev sdb, sector 0 [10397.107043] Buffer I/O error on dev sdb, logical block 0, async page read [10397.107056] ldm_validate_partition_table(): Disk read failed. # lsmod Module Size Used by hid_generic 16384 0 usbhid 53248 0 hid 118784 2 hid_generic,usbhid rfcomm 77824 12 pci_stub 16384 1 vboxpci 24576 0 vboxnetadp 28672 0 vboxnetflt 28672 0 vboxdrv 458752 3 vboxnetadp,vboxnetflt,vboxpci zram 24576 4 bnep 20480 2 rts5139 315392 0 uvcvideo 90112 0 videobuf2_vmalloc 16384 1 uvcvideo videobuf2_memops 16384 1 videobuf2_vmalloc videobuf2_v4l2 24576 1 uvcvideo videobuf2_core 40960 2 uvcvideo,videobuf2_v4l2 videodev 172032 3 uvcvideo,videobuf2_core,videobuf2_v4l2 media 40960 2 uvcvideo,videodev btusb 45056 0 btrtl 16384 1 btusb btbcm 16384 1 btusb btintel 16384 1 btusb bluetooth 557056 39 btrtl,btintel,bnep,btbcm,rfcomm,btusb wl 6447104 0 intel_rapl 20480 0 x86_pkg_temp_thermal 16384 0 intel_powerclamp 16384 0 kvm_intel 200704 0 kvm 593920 1 kvm_intel irqbypass 16384 1 kvm crct10dif_pclmul 16384 0 crc32_pclmul 16384 0 ghash_clmulni_intel 16384 0 cryptd 24576 1 ghash_clmulni_intel intel_cstate 20480 0 intel_rapl_perf 16384 0 joydev 20480 0 input_leds 16384 0 serio_raw 16384 0 snd_hda_codec_hdmi 49152 1 snd_hda_codec_conexant 24576 1 snd_hda_codec_generic 73728 1 snd_hda_codec_conexant snd_hda_intel 36864 3 snd_hda_codec 126976 4 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_codec_generic snd_hda_core 81920 5 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic snd_hwdep 16384 1 snd_hda_codec snd_pcm 102400 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi snd_seq_midi 16384 0 snd_seq_midi_event 16384 1 snd_seq_midi snd_rawmidi 32768 1 snd_seq_midi snd_seq 65536 2 snd_seq_midi_event,snd_seq_midi snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi snd_timer 32768 2 snd_seq,snd_pcm ideapad_laptop 24576 0 lpc_ich 24576 0 mei_me 40960 0 snd 77824 17 snd_hda_intel,snd_hwdep,snd_hda_codec_conexant,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_pcm cfg80211 602112 1 wl sparse_keymap 16384 1 ideapad_laptop wmi 16384 1 ideapad_laptop mei 102400 1 mei_me shpchp 36864 0 soundcore 16384 1 snd mac_hid 16384 0 coretemp 16384 0 bbswitch 16384 0 parport_pc 32768 0 ppdev 20480 0 lp 20480 0 parport 49152 3 lp,parport_pc,ppdev autofs4 40960 2 btrfs 1089536 2 xor 24576 1 btrfs raid6_pq 114688 1 btrfs i915 1449984 11 i2c_algo_bit 16384 1 i915 drm_kms_helper 151552 1 i915 syscopyarea 16384 1 drm_kms_helper sysfillrect 16384 1 drm_kms_helper sysimgblt 16384 1 drm_kms_helper ahci 36864 4 fb_sys_fops 16384 1 drm_kms_helper psmouse 139264 0 libahci 32768 1 ahci alx 45056 0 drm 352256 7 i915,drm_kms_helper mdio 16384 1 alx fjes 77824 0 video 40960 2 i915,ideapad_laptop -- 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: Incomplete 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 -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp