Project

General

Profile

firmware download failed -11

Added by Bio zZz over 3 years ago

Hello everybody!

I hope you're all well

My computer is a Dell Optiplex 3010 / Core i5-3470 / RAM 8G and my DVB cards are a TBS DVB-S2 6905 and at DVB-T2 6205. I'm running Ubuntu 18.04.5 and TVHeadend 4.2.8-36~g5bdcfd8ac

I'm using TVHeadend for about 6 years. I really love this product, but I don't really like Linux!
I often have to compile the drivers for my 2 DVB cards when I was updating the kernel, but my configuration stopped working 2 weeks ago.

When TVHeadend is starting, I have noticied in syslog this following lines:

si2157 14-0060: found a 'Silicon Labs Si2158-A20'
si2157 14-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
si2157 14-0060: firmware download failed -11
I have 4 messages of this type at each boot (I think because my DVB Card have 4 tuners).

This is corresponding to one of my 2 DVB Cards, the TBS 6205.

So this card is not functionning in TVHeadend until I disable and enable it. After that it's OK.

I already have deleted all firmwares in /lib/firmware starting with dvb- and reinstall the drivers.

I have no problem with the TBS 6905 wich is a DVB-S2 card.

Sorry for my bad English, I'm from France and I don't like Google Translate...

Thanks for your help and take care of you.


Replies (12)

RE: firmware download failed -11 - Added by Dave Pickles over 3 years ago

Error -11 is EAGAIN, ie "please try again".

Maybe Tvheadend is starting before the tuner has been fully initialised by the kernel. You could try delaying the startup by a few seconds (or start Tvheadend manually) to see if that fixes the problem.

RE: firmware download failed -11 - Added by Ron L over 3 years ago

Drivers must be reinstalled after kernel update because TBS drivers have not been accepted into mainline kernel. If you don't like that then email the maintainer and complain.

Firmware files need to be installed to /lib/firmware. If you deleted them then you must reinstall.

Kernel update does not remove the old kernel. Simply select the old kernel from grub menu when you boot and it should work again if it was working before.

This is not a TVHeadend bug rather a driver bug. Go to https://github.com/tbsdtv/linux_media/issues and file a report.

RE: firmware download failed -11 - Added by thermionic valve over 3 years ago

I have two TBS 6905 cards and since I moved over to using the open source drivers, they have been quite stable. There is the fun of having to rebuild the drivers with kernel updates, but c'est la vie.

Which drivers and firmware are you using?

How are you disabling and enabling the TBS card?

RE: firmware download failed -11 - Added by Bio zZz over 3 years ago

Dave Pickles wrote:

Error -11 is EAGAIN, ie "please try again".

Maybe Tvheadend is starting before the tuner has been fully initialised by the kernel. You could try delaying the startup by a few seconds (or start Tvheadend manually) to see if that fixes the problem.

Hello Dave,

I already try to delay the startup of TVHeadend with the same result. I have disable TVHeadend at startup and staring it after 30 minutes with the same result too.

Thanks for your help

RE: firmware download failed -11 - Added by Bio zZz over 3 years ago

Ron L wrote:

Drivers must be reinstalled after kernel update because TBS drivers have not been accepted into mainline kernel. If you don't like that then email the maintainer and complain.

Firmware files need to be installed to /lib/firmware. If you deleted them then you must reinstall.

Kernel update does not remove the old kernel. Simply select the old kernel from grub menu when you boot and it should work again if it was working before.

This is not a TVHeadend bug rather a driver bug. Go to https://github.com/tbsdtv/linux_media/issues and file a report.

Hello Ron,

I effectively don't ask to reinstall drivers after each kernel update but I am not complaining about this, it was just a remark.

After deleting the firmware I downloaded it agin and put in /lib/firmware, but there is no difference after a reboot.

I known this is not a bug in TVHeadend, I have just ask for the knowledge community.

Thanks for your help

RE: firmware download failed -11 - Added by Bio zZz over 3 years ago

thermionic valve wrote:

I have two TBS 6905 cards and since I moved over to using the open source drivers, they have been quite stable. There is the fun of having to rebuild the drivers with kernel updates, but c'est la vie.

Which drivers and firmware are you using?

How are you disabling and enabling the TBS card?

Hello Thermionic,

You're right, C'est la vie! I was living with this constraint for about 6 years without any post anywhere!

I'm using the latest version of the open sources TBS Drivers https://github.com/tbsdtv/linux_media/wiki and the firmwares provided by TBS too http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
I have try with a different version of the firmware dvb-tuner-si2158-a20-01.fw fin on tvheadend.org with the same problem.
I have also try with the Luis Alves and CrazyCat drivers, always the same result.

I have to uncheck "Enabled", then click on "Save" and after check "Enabled" and "Save" again, this is working.

Can you tell me which drivers are you using?

Thanks for you help

RE: firmware download failed -11 - Added by thermionic valve over 3 years ago

I use the open source drivers, and have a little script to keep them up to date, no error handling, but it works for me https://pastebin.com/yKWXw5n3

looking at restarts of tvh in dmesg (for a daily backup), I see the below

[310278.211274] si2157 25-0060: found a 'Silicon Labs Si2157-A30'
[310278.238798] si2157 25-0060: firmware version: 3.0.5
[310278.262155] si2157 24-0060: found a 'Silicon Labs Si2157-A30'
[310278.289643] si2157 24-0060: firmware version: 3.0.5
[310278.372083] si2157 24-0060: found a 'Silicon Labs Si2157-A30'
[310278.372244] si2157 23-0060: found a 'Silicon Labs Si2157-A30'
[310278.399189] si2157 24-0060: firmware version: 3.0.5
[310278.399318] si2157 23-0060: firmware version: 3.0.5
[310278.488034] si2157 23-0060: found a 'Silicon Labs Si2157-A30'
[310278.488209] si2157 22-0060: found a 'Silicon Labs Si2157-A30'
[310278.515356] si2157 23-0060: firmware version: 3.0.5
[310278.515508] si2157 22-0060: firmware version: 3.0.5
[310278.539327] si2157 17-0060: found a 'Silicon Labs Si2158-A20'
[310278.539371] si2157 17-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[310279.836969] si2157 17-0060: firmware version: 2.1.9
[310279.861519] si2157 17-0060: found a 'Silicon Labs Si2158-A20'
[310279.861559] si2157 17-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[310279.862117] si2157 16-0060: found a 'Silicon Labs Si2158-A20'
[310279.862121] si2157 16-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[310280.880978] si2157 17-0060: firmware download failed -11
[310281.152249] si2157 16-0060: firmware version: 2.1.9
[310281.177042] si2157 15-0060: found a 'Silicon Labs Si2158-A20'
[310281.177081] si2157 15-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[310281.857329] si2157 15-0060: firmware download failed -11
[310281.870932] si2157 15-0060: found a 'Silicon Labs Si2158-A20'
[310281.870972] si2157 15-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[310281.871499] si2157 14-0060: found a 'Silicon Labs Si2158-A20'
[310281.871505] si2157 14-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[310283.134136] si2157 14-0060: firmware download failed -11
[310283.161122] si2157 15-0060: firmware version: 2.1.9
[381710.628412] si2157 25-0060: found a 'Silicon Labs Si2157-A30'
[381710.654704] si2157 25-0060: firmware version: 3.0.5
[381710.678746] si2157 24-0060: found a 'Silicon Labs Si2157-A30'
[381710.706255] si2157 24-0060: firmware version: 3.0.5
[381710.729999] si2157 23-0060: found a 'Silicon Labs Si2157-A30'
[381710.757142] si2157 23-0060: firmware version: 3.0.5
[381710.781006] si2157 22-0060: found a 'Silicon Labs Si2157-A30'
[381710.808900] si2157 22-0060: firmware version: 3.0.5
[381710.833295] si2157 17-0060: found a 'Silicon Labs Si2158-A20'
[381710.833344] si2157 17-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[381712.111408] si2157 17-0060: firmware version: 2.1.9
[381712.136886] si2157 16-0060: found a 'Silicon Labs Si2158-A20'
[381712.136930] si2157 16-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[381712.775939] si2157 16-0060: firmware download failed -11
[381712.789245] si2157 16-0060: found a 'Silicon Labs Si2158-A20'
[381712.789281] si2157 16-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[381712.789744] si2157 15-0060: found a 'Silicon Labs Si2158-A20'
[381712.789747] si2157 15-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[381714.061319] si2157 16-0060: firmware version: 2.1.9
[381714.082088] si2157 15-0060: firmware version: 2.1.9
[381714.107093] si2157 14-0060: found a 'Silicon Labs Si2158-A20'
[381714.107134] si2157 14-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[381715.415791] si2157 14-0060: firmware version: 2.1.9
[381715.441100] si2157 14-0060: found a 'Silicon Labs Si2158-A20'
[381715.441138] si2157 14-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[381716.445946] si2157 14-0060: firmware download failed -11

RE: firmware download failed -11 - Added by Bio zZz over 3 years ago

Thanks for the script, I will try when my problem is solved.

Like I can I see in your log, youu too have some lines "firmware download failed -11" and it's working, I will investigate further.

Thanks you thermionic

RE: firmware download failed -11 - Added by saen acro over 3 years ago

Disable power save feature of tuners

RE: firmware download failed -11 - Added by Bio zZz over 3 years ago

saen acro wrote:

Disable power save feature of tuners

Hello Saen,

Power Save is already disabled.

Thanks you

RE: firmware download failed -11 - Added by Peter Katzmann over 3 years ago

Hello,
i'm experiencing the same problem since a short time with my tvh (HTS Tvheadend 4.3-1952~gb824e237e) and a tbs6205 card.
The interesting thing is, the docker container starts up and all tuners are failing.
But when i disable and enable each of the tuners inside tvh firmware upload works and everything is fine till next start of container.
Power Save is disabled.
Probably tvh does something weired ?

peter

RE: firmware download failed -11 - Added by Gino Badouri about 3 years ago

I've got exactly the same problem with my TBS6205 card.
Runing the latest drivers from the TBS wiki and the latest tvheadend compiled from git.
I have to disable and re-enable all 4 tuners one by one after every reboot in order for them to load the firmware correctly.
I've also opened an issue here: https://github.com/tbsdtv/linux_media/issues/259

Somebody found a workaround yet?

    (1-12/12)