Bug 1215264

Summary: dvb-s2 card not usable anymore with kernel 6.5
Product: [openSUSE] openSUSE Tumbleweed Reporter: Michael Zapf <Michael.Zapf>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: Gerhard, ivan.ivanov, jslaby, stakanov
Version: Current   
Target Milestone: ---   
Hardware: All   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michael Zapf 2023-09-12 21:08:46 UTC
Since upgrading to 6.5.2, I lost support for my DVBSky DVB-S2 card:

$ dmesg
[...]
[  219.154089] SMI PCIe driver 0000:07:00.0: card detected: DVBSky S950 V3
[  219.262797] dvbdev: DVB: registering new adapter (SMI_DVB)
[  219.263165] failing symbol_get of non-GPLONLY symbol m88ds3103_attach.
[  219.264484] failing symbol_get of non-GPLONLY symbol m88ds3103_attach.
[  219.264487] DVB: Unable to find symbol m88ds3103_attach()

VLC and kaffeine accordingly report that the card cannot be found.


Previously, with 6.4.11:

$ dmesg
[...]
[  193.040419] SMI PCIe driver 0000:07:00.0: DVB: registering adapter 0 frontend 0 (Montage Technology M88DS3103)...
[  193.050454] SMI PCIe driver 0000:07:00.0: DVBSky S950 V3 port 1 MAC: 00:18:33:54:05:51
[  193.050460] Registered IR keymap rc-dvbsky
[  193.050475] rc rc0: IR (DVBSky S950 V3) as /devices/pci0000:00/0000:00:1c.0/0000:07:00.0/rc/rc0
[  193.050652] rc rc0: lirc_dev: driver SMI_PCIe registered at minor = 0, raw IR receiver, no transmitter
[  193.050693] input: IR (DVBSky S950 V3) as /devices/pci0000:00/0000:00:1c.0/0000:07:00.0/rc/rc0/input23


As for DVB-S, I already got used to do a snapper rollback when there is a minor release number switch.
Comment 1 Ivan Ivanov 2023-09-13 05:34:18 UTC
Most probably this[1] will fix it.

[1] https://lore.kernel.org/lkml/20230908092035.3815268-2-gregkh@linuxfoundation.org/
Comment 2 Stakanov Schufter 2023-09-14 07:19:35 UTC
I confirm this with a system running a dvb-s card Montage Technology M88RS6000 based Hauppauge card. 

The symptoms were already present way before only intermittently. Kaffeine states: 
Card not connected

When trying to open a channel, it gives: "no suitable card found or access permissions are erroneous"

[    8.929860] failing symbol_get of non-GPLONLY symbol m88ds3103_attach.
[    8.931462] failing symbol_get of non-GPLONLY symbol m88ds3103_attach.
[    8.931463] DVB: Unable to find symbol m88ds3103_attach()
[    8.931466] cx23885: cx23885[0]: frontend initialization failed
[    8.931468] cx23885: cx23885_dvb_register() dvb_register failed err = -22
[    8.931470] cx23885: cx23885_dev_setup() Failed to register dvb adapters on VID_B
[    8.931472] cx23885: cx23885_dvb_register() allocating 1 frontend(s)
[    8.931473] cx23885: cx23885[0]: cx23885 based dvb card
[    8.940060] i2c i2c-13: Added multiplexed i2c bus 16
[    8.940062] si2168 13-0064: Silicon Labs Si2168-B40 successfully identified
[    8.940064] si2168 13-0064: firmware version: B 4.0.2
[    8.943227] si2157 14-0060: Silicon Labs Si2157 successfully attached


So no error message, but apparently the card it finds is not the right one (montage) but the DVB-T one (silicon) 
The card is mentioned here:
https://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-5525
Comment 3 Stakanov Schufter 2023-09-14 07:21:05 UTC
(In reply to Ivan Ivanov from comment #1)
> Most probably this[1] will fix it.
> 
> [1]
> https://lore.kernel.org/lkml/20230908092035.3815268-2-gregkh@linuxfoundation.
> org/

Hello Ivan.
with which kernel version will this fix be integrated in the kernel, do you happen to know? Just to know when we have to look for the outcome and report back. Thank you.
Comment 4 Jiri Slaby 2023-09-14 07:26:15 UTC
It's in 6.5.3 which is heading to factory soon.

https://build.opensuse.org/request/show/1110855

You can check with Kernel:stable in the meantime.
Comment 5 Takashi Iwai 2023-09-15 12:24:24 UTC
*** Bug 1215358 has been marked as a duplicate of this bug. ***
Comment 6 Stakanov Schufter 2023-09-15 20:17:13 UTC
(In reply to Jiri Slaby from comment #4)
> It's in 6.5.3 which is heading to factory soon.
> 
> https://build.opensuse.org/request/show/1110855
> 
> You can check with Kernel:stable in the meantime.

I confirm that the update:
6.5.3-1-default #1 SMP PREEMPT_DYNAMIC
restores functionality. 

Thank you for fixing lightning fast, outstanding!