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

2017-09-01 Thread Kai-Heng Feng
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Changed in: linux (Ubuntu) Assignee: Kai-Heng Feng (kaihengfeng) => (unassigned) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

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

2017-08-19 Thread Kai-Heng Feng
Did anyone already file a report at bugzilla.kernel.org, or escalate this issue on mailing list? -- 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

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

2017-08-14 Thread Kai-Heng Feng
That's unfortunate. I found that sd_change_phase() and sd_set_timing() in rtsx_usb_sdmmc.c do not have rtsx_usb_get_rsp(), which can be found in rts5139 as rts51x_get_rsp(). That's all I got. Here's the diff I use: diff --git a/drivers/mmc/host/rtsx_usb_sdmmc.c

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

2017-08-14 Thread Oleg
install this kernel: oleg@oleg-Lenovo-G580:~/Завантаження/1$ sudo dpkg -i *.deb [sudo] пароль до oleg: (Читання бази даних ... на дану мить встановлено 315002 файли та каталоги.) Приготування до розпакування linux-headers-4.13.0-5_4.13.0-5.6_all.deb ... Розпакування linux-headers-4.13.0-5

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

2017-08-13 Thread Kai-Heng Feng
Please try kernel in http://people.canonical.com/~khfeng/lp1579748/ svasiljev, can you also try it? Hopefully it didn't bring any regression to the "new" RTS5129. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

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

2017-08-11 Thread Oleg
returm to kernel driver and change in drivers/mmc/host/rtsx_usb_sdmmc.c As advised in https://lkml.org/lkml/2015/10/21/318 comment caps: static void rtsx_usb_init_host(struct rtsx_usb_sdmmc *host) { struct mmc_host *mmc = host->mmc; mmc->f_min = 25; mmc->f_max =

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

2017-08-10 Thread Kai-Heng Feng
Can you guys try the suggestions in comment #32? -- 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

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

2017-08-10 Thread Oleg
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

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

2017-08-10 Thread Oleg
Lenovo g580 The bug is present on the last hwe kernel 4.10.0-30-generic I'll try to test the solution https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579748/comments/24 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

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

2017-08-10 Thread svasiljev
Check these Marcus Overhagen reports from 2015: https://lkml.org/lkml/2015/9/28/593 https://lkml.org/lkml/2015/10/20/590 Here is Marcus response: "Ulf Hansson suggested to experiment with changing MMC_CAPS, but I ran into trouble when trying to install custom kernel image because my /boot

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

2017-08-10 Thread svasiljev
Thanks for your help and feedback, guys. Can't reproduce this issue on a newer hardware - Acer Aspire v15 Nitro, 2016 (with the same RTS5129, live-usb and Transcend 32Gb SDHC card). -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux

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

2017-08-10 Thread Kai-Heng Feng
Ok, first we need to make sure the various changes in mmc/core fixed the issue or not. If the issue still happen, add "mmc_core.dyndbg=+p rtsx_usb_sdmmc.dyndbg=+p" to your kernel parameter and attach dmesg. -- You received this bug notification because you are a member of Kernel Packages, which

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

2017-08-10 Thread Akos Mate
It does not have this problem, with all the cards. For me it has this problem with a Transcend 32GB UHS-I microSD card. It might be a timing or ordering problem, which only appears if the card responds quickly. The same card reads at 20 MB/s without corruption, on the same machine, if I boot to

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

2017-08-10 Thread Kai-Heng Feng
I managed to find a machine with RTS5129, which does not have this issue. Originally I think it's a good idea to bring rts5139 module back, but I can't reproduce the issue on the RTS5129 I have. Can you try 4.13-rc4? There are several fixes landed in mmc/core. ** Changed in: linux (Ubuntu)

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

