[mythbackend] <defunct>

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

Moderator: Forum Moderators

Post Reply
maff
Junior
Posts: 24
Joined: Wed Dec 07, 2016 9:50 pm
Great Britain

[mythbackend] <defunct>

Post by maff »

Hi all,

Hope someone can point me in the right direction with this, every so often I get this from MtyhWeb.

Code: Select all

Error

Unable to connect to the master backend at 192.168.0.200:6543.
Is it running?
I don't use a frontend, I watch everything via asx files through mythweb so this is where i notice it first.

So i ssh in to my backend and offer up a:
ps -ef | grep myth

which says

Code: Select all

maff@MYTHTV:~$ ps -ef | grep myth
maff      1205  1141  0 Jul16 ?        00:00:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/share/mythbuntu/session.sh
maff      1208     1  0 Jul16 ?        00:00:00 /usr/bin/dbus-launch --exit-with-session /usr/share/mythbuntu/session.sh
maff      1249  1223  0 Jul16 ?        00:00:00 /bin/sh /usr/bin/mythfrontend --service
mythtv    1515     1  0 Jul16 ?        00:00:55 [mythbackend] <defunct>
maff      1868  1249  1 Jul16 ?        00:17:49 /usr/bin/mythfrontend.real --syslog local7
maff     25565 25437  0 13:22 pts/0    00:00:00 grep --color=auto myth
maff@MYTHTV:~$
Now I've read up on <defunct> and as far as I can tell it means it's already died:

ps -ef | grep defunct shows:

Code: Select all

maff@MYTHTV:~$ ps -ef | grep defunct
mythtv    1515     1  0 Jul16 ?        00:00:55 [mythbackend] <defunct>
maff     25616 25437  0 13:24 pts/0    00:00:00 grep --color=auto defunct
maff@MYTHTV:~$
pstree 1515 gives:

Code: Select all

mythbackend(1515)─┬─{EIT}(1581)
                  ├─{LogForward}(1551)
                  ├─{LogServer}(1550)
                  ├─{Logger}(1552)
                  ├─{TVRecEvent}(1579)
                  └─{TVRecEvent}(1582)
maff@MYTHTV:~$
tail mythbackend.log

Code: Select all

maff@MYTHTV:/var/log/mythtv$ tail mythbackend.log
Jul 16 22:11:26 MYTHTV mythbackend: mythbackend[1515]: I LogForward loggingserver.cpp:295 (SyslogLogger) Added syslogging
Jul 16 22:11:27 MYTHTV mythbackend: mythbackend[1515]: N CoreContext mythcorecontext.cpp:1670 (InitLocale) Setting QT default locale to en_GB
Jul 16 22:11:27 MYTHTV mythbackend: mythbackend[1515]: I CoreContext mythcorecontext.cpp:1703 (SaveLocaleDefaults) Current locale en_GB
Jul 16 22:11:27 MYTHTV mythbackend: mythbackend[1515]: N CoreContext mythlocale.cpp:123 (LoadDefaultsFromXML) Reading locale defaults from /usr/share/mythtv//locales/en_gb.xml
Jul 16 22:11:27 MYTHTV mythbackend: mythbackend[1515]: I CoreContext mythtranslation.cpp:73 (load) Loading en_gb translation for module mythfrontend
Jul 16 22:11:27 MYTHTV mythbackend: mythbackend[1515]: I CoreContext schemawizard.cpp:120 (Compare) Current MythTV Schema Version (DBSchemaVer): 1344
Jul 16 22:11:27 MYTHTV mythbackend: mythbackend[1515]: I CoreContext mythtranslation.cpp:73 (load) Loading en_gb translation for module mythfrontend
Jul 16 22:11:27 MYTHTV mythbackend: mythbackend[1515]: C CoreContext serverpool.cpp:269 (SelectDefaultListen) ServerPool: Host is configured to listen on 192.168.0.200, but address is not used on any local network interfaces.
Jul 16 22:11:27 MYTHTV mythbackend: mythbackend[1515]: N CoreContext main_helpers.cpp:597 (run_backend) MythBackend: Starting up as the master server.
Jul 16 22:14:46 MYTHTV mythbackend: mythbackend[1515]: I TVRecEvent tv_rec.cpp:3686 (TuningFrequency) TVRec[1]: TuningFrequency
maff@MYTHTV:/var/log/mythtv$
Now i'm guessing a bit, but the <defunct> task has been there since 22:14 last night so it's a good 15 hours later and it's still sat there so presumably the child process are still active? I'm out of my depth now in linux-ness, but the mythbackend log might be suggesting a networking issue? So I run it

