Moderator Control Panel ]

TBS5980 supported in OpenPLI/ SatDreamGr image

TBS5980 supported in OpenPLI/ SatDreamGr image

Postby mcelliotg2 » Fri Mar 18, 2016 6:23 am

We are proud to announce that we have also managed to successfully implement TBS5980 for our SatDreamGr/openPLI images (currently on OSmini) and soon extend the support for more receivers with kernel above 3.8!

For TBS5980 the only problem we have so far is this:
CI crashes when the receiver is rebooted with TBS 5980 plugged in and powered on!
More specifically:
1. These are the drivers we currently use

https://patchwork.linuxtv.org/patch/23244/
https://patchwork.linuxtv.org/patch/23243/
https://patchwork.linuxtv.org/patch/23242/

+ mis/pls patch
+ snr patch
+ ts sync patch

And here's the crash after STB reboot. Please note that if the STB shuts down and gets off power instead of rebooting, or if the card gets off power and then the STB reboots, the problem does not occur!

Here's a detailed log with the problem!

Code: Select All Code
UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 221
dvb-usb: found a 'TBS Qbox DVB-S2 CI USB2.0 (TBS5980)' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-tbsqbox-id5980.fw'
dvb-usb: found a 'TBS Qbox DVB-S2 CI USB2.0 (TBS5980)' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (TBS Qbox DVB-S2 CI USB2.0 (TBS5980))
dvb-usb: MAC address: 12:24:56:78:9A:BC
CPU 1 Unable to handle kernel paging request at virtual address 00000020, epc == 80559e44, ra == 80559e4c
Oops[#1]:
CPU: 1 PID: 230 Comm: modprobe Tainted: P           O    4.3.0 #1
task: 8fd05cf8 ti: 8dc88000 task.ti: 8dc88000
$ 0   : 00000000 10008b00 00000000 00000001
$ 4   : 8e696e14 8dc89b0c 8dc89b08 00000000
$ 8   : 00000001 00000000 00000001 fffee5b1
$12   : 00000000 00000001 00000000 00000001
$16   : 8f0fe9e4 00000000 ffffffed 8e696e14
$20   : 8e696e14 e11e0630 80560000 8f0fef34
$24   : 00000000 80016fac
$28   : 8dc88000 8dc89b00 8f0fea30 80559e4c
Hi    : 00000000
Lo    : 003d0900
epc   : 80559e44 dvb_ca_en50221_release+0x2c/0xcc
ra    : 80559e4c dvb_ca_en50221_release+0x34/0xcc
Status: 10008b03        KERNEL EXL IE
Cause : 80800008 (ExcCode 02)
BadVA : 00000020
PrId  : 0002a065 (Broadcom BMIPS4380)
Modules linked in: stv090x dvb_usb_tbsusb(+) dvb_usb r8723bs(O) hci_uart brcmstb_osmini(PO) mn88473(O) fts260(PO)
Process modprobe (pid: 230, threadinfo=8dc88000, task=8fd05cf8, tls=77286920)
Stack : 00000000 8dc89b18 00000003 00000000 8e690002 8f0fe9e4 e11f33cc ffffffed
          8e696e00 e11f3bf8 8f0feb48 8f0feb48 00000000 00000008 00000000 e11f4558
          00000002 00000000 00000000 00000000 00000005 8f0fed44 8f0fedb0 8f0fe9e4
          00000000 8f0fea40 e11e05b0 e11e0aa4 e11e2640 8f0feac0 00000000 8dc0d900
          00000000 8f0fe000 800b6a2c 8f0fe9e8 e11e25f4 e11e0000 e11e2640 e11df96c
          ...
Call Trace:
[<80559e44>] dvb_ca_en50221_release+0x2c/0xcc
[<e11f3bf8>] tbsusb_frontend_attach+0x560/0x6e0 [dvb_usb_tbsusb]
[<e11e0aa4>] dvb_usb_adapter_frontend_init+0xe8/0x1d8 [dvb_usb]
[<e11df96c>] dvb_usb_device_init+0x380/0x6e4 [dvb_usb]
[<e11f2110>] tbsusb_probe+0x64/0x9c [dvb_usb_tbsusb]
[<804f4614>] usb_probe_interface+0x1e0/0x2bc
[<803fce74>] driver_probe_device+0x344/0x3ec
[<803fcfd8>] __driver_attach+0xbc/0xc4
[<803faba8>] bus_for_each_dev+0x6c/0xb4
[<803fc2c4>] bus_add_driver+0x1f4/0x268
[<803fd9d0>] driver_register+0x84/0x12c
[<804f2904>] usb_register_driver+0x88/0x1a4
[<8001018c>] do_one_initcall+0xe8/0x24c
[<800b6bc4>] do_init_module+0x70/0x1dc
[<800aeab0>] load_module+0x1ba8/0x20f4
[<800af20c>] SyS_finit_module+0x88/0xa8
[<80021b74>] syscall_common+0x30/0x54


Code: 00809821  14400022  8c910028 <0c015601> 8e240020  8e22000c  1040000f  00009021  00008021
---[ end trace 80ac1661d94791d1 ]---
bcmgenet 10430000.ethernet: configuring instance for internal PHY
NET: Registered protocol family 10
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
bcmgenet 10430000.ethernet eth0: Link is Down
bcmgenet 10430000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
CPU 1 Unable to handle kernel paging request at virtual address 00000000, epc == 00000000, ra == 80559f10
Oops[#2]:
CPU: 1 PID: 241 Comm: kdvb-ca-1:0 Tainted: P      D    O    4.3.0 #1
task: 8e680578 ti: 8df06000 task.ti: 8df06000
$ 0   : 00000000 10008b00 00000000 00010000
$ 4   : 8e696e14 00000000 00000000 ffff00fe
$ 8   : 8df07fe0 00008b00 00000001 00000000
$12   : 000003cd 0000129e 0000000c 00000000
$16   : 00000000 8df2b800 00000000 00010000
$20   : 808f0000 807bd280 809b0000 00000000
$24   : 00000001 80066244
$28   : 8df06000 8df07e70 8df2b800 80559f10
Hi    : 00000000
Lo    : 00000000
epc   : 00000000   (null)
ra    : 80559f10 dvb_ca_en50221_check_camstatus.part.2+0x2c/0xe8
Status: 10008b03        KERNEL EXL IE
Cause : 00800008 (ExcCode 02)
BadVA : 00000000
PrId  : 0002a065 (Broadcom BMIPS4380)
Modules linked in: ipv6 stv090x dvb_usb_tbsusb(+) dvb_usb r8723bs(O) hci_uart brcmstb_osmini(PO) mn88473(O) fts260(PO)
Process kdvb-ca-1:0 (pid: 241, threadinfo=8df06000, task=8e680578, tls=00000000)
Stack : ffffffff 10008b01 8df2bd80 8dc89ab8 8df2b800 00000000 00000001 8055ae98
          8df2bd80 8dc89ab8 8df2b800 8055ad60 80830000 8e66e600 8df2bd80 8dc89ab8
          8df2b800 8055ad60 80830000 8e66e600 10008f00 00000000 00000000 8005513c
          77d2a5c8 00000003 00000004 00000002 00000000 00000000 8df2b800 00000000
          00000000 8df07ef4 8df07ef4 00000000 00000000 8df07f04 8df07f04 8005f764
          ...
Call Trace:
[<8055ae98>] dvb_ca_en50221_thread+0x138/0x7f0
[<8055ad60>] dvb_ca_en50221_thread+0x0/0x7f0
[<8055ad60>] dvb_ca_en50221_thread+0x0/0x7f0
[<8005513c>] kthread+0x10c/0x124
[<8005f764>] schedule_tail+0x10/0x70
[<80055030>] kthread+0x0/0x124
[<80015128>] ret_from_kernel_thread+0x14/0x1c


Code: (Bad address in epc)

---[ end trace 80ac1661d94791d2 ]---


Everything else works as expected, the only problem so far is during STB reboot!
Is there anyone familiar with a reboot issue as well? What do you suggest!
mcelliotg2
 
Posts: 11
Joined: Sun Mar 13, 2016 9:59 pm

Re: TBS5980 supported in OpenPLI/ SatDreamGr image

Postby piripino » Mon Feb 13, 2017 3:24 am

TBS 5980 works with Gigablue HD QuadPlus? Thank you.
piripino
 
Posts: 4
Joined: Sun Dec 21, 2014 7:06 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest