[mythtv-users] Interesting update

Stephen Worthington stephen_agent at jsw.gen.nz
Sun Jul 8 14:01:13 UTC 2018

On Sun, 8 Jul 2018 08:46:52 -0400, you wrote:

>On 7/7/2018 10:21 PM, Stephen Worthington wrote:
>> On Sat, 7 Jul 2018 21:57:05 -0400, you wrote:
>>> Jul  7 21:04:36 nick kernel: [   41.946059] lircd[835]: segfault at 8 ip
>>> 0000000000427cd0 sp 00007ffc3475f148 error 4 in lircd[400000+35000]
>> This looks like the problem.  Lircd crashed on a segfault.
>Coincidentally, I had a short power fail this morning and had to start 
>my box from scratch; remotes stopped working again.
>I just found this, sounds like a good chance it's the culprit:
>4.15.0 update breaks LIRC
>I rebooted and picked the earlier kernel (4.13.0-45), remotes work 
>fine.  How do we check to see if it's been reported as a bug?

What operating system are you running?  Your version of LIRC is rather
old (0.9.0), which is what Ubuntu 16.04 uses.  That suggests that you
are using Ubuntu 16.04 in some form.  But to get a 4.15 kernel on
Ubuntu 16.04, you must have upgraded it.  Somewhere between 16.04 and
18.04, a proper up-to-date version of LIRC was introduced, and I think
it is likely to not have this problem.  It is likely only the
combination of a fairly new kernel and the old 0.9.0 LIRC that is
causing this.  I would guess that 4.15 kernels are never tested with
LIRC versions as old as 0.9.0.  If I am right, when 18.04.1 comes
along and allows upgrading from 16.04 LTS to 18.04 LTS, then this will
no longer be a problem.  But upgrading to the new version of LIRC can
be a problem in itself, as it is quite different from the older
versions and breaks working configurations.

So I think the easy fix is to do just what you have - keep using an
older kernel until 18.04.1 is available, then upgrade to 18.04 and fix
the LIRC configuration to work with the new LIRC config system (Python
based).  Rather than trying to get a bug fix in an old LIRC version,
or in the new kernel.

More information about the mythtv-users mailing list