Page 1 of 1

TBS6909 DVB tunners stop responding after couple of hours!!!

PostPosted: Sat Jun 02, 2018 12:37 am
by PortalNET
Hi guys

just found recently another issue with TBS6909 drivers, after full reboot on the system they work great for a few hours.. after that all tuners on the TBS6909 card gets disconnected

on syslog i have the following error message showing up

Code: Select All Code
13:22:03 MIDDLEWARE kernel:
[47716.274518] TBSECP3 driver 0000:05:00.0: i2c xfer timeout
Jun  1 13:22:03 MIDDLEWARE kernel:
[47716.276392] i2c write error




when i do lsdvb it shows the following:

Code: Select All Code
lsdvb

                lsdvb: Simple utility to list PCI/PCIe DVB devices
                Version: 0.0.4
                Copyright (C) Manu Abraham

TBSECP3 driver (544:6178 6909:1) on PCI Domain:0 Bus:5 Device:0 Function:0
        DEVICE:0 ADAPTER:4 FRONTEND:0 (TurboSight TBS 6909 DVB-S/S2 )
                 FE_QPSK Fmin=950MHz Fmax=2150MHz
        DEVICE:0 ADAPTER:24 FRONTEND:0 (TurboSight TBS 6909 DVB-S/S2 )
                 FE_QPSK Fmin=950MHz Fmax=2150MHz
        DEVICE:0 ADAPTER:0 FRONTEND:0 (Turbosight TBS 6814 (Quad ISDB-T))
                 FE_OFDM Fmin=76MHz Fmax=858MHz
        DEVICE:0 ADAPTER:20 ERROR: Open frontend0 failed




missing tunners , as it has 3 TBS6909 + 1 TBS6814 on that server machine..

but when i do

ls /dev/dvb it shows

Code: Select All Code
ls /dev/dvb
adapter0  adapter10  adapter12  adapter14  adapter16  adapter18  adapter2   adapter21  adapter23  adapter25  adapter27  adapter4  adapter6  adapter8
adapter1  adapter11  adapter13  adapter15  adapter17  adapter19  adapter20  adapter22  adapter24  adapter26  adapter3   adapter5  adapter7  adapter9





Code: Select All Code
 lspci | grep Multimedia
04:00.0 Multimedia controller: Device 544d:6178
05:00.0 Multimedia controller: Device 544d:6178
06:00.0 Multimedia controller: Device 544d:6178
07:00.0 Multimedia controller: Device 544d:6178





Code: Select All Code
 dmesg | grep -i dvb
[    5.824665] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[    5.946256] TBSECP3 driver 0000:04:00.0: DVB: registering adapter 0 frontend 0 (Turbosight TBS 6814 (Quad ISDB-T))...
[    5.946368] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[    6.069848] TBSECP3 driver 0000:04:00.0: DVB: registering adapter 1 frontend 0 (Turbosight TBS 6814 (Quad ISDB-T))...
[    6.069911] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[    6.189734] TBSECP3 driver 0000:04:00.0: DVB: registering adapter 2 frontend 0 (Turbosight TBS 6814 (Quad ISDB-T))...
[    6.189784] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[    6.311774] TBSECP3 driver 0000:04:00.0: DVB: registering adapter 3 frontend 0 (Turbosight TBS 6814 (Quad ISDB-T))...
[    6.311965] TBSECP3 driver 0000:05:00.0: TurboSight TBS 6909 DVB-S/S2
[    6.312624] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   33.420121] TBSECP3 driver 0000:05:00.0: DVB: registering adapter 4 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   33.420217] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   33.538946] TBSECP3 driver 0000:05:00.0: DVB: registering adapter 5 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   33.539027] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   33.660961] TBSECP3 driver 0000:05:00.0: DVB: registering adapter 6 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   33.661018] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   33.782795] TBSECP3 driver 0000:05:00.0: DVB: registering adapter 7 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   33.782876] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   33.904818] TBSECP3 driver 0000:05:00.0: DVB: registering adapter 8 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   33.904874] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   34.026609] TBSECP3 driver 0000:05:00.0: DVB: registering adapter 9 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   34.026689] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   34.148634] TBSECP3 driver 0000:05:00.0: DVB: registering adapter 10 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   34.148690] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   34.270268] TBSECP3 driver 0000:05:00.0: DVB: registering adapter 11 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   34.270349] TBSECP3 driver 0000:05:00.0: TurboSight TBS 6909 DVB-S/S2 : PCI 0000:05:00.0, IRQ 144, MMIO 0xf7400000
[   34.270416] TBSECP3 driver 0000:06:00.0: TurboSight TBS 6909 DVB-S/S2
[   34.271000] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   61.203364] TBSECP3 driver 0000:06:00.0: DVB: registering adapter 12 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   61.203440] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   61.318146] TBSECP3 driver 0000:06:00.0: DVB: registering adapter 13 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   61.318232] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   61.394054] TBSECP3 driver 0000:06:00.0: DVB: registering adapter 14 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   61.394135] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   61.516460] TBSECP3 driver 0000:06:00.0: DVB: registering adapter 15 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   61.516518] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   61.638185] TBSECP3 driver 0000:06:00.0: DVB: registering adapter 16 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   61.638267] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   61.760140] TBSECP3 driver 0000:06:00.0: DVB: registering adapter 17 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   61.760222] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   61.882040] TBSECP3 driver 0000:06:00.0: DVB: registering adapter 18 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   61.882124] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   62.004007] TBSECP3 driver 0000:06:00.0: DVB: registering adapter 19 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   62.004065] TBSECP3 driver 0000:06:00.0: TurboSight TBS 6909 DVB-S/S2 : PCI 0000:06:00.0, IRQ 145, MMIO 0xf7300000
[   62.004131] TBSECP3 driver 0000:07:00.0: TurboSight TBS 6909 DVB-S/S2
[   62.005093] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   88.893070] TBSECP3 driver 0000:07:00.0: DVB: registering adapter 20 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   88.893165] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   88.993280] TBSECP3 driver 0000:07:00.0: DVB: registering adapter 21 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   88.993364] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   89.077281] TBSECP3 driver 0000:07:00.0: DVB: registering adapter 22 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   89.077364] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   89.173275] TBSECP3 driver 0000:07:00.0: DVB: registering adapter 23 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   89.173356] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   89.245222] TBSECP3 driver 0000:07:00.0: DVB: registering adapter 24 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   89.245306] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   89.317270] TBSECP3 driver 0000:07:00.0: DVB: registering adapter 25 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   89.317353] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   89.437403] TBSECP3 driver 0000:07:00.0: DVB: registering adapter 26 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   89.437486] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[   89.557406] TBSECP3 driver 0000:07:00.0: DVB: registering adapter 27 frontend 0 (TurboSight TBS 6909 DVB-S/S2 )...
[   89.557488] TBSECP3 driver 0000:07:00.0: TurboSight TBS 6909 DVB-S/S2 : PCI 0000:07:00.0, IRQ 146, MMIO 0xf7200000




