Moderator Control Panel ]

TBS6902 on Linux 4.11

TBS6902 on Linux 4.11

Postby rubdos » Mon Jul 31, 2017 11:15 pm

Hi,

I sent an e-mail to support, and opened a GitHub issue, but didn't get any reaction yet (for 10 days).

The GitHub issue: https://github.com/tbsdtv/linux_media/issues/69

It comes down to a driver crash, which might or might not get resolved by rebasing linux_media on mainline.

Would it be an idea to get the now open source TBS drivers mainlined into the kernel, some day? It would relieve a lot of work from TBS users.

Ruben
Last edited by rubdos on Thu Aug 03, 2017 2:29 am, edited 1 time in total.
rubdos
 
Posts: 12
Joined: Sun Jul 23, 2017 12:10 am

Re: TBS6902 on Linux 4.11

Postby steven » Tue Aug 01, 2017 2:41 pm

Hi

Thanks for your feedback , as kernel 4.11 is the latest one ,something need to check
please return to kernel 4.10 to test whether is ok

for 4.11 we will have more check with this

Thanks

Kind Regards

steven
steven
 
Posts: 2058
Joined: Fri Aug 06, 2010 3:23 pm

Re: TBS6902 on Linux 4.11

Postby rubdos » Wed Aug 02, 2017 10:31 pm

Actually, Fedora 26 doesn't have kernel 4.10 anymore, so I cannot go back.

Oh, and 4.12 will soon be there too :-)
rubdos
 
Posts: 12
Joined: Sun Jul 23, 2017 12:10 am

Re: TBS6902 on Linux 4.11

Postby rubdos » Sat Aug 12, 2017 7:31 pm

Testing on 4.12:

Code: Select All Code
[ 1163.240675] tas2101: loading out-of-tree module taints kernel.
[ 1163.240717] tas2101: module verification failed: signature and/or required key missing - tainting kernel
[ 1163.243497] TBSECP3 driver 0000:24:00.0: enabling device (0000 -> 0002)
[ 1163.243574] TBSECP3 driver 0000:24:00.0: TurboSight TBS 6902 DVB-S/S2
[ 1163.244054] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[ 1163.367218] TBSECP3 driver 0000:24:00.0: MAC address 00:22:ab:f0:f4:6e
[ 1163.367302] i2c i2c-5: Added multiplexed i2c bus 8
[ 1163.367337] i2c i2c-5: Added multiplexed i2c bus 9
[ 1163.475628] i2c i2c-9: av201x: Airoha Technology AV201x successfully attached
[ 1163.475649] TBSECP3 driver 0000:24:00.0: DVB: registering adapter 0 frontend 0 (TurboSight TBS 6902 DVB-S/S2 )...
[ 1163.475869] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[ 1163.547236] TBSECP3 driver 0000:24:00.0: MAC address 00:22:ab:f0:f4:6f
[ 1163.547318] i2c i2c-4: Added multiplexed i2c bus 10
[ 1163.547344] i2c i2c-4: Added multiplexed i2c bus 11
[ 1163.655255] i2c i2c-11: av201x: Airoha Technology AV201x successfully attached
[ 1163.655262] TBSECP3 driver 0000:24:00.0: DVB: registering adapter 1 frontend 0 (TurboSight TBS 6902 DVB-S/S2 )...
[ 1163.655513] TBSECP3 driver 0000:24:00.0: TurboSight TBS 6902 DVB-S/S2 : PCI 0000:24:00.0, IRQ 57, MMIO 0xfe500000
[ 1163.882655] BUG: unable to handle kernel NULL pointer dereference at           (null)
[ 1163.882671] IP: av201x_wrm+0x2a/0xe0 [av201x]
[ 1163.882674] PGD 309026067
[ 1163.882675] P4D 309026067
[ 1163.882677] PUD 306862067
[ 1163.882679] PMD 0