screen mythbackend -v network

but it won't start presumably because of the <defunct> task and child processes still in memory?

Any suggestions/pointers would be appreciated.

Version schtuffs

Code: Select all

maff@MYTHTV:/var/log/mythtv$ mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.28.1-38-geef6a48
MythTV Branch : fixes/0.28
Network Protocol : 88
Library API : 0.28.20161120-1
QT Version : 5.5.1
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2
maff@MYTHTV:/var/log/mythtv$
cheers all,

Maff
MikeB2013
Senior
Posts: 519
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: [mythbackend] <defunct>

Post by MikeB2013 »

Assuming you are running Mythbuntu 16.04 as the operating system.

As a guess, suggest you check the ip address of your mythbackend machine when you have the failure, log extract indicates networking issue, loss of ip address or it has changed, which is possible depending on how you have setup the ip address and of course your router.
:
networkctl status or ifconfig in a terminal session will give you the current ip address, which should be 192.168.0.200 from you log extract


As a matter of interest how did you setup your ip address, I use /etc/network/interfaces rather than relying on Network Manager or my router.

You can restart the mythbackend by doing :
sudo systemctl restart mythtv-backend.service

Doing ps -A|grep my will show if the main mythbackend process is running and also if mysqld is running.

The last resort is to reboot the machine (sudo reboot should do it)

Mike
maff
Junior
Posts: 24
Joined: Wed Dec 07, 2016 9:50 pm
Great Britain

Re: [mythbackend] <defunct>

Post by maff »

Cheers Mike,

It is indeed the router dishing out fixed ip's based on MaC Address, I will swap it to a static ip in /etc/network/interfaces as suggested and hopefully next time the router wanders off for a moment the mythbackend will survive it.

The

sudo systemctl restart mythtv-backend.service

doesn't want to restart the service with the defunct process still in memory, but i'll check with

ps -A|grep my

if it dies again and see whats what.

thanks.
maff
Junior
Posts: 24
Joined: Wed Dec 07, 2016 9:50 pm
Great Britain

Re: [mythbackend] <defunct>

Post by maff »

Uprgraded my TBS (Sat device) drivers and rebooted and the mythbackend came back up defunct again. The static ip seems to have fended it off while it's running but weird for it to go defunct and so soon after a reboot.

ps -ef A|grep my

Code: Select all

maff@MYTHTV:/dev/dvb/adapter1$ ps -A|grep my
 1104 ?        00:00:05 mysqld
 1873 ?        00:00:00 mythbackend <defunct>
 1988 ?        00:00:00 mythfrontend
 2574 ?        00:00:07 mythfrontend.re
Everything else seems ok.

tail /var/log/mythtv/mythbackend.log

Code: Select all

maff@MYTHTV:/dev/dvb/adapter1$ tail /var/log/mythtv/mythbackend.log
Jul 25 13:58:55 MYTHTV mythbackend: mythbackend[1873]: I CoreContext mythcontext.cpp:513 (LoadDatabaseSettings) Using localhost value of MYTHTV
Jul 25 13:58:55 MYTHTV mythbackend: mythbackend[1873]: I LogForward loggingserver.cpp:295 (SyslogLogger) Added syslogging
Jul 25 13:58:58 MYTHTV mythbackend: mythbackend[1873]: N CoreContext mythcorecontext.cpp:1670 (InitLocale) Setting QT default locale to en_GB
Jul 25 13:58:58 MYTHTV mythbackend: mythbackend[1873]: I CoreContext mythcorecontext.cpp:1703 (SaveLocaleDefaults) Current locale en_GB
Jul 25 13:58:58 MYTHTV mythbackend: mythbackend[1873]: N CoreContext mythlocale.cpp:123 (LoadDefaultsFromXML) Reading locale defaults from /usr/share/mythtv//locales/en_gb.xml
Jul 25 13:58:58 MYTHTV mythbackend: mythbackend[1873]: I CoreContext mythtranslation.cpp:73 (load) Loading en_gb translation for module mythfrontend
Jul 25 13:58:59 MYTHTV mythbackend: mythbackend[1873]: I CoreContext schemawizard.cpp:120 (Compare) Current MythTV Schema Version (DBSchemaVer): 1344
Jul 25 13:58:59 MYTHTV mythbackend: mythbackend[1873]: I CoreContext mythtranslation.cpp:73 (load) Loading en_gb translation for module mythfrontend
Jul 25 13:58:59 MYTHTV mythbackend: mythbackend[1873]: N CoreContext main_helpers.cpp:597 (run_backend) MythBackend: Starting up as the master server.
Jul 25 14:02:36 MYTHTV mythbackend: mythbackend[1873]: I TVRecEvent tv_rec.cpp:3686 (TuningFrequency) TVRec[1]: TuningFrequency
running /dev/dvb/adapter1$ sudo systemctl restart mythtv-backend.service