I am using Asrock H110 Pro BTC+ motherboard with CPU intel i7 4ghz + 16gb ram ddr4 on this machine..

looks like the kernel is having some trouble in running this multiple cards??????

Our project main goal is to add another 7 TBS6909 cards need to get more 56 Tps up and running soon.. any ideas on what could be the problem?

i have increased the card limit to

Code: Select All Code
sed -i.bak -e 's/^\(CONFIG_DVB_MAX_ADAPTERS\)=.*/\1=48/g' /lib/modules/$(uname -r)/build/.config



and also tried tunning the CPU optimization to
Code: Select All Code
UDP capture setupAnchor
For capturing data via UDP under Linux, the amount of memory allocated to UDP buffers should be increased:

sysctl -w net.core.rmem_max=1048576
sysctl -w net.core.rmem_default=1048576
sysctl -w net.ipv4.udp_mem="8388608 12582912 16777216"
Note that these settings will persist only until reload. In order to save them permanently, edit the file /etc/sysctl.conf by adding at the end of it the following:

net.core.rmem_max = 1048576
net.core.rmem_default=1048576
net.ipv4.udp_mem = 8388608 12582912 16777216
and then running the sudo sysctl -p command to apply the changes.
Working with a large amount of memory Anchor
When more than 60GB of memory is available, we recommend allocating 10GB to the system:

sysctl vm.min_free_kbytes=10240000

Re: TBS6909 DVB tunners stop responding after couple of hour

PostPosted: Tue Jun 05, 2018 2:27 pm
by steven
hi PortalNET

Which driver you are using ? and please have a try only use 6909 do not use 6814 check whether is ok

Thanks

kind Regards

steven

Re: TBS6909 DVB tunners stop responding after couple of hour

PostPosted: Wed Jun 06, 2018 12:33 am
by PortalNET
steven Wrote:hi PortalNET

Which driver you are using ? and please have a try only use 6909 do not use 6814 check whether is ok

Thanks

kind Regards

steven



Hi Steven

i am using linux source latest github updated driver, aparently this is only happening on 1 card tbs6909 (this card i have full 8TPs running all on Vertical position)

the other 2 cards are running different satelites, 1 card only using 3TPs this is working ok no tp down.. and another card only another 2 tps at the moment.. problem happens only on full 8tp card running .

i will try to make more log message but basically this is the error showing after of couple of hours running..

i am streaming free C band FTA channels so most of them is 1 or 2 channels per TP

13:22:03 MIDDLEWARE kernel:
[47716.274518] TBSECP3 driver 0000:05:00.0: i2c xfer timeout
Jun 1 13:22:03 MIDDLEWARE kernel:
[47716.276392] i2c write error



this error is shutting down the TPs streaming on the card also.. eventually untill full card stops working..

all 3 TBS6909 cards are powered up on the 1000w 80plus gold PSU using the 5 pin adapter.. the only one not connected is tbs6814 because it does not have 5 pin connector.