2017-08-10 Thread Kai-Heng Feng
Actually it uses rts5139. We just need to solve the dma issue. ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng) ** Changed in: linux (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Kernel

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

2017-08-09 Thread Akos Mate
No luck so far, the drive does not show up at all. ** Attachment added: "dmesg.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579748/+attachment/4929642/+files/dmesg.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to

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

2017-08-09 Thread Kai-Heng Feng
I'll build deb package if other Ubuntu users want to test it. -- 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

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

2017-08-09 Thread Kai-Heng Feng
Akos, since you use Gentoo instead of Ubuntu, please try this kernel tree: https://code.launchpad.net/~kaihengfeng/+git/rts5139 -- 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

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

2017-08-07 Thread Akos Mate
Yes, I can. It's now with 4.9.34 kernel, but it's the same problem. ** Attachment added: "dmesg.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579748/+attachment/4928460/+files/dmesg.txt -- You received this bug notification because you are a member of Kernel Packages, which is

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

2017-08-06 Thread Kai-Heng Feng
Akos, Can you attach dmesg? -- 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

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

2017-08-06 Thread Akos Mate
Still there in 4.9.16. Did anybody forward this bug report to the appropriate people? -- 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

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

2017-06-18 Thread Jan Drogi
It seems that solution described here fix the issue: https://github.com/asymingt/rts5139 -- 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

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

2016-10-31 Thread Akos Mate
Same errors, on 4.8.1-gentoo. ** Changed in: linux (Ubuntu) Status: Triaged => Confirmed -- 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

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

2016-07-16 Thread Christopher M. Penalver
svasiljev, the issue you are reporting is an upstream one. Could you please report this problem following the instructions verbatim at https://wiki.ubuntu.com/Bugs/Upstream/kernel to the appropriate mailing list (TO Roger Tseng and Ulf Hansson CC linux-mmc)? Please provide a direct URL to your

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

2016-07-16 Thread svasiljev
Ah, retested on latest 4.7.0-040700rc7-generic #201607110032 - same issues. Another new error pattern: FAT-fs (mmcblk0p1): error, invalid access to FAT (entry 0x0b730a96) FAT-fs (mmcblk0p1): Filesystem has been set read-only attempt to access beyond end of device mmcblk0p1: rw=0,

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

2016-07-16 Thread Christopher M. Penalver
svasiljev, was your most recent test on the latest mainline kernel (4.7-rc7)? ** Tags added: latest-bios-a17 ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

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

2016-07-16 Thread svasiljev
Ok, dmidecode output after BIOS update: A17 05/19/2015 Read test produces same errors after BIOS update. Some new error patterns: mmcblk0: error -110 sending status command, retrying mmcblk0: error -32 sending stop command, original cmd response 0x900, card status 0xb00 FAT-fs (mmcblk0p1):

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

2016-07-02 Thread Christopher M. Penalver
svasiljev, as per http://www.dell.com/support/home/us/en/19/product- support/product/inspiron-17r-se-7720/drivers?os=biosa an update to your computer's buggy, insecure, and outdated BIOS is available (A17). When you update to this following https://help.ubuntu.com/community/BIOSUpdate how does

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

2016-06-29 Thread svasiljev
Christopher, sure.?field.comment=Christopher, sure. ** Attachment added: "usb-devices output" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579748/+attachment/4692413/+files/UsbDevices.txt ** Changed in: linux (Ubuntu) Status: Incomplete => New -- You received this bug

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

2016-06-29 Thread Christopher M. Penalver
svasiljev, could you please post the results of the following terminal command: usb-devices ** Tags removed: kernel-bug-exists-upstream-4.6-rc7 ** Tags added: kernel-bug-exists-upstream-4.7-rc5 needs-bisect ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received

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

2016-06-27 Thread svasiljev
Christopher, done. Issue exists on the latest 4.7.0-040700rc5-generic #201606262232 SMP Mon Jun 27 02:34:07 UTC 2016 x86_64 ** Changed in: linux (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to

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

2016-06-26 Thread Christopher M. Penalver
svasiljev, to keep this relevant to upstream, could you please test the latest mainline kernel (4.7-rc4) and advise to the results? -- 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

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

2016-06-23 Thread Christopher M. Penalver
** Tags added: regression-release -- 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

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

2016-06-18 Thread svasiljev
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 1 4000 * read-only tests doesn't detect any issues; * write-test pattern 0xff (-t 255) is much more efficient then first two default patterns

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

2016-06-05 Thread Christopher M. Penalver
svasiljev, to clarify your Bug Description, you noted badblocks showed errors (indicating bad sectors). Hence, to confirm this isn't a hardware issue, could you please boot into a pre-3.16 kernel, then run badblocks again, and advise to the results? My expectation if your Bug Description comments

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

2016-05-24 Thread Denys Vitali
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

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

2016-05-09 Thread svasiljev
Thanks, Joseph. Bug exists on mainline 4.6.0-040600rc7.201605081830. In first test it completely failed to mount card, spaming with errors: May 9 16:05:53 dev-laptop kernel: [ 103.547966] mmc0: error -110 whilst initialising SD card May 9 16:05:57 dev-laptop kernel: [ 107.655738] mmc0: error

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

2016-05-09 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.6 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix