Firmware uploads 24/7

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Firmware uploads 24/7

Post by wesnewell »

I don't know what's causing this. Been using the same tuner cards for years and other than this filling up the syslog file, the system seems to still work ok. I've got 3 fusion hdtv7 dual express cards containing 2 atsc tuners each. I don't know what's causing this, but it started sometime after switching to mythbuntu 14.04 a year or so ago. Anyone else seen this in their syslog file or have any idea who I should report this to?

Code: Select all

Sep 27 03:27:41 mythfe0 kernel: [140071.434646] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
Sep 27 03:27:41 mythfe0 kernel: [140071.434710] xc5000: firmware read 12401 bytes.
Sep 27 03:27:41 mythfe0 kernel: [140071.434712] xc5000: firmware uploading...
Sep 27 03:27:42 mythfe0 kernel: [140072.993508] xc5000: firmware upload complete...
Sep 27 03:28:04 mythfe0 kernel: [140094.577630] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
Sep 27 03:28:04 mythfe0 kernel: [140094.577684] xc5000: firmware read 12401 bytes.
Sep 27 03:28:04 mythfe0 kernel: [140094.577685] xc5000: firmware uploading...
Sep 27 03:28:06 mythfe0 kernel: [140096.133410] xc5000: firmware upload complete...
Sep 27 03:28:10 mythfe0 kernel: [140100.927930] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
Sep 27 03:28:10 mythfe0 kernel: [140100.928012] xc5000: firmware read 12401 bytes.
Sep 27 03:28:10 mythfe0 kernel: [140100.928014] xc5000: firmware uploading...
Sep 27 03:28:12 mythfe0 kernel: [140102.483953] xc5000: firmware upload complete...
Sep 27 03:28:33 mythfe0 kernel: [140123.235187] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
Sep 27 03:28:33 mythfe0 kernel: [140123.235254] xc5000: firmware read 12401 bytes.
Sep 27 03:28:33 mythfe0 kernel: [140123.235255] xc5000: firmware uploading...
Sep 27 03:28:34 mythfe0 kernel: [140124.782951] xc5000: firmware upload complete...
Sep 27 03:29:20 mythfe0 kernel: [140170.756147] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
Sep 27 03:29:20 mythfe0 kernel: [140170.756208] xc5000: firmware read 12401 bytes.
Sep 27 03:29:20 mythfe0 kernel: [140170.756210] xc5000: firmware uploading...
Sep 27 03:29:22 mythfe0 kernel: [140172.316021] xc5000: firmware upload complete...
Sep 27 03:29:29 mythfe0 mythbackend: message repeated 3 times: [ mythbackend[2306]: E SignalMonitor recorders/dvbchannel.cpp:1026 (GetSignalStrength) DVBChan[23](/dev/dvb/adapter2/frontend0): Getting Frontend signal strength failed.#012#011#011#011eno: Invalid argument (22)]
Sep 27 03:30:52 mythfe0 kernel: [140262.589069] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
Sep 27 03:30:52 mythfe0 kernel: [140262.589185] xc5000: firmware read 12401 bytes.
Sep 27 03:30:52 mythfe0 kernel: [140262.589187] xc5000: firmware uploading...
Sep 27 03:30:53 mythfe0 kernel: [140264.138792] xc5000: firmware upload complete...
Sep 27 03:31:01 mythfe0 mythbackend: message repeated 3 times: [ mythbackend[2306]: E SignalMonitor recorders/dvbchannel.cpp:1026 (GetSignalStrength) DVBChan[28](/dev/dvb/adapter3/frontend0): Getting Frontend signal strength failed.#012#011#011#011eno: Invalid argument (22)]
Sep 27 03:33:01 mythfe0 kernel: [140391.450107] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
Sep 27 03:33:01 mythfe0 kernel: [140391.450181] xc5000: firmware read 12401 bytes.
Sep 27 03:33:01 mythfe0 kernel: [140391.450186] xc5000: firmware uploading...
Sep 27 03:33:02 mythfe0 kernel: [140393.003784] xc5000: firmware upload complete...
Sep 27 03:33:02 mythfe0 mythbackend: message repeated 2 times: [ mythbackend[2306]: E SignalMonitor recorders/dvbchannel.cpp:1026 (GetSignalStrength) DVBChan[33](/dev/dvb/adapter4/frontend0): Getting Frontend signal strength failed.#012#011#011#011eno: Invalid argument (22)]
Sep 27 03:33:29 mythfe0 kernel: [140420.213834] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
Sep 27 03:33:29 mythfe0 kernel: [140420.213884] xc5000: firmware read 12401 bytes.
Sep 27 03:33:29 mythfe0 kernel: [140420.213886] xc5000: firmware uploading...
Sep 27 03:33:31 mythfe0 kernel: [140421.765473] xc5000: firmware upload complete...
Sep 27 03:33:38 mythfe0 kernel: [140429.374168] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
Sep 27 03:33:38 mythfe0 kernel: [140429.374228] xc5000: firmware read 12401 bytes.
Sep 27 03:33:38 mythfe0 kernel: [140429.374230] xc5000: firmware uploading...
Sep 27 03:33:40 mythfe0 kernel: [140430.922957] xc5000: firmware upload complete...
Sep 27 03:33:57 mythfe0 kernel: [140447.526750] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
Sep 27 03:33:57 mythfe0 kernel: [140447.526797] xc5000: firmware read 12401 bytes.
Sep 27 03:33:57 mythfe0 kernel: [140447.526798] xc5000: firmware uploading...
Sep 27 03:33:58 mythfe0 kernel: [140449.073705] xc5000: firmware upload complete...
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Firmware uploads 24/7

Post by wesnewell »

As a temp workaround for this, I've just turned off logging to all mythtv logs, syslog, and kernel log.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
PhilB
Senior
Posts: 405
Joined: Sun May 11, 2014 6:23 pm
Great Britain

Re: Firmware uploads 24/7

Post by PhilB »

It's not a signal strength issue is it?
Phil
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Firmware uploads 24/7

Post by wesnewell »

Well, it's not a real signal strength issue. It's a known fact that the cards I use have never handled the reporting of the signal strength properly in mythtv. I don't recall if the problem was in the cards, mythtv, the drivers, or what, but it's never been an issue before in the 6 so years I've been using them. However, disabling logging as has done away with many problems I was having with frame buffer timeouts, and even pauses in playback on other frontends, which I never had on previous mythtv versions.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
User avatar
paulh
Developer
Posts: 916
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Firmware uploads 24/7

Post by paulh »

Disabling logging has just masked the bug not fixed it :)

So you are saying the card works OK but keeps trying to reload the firmware every few seconds? That sounds like a driver bug.
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Firmware uploads 24/7

Post by wesnewell »

Yeah, I know it's not a real fix, but it let's my system function normally now. I don't know where the real problem is, but the logging of the problem causes so much disk activity on the backend, which causes frame buffer timeouts and pauses while watching recorded programs on any of my frontends. The error gets logged to the kernel log, syslog, mythtv backend logs, and maybe others. I know there's a way to filter them out in rsyslog.conf, but it's easier fro me to just disable logging than to try and figure it out. And fixing drivers, if that's where the problem is, is way beyond me. You can see the errors in my first post. If you know who can fix them, I'll be glad to give them the the logs. My tuner cards are Fusion HDTV7 Dual Express cards. Dual tuners. pcie format. I never saw all these errors until recently when I switched the backend to Mythbuntu 14.04 LTS from Manndriva 2010.2 if that matters. This is the first related post.
viewtopic.php?f=36&t=737
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
User avatar
paulh
Developer
Posts: 916
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Firmware uploads 24/7

Post by paulh »

Don't know what kernel Mythbuntu 14.04 LTS uses but I found this which may be worth a try
http://www.linuxtv.org/wiki/index.php/H ... are_issues
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Firmware uploads 24/7

Post by wesnewell »

Linux mythfe0 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
And this is the tuners I use.
http://www.linuxtv.org/wiki/index.php/D ... al_Express
All set for on demand in mythtv-setup.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
User avatar
paulh
Developer
Posts: 916
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Firmware uploads 24/7

Post by paulh »

I talked to Devin Heitmueller on IRC and he suggested you should try adding the no_poweroff=1 module option to prevent the module sending the card to sleep which will cause the firmware to reload the next time the card is used. So you would do something like add a file called /etc/modprobe.d/xc5000.conf with the content: options xc5000 no_poweroff=1. Then reboot so the new module option will be used.

You could also try telling Myth not to use the cards on demand unless you need to do that for some reason. That way Myth will keep the dvb frontends open and should prevent them sleeping which will cause the firmware to be reloaded when they are used.
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Firmware uploads 24/7

Post by wesnewell »

Ok, I disabled on demand (and I can live with that) for all tuners and that got rid of the constant firmware uploading. Now how do I get rid of these that continue to fill the mythbackend.log and syslog?

Oct 2 01:30:07 mythfe0 mythbackend: mythbackend[2264]: E TVRecEvent recorders/dvbchannel.cpp:1026 (GetSignalStrength) DVBChan[28](/dev/dvb/adapter3/frontend0): Getting Frontend signal strength failed.#012#011#011#011eno: Invalid argument (22)
Oct 2 01:30:07 mythfe0 mythbackend: mythbackend[2264]: W TVRecEvent recorders/dvbsignalmonitor.cpp:91 (DVBSignalMonitor) DVBSigMon[28](/dev/dvb/adapter3/frontend0): Cannot measure Signal Strength#012#011#011#011eno: Invalid argument (22)
Oct 2 01:30:07 mythfe0 mythbackend: mythbackend[2264]: E TVRecEvent recorders/dvbchannel.cpp:1055 (GetSNR) DVBChan[28](/dev/dvb/adapter3/frontend0): Getting Frontend signal/noise

As another workaround, I just filtered them out in rsyslog.conf file.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
Post Reply