[ 1163.882686] Oops: 0000 [#1] SMP
[ 1163.882689] Modules linked in: av201x(OE) tbsecp3(OE) tas2101(OE) dvb_core i2c_mux xt_nat veth binfmt_misc ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_addrtype ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ip_set nfnetlink xt_conntrack ebtable_nat br_netfilter ebtable_broute bridge ip6table_nat nf_conntrack_ipv6 stp llc nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables vfat fat edac_mce_amd kvm snd_hda_codec_realtek eeepc_wmi snd_hda_codec_generic asus_wmi sparse_keymap rfkill snd_hda_intel video snd_hda_codec irqbypass crct10dif_pclmul snd_hda_core crc32_pclmul snd_hwdep snd_pcm ghash_clmulni_intel snd_timer
[ 1163.882752]  snd sp5100_tco soundcore ccp i2c_piix4 wmi shpchp acpi_cpufreq tpm_tis tpm_tis_core tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc btrfs xor raid6_pq crc32c_intel r8169 mii nvme nvme_core
[ 1163.882783] CPU: 0 PID: 31820 Comm: kdvb-ad-0-fe-0 Tainted: G           OE   4.12.5-300.fc26.x86_64 #1
[ 1163.882792] Hardware name: System manufacturer System Product Name/PRIME A320M-K, BIOS 0608 05/05/2017
[ 1163.882801] task: ffffa0ad7c39a5c0 task.stack: ffffaf0e81c8c000
[ 1163.882809] RIP: 0010:av201x_wrm+0x2a/0xe0 [av201x]
[ 1163.882814] RSP: 0018:ffffaf0e81c8fd28 EFLAGS: 00010246
[ 1163.882820] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 1163.882826] RDX: 0000000000000002 RSI: ffffaf0e81c8fda6 RDI: 0000000000000000
[ 1163.882832] RBP: ffffaf0e81c8fd60 R08: ffffa0abdeb9e900 R09: 00000000000003e8
[ 1163.882837] R10: ffffaf0e81c8fe00 R11: 00000000000001a0 R12: ffffaf0e81c8fda6
[ 1163.882843] R13: 0000000000000002 R14: ffffa0ac53545828 R15: ffffa0ac07cafc00
[ 1163.882849] FS:  0000000000000000(0000) GS:ffffa0ad7e600000(0000) knlGS:0000000000000000
[ 1163.882858] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1163.882864] CR2: 0000000000000000 CR3: 0000000309398000 CR4: 00000000003406f0
[ 1163.882870] Call Trace:
[ 1163.882878]  ? i2c_mux_unlock_bus+0x31/0x40 [i2c_mux]
[ 1163.882886]  av201x_regmask+0xbe/0x150 [av201x]
[ 1163.882894]  ? i2c_transfer+0x62/0xd0
[ 1163.882901]  av201x_wrtable+0x3e/0x70 [av201x]
[ 1163.882908]  ? av201x_wrtable+0x3e/0x70 [av201x]
[ 1163.882915]  ? tas2101_wrtable+0x3e/0x70 [tas2101]
[ 1163.882922]  av201x_init+0x3f/0x130 [av201x]
[ 1163.882928]  ? tas2101_initfe+0xf9/0x160 [tas2101]
[ 1163.882939]  dvb_frontend_init+0x51/0xb0 [dvb_core]
[ 1163.882949]  dvb_frontend_thread+0x76/0x6e0 [dvb_core]
[ 1163.882957]  ? __schedule+0x23e/0x860
[ 1163.882965]  kthread+0x125/0x140
[ 1163.882974]  ? dtv_set_frontend+0x410/0x410 [dvb_core]
[ 1163.882980]  ? kthread_park+0x60/0x60
[ 1163.882987]  ret_from_fork+0x25/0x30
[ 1163.882993] Code: 00 0f 1f 44 00 00 55 48 89 e5 41 55 41 54 53 48 89 fb 49 89 f4 41 89 d5 48 83 ec 20 65 48 8b 04 25 28 00 00 00 48 89 45 e0 31 c0 <48> 8b 07 0f b6 00 66 89 55 d4 48 89 75 d8 66 89 45 d0 31 c0 66
[ 1163.883041] RIP: av201x_wrm+0x2a/0xe0 [av201x] RSP: ffffaf0e81c8fd28
[ 1163.883046] CR2: 0000000000000000
[ 1163.883052] ---[ end trace a5a12bf13d2f6eb2 ]---
[ 1164.461420] show_signal_msg: 4 callbacks suppressed
rubdos
 
Posts: 12
Joined: Sun Jul 23, 2017 12:10 am

Re: TBS6902 on Linux 4.11

Postby rubdos » Mon Aug 14, 2017 8:40 pm

Any update on this? :/ 4.13 is already around the corner.
rubdos
 
Posts: 12
Joined: Sun Jul 23, 2017 12:10 am

Re: TBS6902 on Linux 4.11

Postby crazycat » Tue Aug 15, 2017 4:49 am

Use LTS kernels :-)
crazycat
 
Posts: 463
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

Re: TBS6902 on Linux 4.11

Postby rubdos » Tue Aug 15, 2017 4:50 am

crazycat Wrote:Use LTS kernels :-)

I'll have to change OS then :')
rubdos
 
Posts: 12
Joined: Sun Jul 23, 2017 12:10 am

Re: TBS6902 on Linux 4.11

Postby rubdos » Wed Aug 16, 2017 4:54 pm

Now I'm trying on 4.10, and I'm getting the exact same error...
rubdos
 
Posts: 12
Joined: Sun Jul 23, 2017 12:10 am

Re: TBS6902 on Linux 4.11

Postby xiaocao » Thu Aug 24, 2017 1:06 pm

hi ,

please write email to jack@tbsdtv.com , and give me a remote control via ssh connect or teamviewer, i will fix it .


best regards!
xiaocao
 
Posts: 71
Joined: Tue Jun 25, 2013 5:48 pm

Re: TBS6902 on Linux 4.11

Postby rubdos » Thu Aug 24, 2017 11:07 pm

xiaocao Wrote:hi ,

please write email to jack@tbsdtv.com , and give me a remote control via ssh connect or teamviewer, i will fix it .


best regards!


I currently have removed the card from the machine since it was unstable with it. I'll let you know when it's back in.

Secondly, "fixing it", in this context, means patching the source, or installing it yourself?

Thirdly, as this machine is in a remote location, I shall not be able to power cycle it, whenever it would crash (and it happened a LOT while I was testing).

Wouldn't it be easier if you guys bought a Ryzen 1400 system and tested it out under Fedora 26? :-)
rubdos
 
Posts: 12
Joined: Sun Jul 23, 2017 12:10 am


Return to PCIe DVB-S2 Dual Tuner card TBS6902

Who is online

Users browsing this forum: No registered users and 1 guest