You are not logged in.

#1 2011-12-12 12:51:33

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 347

[SOLVED] RTS5116 PCI Express Card Reader not recognized

Hi,

this is my card reader:

Device:	13:00.0
Class:	Unassigned class [ff00]
Vendor:	Realtek Semiconductor Co., Ltd. [10ec]
Device:	RTS5116 PCI Express Card Reader [5209]
SVendor:	Hewlett-Packard Company [103c]
SDevice:	Device [3581]
Rev:	01
Driver:	rts_pstor
Module:	rts_pstor

and errors are shown also during the boot,

Dec 11 21:23:28 localhost kernel: [ 3155.132435] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
Dec 11 21:23:58 localhost kernel: [    6.567303] Bad LUN (0:1)
Dec 11 21:23:58 localhost kernel: [    6.567369] Bad target number (1:0)
Dec 11 21:23:58 localhost kernel: [    6.567443] Bad target number (2:0)
Dec 11 21:23:58 localhost kernel: [    6.567507] Bad target number (3:0)
Dec 11 21:23:58 localhost kernel: [    6.567572] Bad target number (4:0)
Dec 11 21:23:58 localhost kernel: [    6.567638] Bad target number (5:0)
Dec 11 21:23:58 localhost kernel: [    6.567706] Bad target number (6:0)
Dec 11 21:23:58 localhost kernel: [    6.567760] Bad target number (7:0)

Full dmesg log

[    6.905826] scsi 6:0:0:0: Direct-Access     Generic- xD/SD/M.S.       1.00 PQ: 0 ANSI: 0 CCS
[    6.905999] Bad LUN (0:1)
[    6.906036] scsi: killing requests for dead queue
[    6.906082] Bad target number (1:0)
[    6.906106] scsi: killing requests for dead queue
[    6.906136] Bad target number (2:0)
[    6.906160] scsi: killing requests for dead queue
[    6.906187] Bad target number (3:0)
[    6.906209] scsi: killing requests for dead queue
[    6.906265] Bad target number (4:0)
[    6.906297] scsi: killing requests for dead queue
[    6.906319] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[    6.906335] Bad target number (5:0)
[    6.906357] scsi: killing requests for dead queue
[    6.906384] Bad target number (6:0)
[    6.906406] scsi: killing requests for dead queue
[    6.906432] Bad target number (7:0)
[    6.906454] scsi: killing requests for dead queue
[    6.906462] rts_pstor: device scan complete

Any help would be great.

Last edited by r0b0t (2012-07-05 16:16:26)

Offline

#2 2011-12-13 22:27:42

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 347

Re: [SOLVED] RTS5116 PCI Express Card Reader not recognized

same with 3.1.5-1-ARCH ..

any advice?
should I open a bug for this?

I found that realtek supports up to 2.6.37

http://www.realtek.com/Downloads/downlo … Down=false

any help is welcome

Last edited by r0b0t (2011-12-14 13:25:48)

Offline

#3 2012-01-23 17:00:12

christopher72
Member
Registered: 2010-09-07
Posts: 24

Re: [SOLVED] RTS5116 PCI Express Card Reader not recognized

https://bbs.archlinux.org/viewtopic.php?id=124139  appears to be the same bug. 
I filed a bug in Kernel Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42640

Offline

#4 2012-01-26 08:22:24

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 347

Re: [SOLVED] RTS5116 PCI Express Card Reader not recognized

thank you, for now I blacklisted rts_pstor and finally got reed of the errors.
However would be good to have this working, let's hope for a fix.

Offline

#5 2012-03-21 23:54:10

christopher72
Member
Registered: 2010-09-07
Posts: 24

Re: [SOLVED] RTS5116 PCI Express Card Reader not recognized

I got in touch with the developer of the module. I think he's looking into it.

It is possible to get rid of the errors and still have a working rts_pstor module.  For that, you need to download the source code from the realtek site, then edit the source code and comment out the lines that print the error messages, compile, gzip, and copy the rts_pstor.ko.gz file to the appropriate path.

Of course, that's still a workaround, since it doesn't take away the cause of the errors. That's why I don't really feel like getting into detail with the instructions above. :-)

Offline

#6 2012-03-23 19:15:22

christopher72
Member
Registered: 2010-09-07
Posts: 24

Re: [SOLVED] RTS5116 PCI Express Card Reader not recognized

From the developer:
"We will fix the issue to printing "bad lun" or "bad target number" during boot, in our next submission to the kernel staging tree. ".

Offline

#7 2012-04-28 02:51:09

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 347

Re: [SOLVED] RTS5116 PCI Express Card Reader not recognized

Same issue with 3.3.3-1-ARCH, with which version will be fixed?

Offline

#8 2012-05-02 16:58:11

christopher72
Member
Registered: 2010-09-07
Posts: 24

Re: [SOLVED] RTS5116 PCI Express Card Reader not recognized

r0b0t wrote:

Same issue with 3.3.3-1-ARCH, with which version will be fixed?

I asked. smile  according to the developer:
Because of the kernel merge window, the fix will be contained in kernel 3.4

Offline

#9 2012-07-05 16:15:40

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 347

Re: [SOLVED] RTS5116 PCI Express Card Reader not recognized

yep, confirmed, actually it works

Offline

Board footer

Powered by FluxBB