results in it sitting there for about 3 minutes followed by the

Code: Select all

maff@MYTHTV:/dev/dvb/adapter1$ ps -A|grep my
 1104 ?        00:00:06 mysqld
 1988 ?        00:00:00 mythfrontend
 2574 ?        00:00:15 mythfrontend.re
 3031 ?        00:00:00 mythbackend
maff@MYTHTV:/dev/dvb/adapter1$
and

Code: Select all

maff@MYTHTV:/dev/dvb/adapter1$ tail /var/log/mythtv/mythbackend.log
Jul 25 14:11:28 MYTHTV mythbackend: mythbackend[3031]: N CoreContext mythcontext.cpp:505 (LoadDatabaseSettings) Empty LocalHostName.
Jul 25 14:11:28 MYTHTV mythbackend: mythbackend[3031]: I CoreContext mythcontext.cpp:513 (LoadDatabaseSettings) Using localhost value of MYTHTV
Jul 25 14:11:28 MYTHTV mythbackend: mythbackend[3031]: N CoreContext mythcorecontext.cpp:1670 (InitLocale) Setting QT default locale to en_GB
Jul 25 14:11:28 MYTHTV mythbackend: mythbackend[3031]: I CoreContext mythcorecontext.cpp:1703 (SaveLocaleDefaults) Current locale en_GB
Jul 25 14:11:28 MYTHTV mythbackend: mythbackend[3031]: N CoreContext mythlocale.cpp:123 (LoadDefaultsFromXML) Reading locale defaults from /usr/share/mythtv//locales/en_gb.xml
Jul 25 14:11:28 MYTHTV mythbackend: mythbackend[3031]: I CoreContext mythtranslation.cpp:73 (load) Loading en_gb translation for module mythfrontend
Jul 25 14:11:28 MYTHTV mythbackend: mythbackend[3031]: I CoreContext schemawizard.cpp:120 (Compare) Current MythTV Schema Version (DBSchemaVer): 1344
Jul 25 14:11:28 MYTHTV mythbackend: mythbackend[3031]: I CoreContext mythtranslation.cpp:73 (load) Loading en_gb translation for module mythfrontend
Jul 25 14:11:28 MYTHTV mythbackend: mythbackend[3031]: N CoreContext main_helpers.cpp:597 (run_backend) MythBackend: Starting up as the master server.
Jul 25 14:11:28 MYTHTV mythbackend: mythbackend[3031]: I LogForward loggingserver.cpp:295 (SyslogLogger) Added syslogging
maff@MYTHTV:/dev/dvb/adapter1$
But even 5 minutes later mythfrontend and mythweb both still complain there's no backend.

sudo systemctl stop mythtv-backend.service

sits there for 5 minutes with nothing happening, so I rebooted.

Weirdness, any ideas?

How do I put mythbackend into verbose logging mode at startup?

Cheers all
User avatar
bill6502
Developer
Posts: 2323
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: [mythbackend] <defunct>

Post by bill6502 »

Hi,

I can answer your last question. Edit /etc/mythtv/additional.args .
Add a line similar to: ADDITIONAL_ARGS="-v schedule:debug,record:debug
only for the options you want. And you don't need to use the :debug
level if you don't want.

Then restart the backend. The line can be removed, or even better
just commented out (with a leading #) when you're done.

Type: systemctl cat mythtv-backend 1st and look for a line like:
EnvironmentFile=-/etc/mythtv/additional.args just to be sure
your service file has been setup for the above.
maff
Junior
Posts: 24
Joined: Wed Dec 07, 2016 9:50 pm
Great Britain

Re: [mythbackend] <defunct>

Post by maff »

CHeers Bill, its now coming up <defunct> every time, I suspect the TBS-5520SE drivers as if I boot without it connected all is well.
maff
Junior
Posts: 24
Joined: Wed Dec 07, 2016 9:50 pm
Great Britain

Re: [mythbackend] <defunct>

Post by maff »

Hmmm this can't be good.

Code: Select all

Jul 26 08:25:43 MYTHTV udisksd[2031]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Jul 26 08:26:01 MYTHTV kernel: [  120.638702] BUG: unable to handle kernel paging request at 000000005682ae8b
Jul 26 08:26:01 MYTHTV kernel: [  120.638712] IP: [<ffffffffc0547e54>] dvb_frontend_open+0x54/0x550 [dvb_core]
Jul 26 08:26:01 MYTHTV kernel: [  120.638732] PGD ab1d0067 PUD 0
Jul 26 08:26:01 MYTHTV kernel: [  120.638735] Oops: 0000 [#2] SMP
Jul 26 08:26:01 MYTHTV kernel: [  120.638739] Modules linked in: av201x(OE) si2157(OE) si2183(OE) isl6421(OE) cx24123(OE) cx88_dvb(OE) tas2101(OE) cx88_vp3054_i2c(OE) $
Jul 26 08:26:01 MYTHTV kernel: [  120.638798] CPU: 1 PID: 1658 Comm: mythbackend Tainted: G      D W  OE   4.4.0-87-generic #110-Ubuntu
Jul 26 08:26:01 MYTHTV kernel: [  120.638802] Hardware name: System manufacturer System Product Name/V-M2NC61P, BIOS 0301    12/20/2007
Jul 26 08:26:01 MYTHTV kernel: [  120.638805] task: ffff8800b2589980 ti: ffff8800ab1e4000 task.ti: ffff8800ab1e4000
Jul 26 08:26:01 MYTHTV kernel: [  120.638807] RIP: 0010:[<ffffffffc0547e54>]  [<ffffffffc0547e54>] dvb_frontend_open+0x54/0x550 [dvb_core]
Jul 26 08:26:01 MYTHTV kernel: [  120.638817] RSP: 0018:ffff8800ab1e7bc0  EFLAGS: 00010293
Jul 26 08:26:01 MYTHTV kernel: [  120.638819] RAX: ffffffffc0547e00 RBX: ffff8800b1f718e0 RCX: 0000000000000004
Jul 26 08:26:01 MYTHTV kernel: [  120.638821] RDX: 0000000000000005 RSI: ffff880093964800 RDI: ffff8800b1868058
Jul 26 08:26:01 MYTHTV kernel: [  120.638823] RBP: ffff8800ab1e7c18 R08: 0000000000000000 R09: 0000000000000000
Jul 26 08:26:01 MYTHTV kernel: [  120.638825] R10: 00000000000000d4 R11: 0000000000000000 R12: 000000005682ae3b
Jul 26 08:26:01 MYTHTV kernel: [  120.638828] R13: ffff8800aae8dc00 R14: 000000040001f30a R15: ffffffff821d8700
Jul 26 08:26:01 MYTHTV kernel: [  120.638831] FS:  00007fcbf1bee8c0(0000) GS:ffff88013fc80000(0000) knlGS:0000000000000000
Jul 26 08:26:01 MYTHTV kernel: [  120.638833] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 26 08:26:01 MYTHTV kernel: [  120.638836] CR2: 000000005682ae8b CR3: 00000000ab1cd000 CR4: 00000000000006e0
Jul 26 08:26:01 MYTHTV kernel: [  120.638837] Stack:
Jul 26 08:26:01 MYTHTV kernel: [  120.638839]  ffffffff8121372c 000000000d400008 00000000000000ff ffff880093964800
Jul 26 08:26:01 MYTHTV kernel: [  120.638844]  ffff8800b1868058 ffff8800ab1e7c48 0000000000000000 ffff880093964800
Jul 26 08:26:01 MYTHTV kernel: [  120.638847]  ffff8800b1868058 ffff8800b1acd500 ffffffff821d8700 ffff8800ab1e7c48
Jul 26 08:26:01 MYTHTV kernel: [  120.638851] Call Trace:
Jul 26 08:26:01 MYTHTV kernel: [  120.638857]  [<ffffffff8121372c>] ? cdev_get+0x2c/0x50
Jul 26 08:26:01 MYTHTV kernel: [  120.638865]  [<ffffffffc053f5f4>] dvb_device_open+0x94/0xe0 [dvb_core]
Jul 26 08:26:01 MYTHTV kernel: [  120.638869]  [<ffffffff81213d8f>] chrdev_open+0xbf/0x1b0
Jul 26 08:26:01 MYTHTV kernel: [  120.638874]  [<ffffffff8120ceaf>] do_dentry_open+0x1ff/0x310
Jul 26 08:26:01 MYTHTV kernel: [  120.638877]  [<ffffffff81213cd0>] ? cdev_put+0x30/0x30
Jul 26 08:26:01 MYTHTV kernel: [  120.638882]  [<ffffffff8120e044>] vfs_open+0x54/0x80
Jul 26 08:26:01 MYTHTV kernel: [  120.638886]  [<ffffffff81219d9b>] ? may_open+0x5b/0xf0
Jul 26 08:26:01 MYTHTV kernel: [  120.638890]  [<ffffffff8121dc17>] path_openat+0x1b7/0x1330
Jul 26 08:26:01 MYTHTV kernel: [  120.638893]  [<ffffffff8121ff81>] do_filp_open+0x91/0x100
Jul 26 08:26:01 MYTHTV kernel: [  120.638898]  [<ffffffff8122d8c6>] ? __alloc_fd+0x46/0x190
Jul 26 08:26:01 MYTHTV kernel: [  120.638902]  [<ffffffff8120e418>] do_sys_open+0x138/0x2a0
Jul 26 08:26:01 MYTHTV kernel: [  120.638907]  [<ffffffff81103d81>] ? SyS_futex+0x81/0x180
Jul 26 08:26:01 MYTHTV kernel: [  120.638911]  [<ffffffff8120e59e>] SyS_open+0x1e/0x20
Jul 26 08:26:01 MYTHTV kernel: [  120.638916]  [<ffffffff81841eb2>] entry_SYSCALL_64_fastpath+0x16/0x71
Jul 26 08:26:01 MYTHTV kernel: [  120.638918] Code: 89 75 c0 49 8b 9d 90 00 00 00 4c 8b b3 48 03 00 00 4c 8b a3 30 03 00 00 0f 85 70 03 00 00 83 bb 34 05 00 00 02 0f 8$
Jul 26 08:26:01 MYTHTV kernel: [  120.638952] RIP  [<ffffffffc0547e54>] dvb_frontend_open+0x54/0x550 [dvb_core]
Jul 26 08:26:01 MYTHTV kernel: [  120.638961]  RSP <ffff8800ab1e7bc0>
Jul 26 08:26:01 MYTHTV kernel: [  120.638962] CR2: 000000005682ae8b
Jul 26 08:26:01 MYTHTV kernel: [  120.638966] ---[ end trace 7e799e0ae0208a4e ]---
Ok, convinced on the TBS Drivers, have to wait for a fix, cheers all.
MikeB2013
Senior
Posts: 519
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: [mythbackend] <defunct>

Post by MikeB2013 »

@maff

Out of interest what is kernel version you are running ?

A fully updated mythbuntu 16.04 system with HWE stack installed (https://wiki.ubuntu.com/Kernel/LTSEnablementStack) should give from "uname -a" :

4.10.0-27-generic #30~16.04.2-Ubuntu SMP Thu Jun 29 16:07:46 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

If you are running an older kernel it might be worthwhile updating and rebuilding the tbs drivers.

Whilst on the subject of the tbs drivers, there are issues being reported with 5520SE drivers in latest branch at https://github.com/tbsdtv/linux_media/issues

Mike
maff
Junior
Posts: 24
Joined: Wed Dec 07, 2016 9:50 pm
Great Britain

Re: [mythbackend] <defunct>

Post by maff »

MIke:

Linux MYTHTV 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

The LTSEnablementStack is a new one on me, I'll have a read up, thanks.

Yeah I saw some issues on GitHub including with my specific device,

Cheers.
maff
Junior
Posts: 24
Joined: Wed Dec 07, 2016 9:50 pm
Great Britain

Re: [mythbackend] <defunct>

Post by maff »

Ok upgraded

Linux MYTHTV 4.10.0-27-generic #30~16.04.2-Ubuntu SMP Thu Jun 29 16:07:46 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Rebuilt drivers, ran the mythtv setup and and went to set up adapter1 and boom

Code: Select all

Jul 26 13:32:29 MYTHTV systemd[1]: Stopped MythTV Backend.
Jul 26 13:32:54 MYTHTV kernel: [ 1202.327897] BUG: unable to handle kernel NULL pointer dereference at 0000000000000050
Jul 26 13:32:54 MYTHTV kernel: [ 1202.327943] IP: dvb_frontend_open+0x4c/0x520 [dvb_core]
Jul 26 13:32:54 MYTHTV kernel: [ 1202.327948] PGD 13634c067
Jul 26 13:32:54 MYTHTV kernel: [ 1202.327950] PUD 1349b9067
Jul 26 13:32:54 MYTHTV kernel: [ 1202.327953] PMD 0
Jul 26 13:32:54 MYTHTV kernel: [ 1202.327957]
Jul 26 13:32:54 MYTHTV kernel: [ 1202.327963] Oops: 0000 [#2] SMP
Jul 26 13:32:54 MYTHTV kernel: [ 1202.327969] Modules linked in: snd_hda_codec_realtek snd_hda_codec_generic av201x(OE) isl6421(OE) cx24123(OE) cx88_dvb(OE) tas2101(OE$
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328042]  nouveau mxm_wmi wmi video i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm forcedeth sa$
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328066] CPU: 0 PID: 2704 Comm: mythtv-setup.re Tainted: G      D W  OE   4.10.0-27-generic #30~16.04.2-Ubuntu
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328070] Hardware name: System manufacturer System Product Name/V-M2NC61P, BIOS 0301    12/20/2007
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328075] task: ffff8e2dd8bc5500 task.stack: ffffb545427b8000
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328089] RIP: 0010:dvb_frontend_open+0x4c/0x520 [dvb_core]
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328093] RSP: 0018:ffffb545427bbb98 EFLAGS: 00010297
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328099] RAX: ffffffffc0780ea0 RBX: ffff8e2df86f98f0 RCX: 0000000000000004
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328103] RDX: 0000000000000005 RSI: ffff8e2df737df00 RDI: ffff8e2df29aebe8
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328106] RBP: ffffb545427bbbf0 R08: 0000000000000000 R09: 0000000000000000
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328110] R10: 00000000000000d4 R11: ffff8e2df6881e78 R12: 0000000000000000
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328114] R13: ffff8e2df8a26000 R14: 0000000000000000 R15: ffffffffb79c5c80
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328120] FS:  00007f33cbde28c0(0000) GS:ffff8e2dffc00000(0000) knlGS:0000000000000000
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328124] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328128] CR2: 0000000000000050 CR3: 000000013636d000 CR4: 00000000000006f0
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328132] Call Trace:
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328146]  ? cdev_get+0x2c/0x50
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328159]  dvb_device_open+0x94/0xe0 [dvb_core]
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328168]  chrdev_open+0xbf/0x1b0
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328176]  do_dentry_open+0x208/0x310
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328182]  ? cdev_put+0x30/0x30
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328188]  vfs_open+0x4c/0x70
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328194]  ? may_open+0x9b/0x100
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328200]  path_openat+0x2ac/0x1430
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328209]  ? __wake_up_sync_key+0x50/0x60
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328216]  do_filp_open+0x91/0x100
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328225]  ? __alloc_fd+0x46/0x170
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328231]  do_sys_open+0x12d/0x280
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328238]  SyS_open+0x1e/0x20
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328247]  entry_SYSCALL_64_fastpath+0x1e/0xad
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328251] RIP: 0033:0x7f33e21dec7d
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328254] RSP: 002b:00007fff1be5ab10 EFLAGS: 00000293 ORIG_RAX: 0000000000000002
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328260] RAX: ffffffffffffffda RBX: 00000000028bf2d0 RCX: 00007f33e21dec7d
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328263] RDX: 0000000000000018 RSI: 0000000000000802 RDI: 00000000028be918
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328267] RBP: 00007fff1be5aa40 R08: 00000000028be928 R09: 0000000000000010
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328271] R10: 0000000000000003 R11: 0000000000000293 R12: 0000000001347da0
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328275] R13: 0000000000000001 R14: 00007fff1be5afc0 R15: 0000000002826380
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328279] Code: 48 89 75 c0 49 8b 9d 90 00 00 00 4c 8b b3 48 03 00 00 4c 8b a3 30 03 00 00 66 66 66 66 90 83 bb 34 05 00 00 02 0f 8$
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328348] RIP: dvb_frontend_open+0x4c/0x520 [dvb_core] RSP: ffffb545427bbb98
Jul 26 13:32:54 MYTHTV kernel: [ 1202.328351] CR2: 0000000000000050
Worth a try, happy to have pinned it down to the TBS drivers. I'll go post on their github.
Post Reply