← 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

 

Christopher, done. badblocks test completes without errors on Ubuntu
12.04 (3.5.0-48).

My short test example:
badblocks -wsv -e 1 -t 255 /dev/mmcblk0 10000 4000

* read-only tests doesn't detect any issues;
* write-test pattern 0xff (-t 255) is much more efficient then first two default patterns (0xaa and 0x55);
* small random block range used (4000-10000) for quick tests.

Also, this card has been successfully tested on:
- RTS5139 Card Reader Controller (0bda:0139) (rtsx_usb on Lubuntu 16.04);
- ENE Technology Inc pci SD/MMC card reader controller (rtsx_usb on Xubuntu 16.04);
- Nikon camera PTP USB device (gphoto2 on Ubuntu 16.04).

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


References