metaron - any further news on tracking down the kernel commit responsible?
DVB issue since LE switched to kernel 4.9.x
-
smp -
January 26, 2017 at 9:55 PM -
Thread is Resolved
-
-
The recent discussion is something I don't really understand:)
Anyway, if I would like to use the kernel version that has no artifacts with DVBSky S960 and TVH, running RPi3 and latest LE, which kernel should I use? And how to install that kernel?
Thanks!
-
The recent discussion is something I don't really understand:)
Anyway, if I would like to use the kernel version that has no artifacts with DVBSky S960 and TVH, running RPi3 and latest LE, which kernel should I use? And how to install that kernel?
Thanks!
See the links posted on page 5 by smpWith media_build:
LibreELEC-Generic.x86_64-8.0.2-k48.tar
LibreELEC-RPi2.arm-8.0.2-k48.tar
Without media_build:
-
metaron - any further news on tracking down the kernel commit responsible?
Sorry - I was getting closer but real life got in the way about a month ago and I haven't had a chance to to finish my 'slow' bisect yet. I'm still under the cosh a little as it were.
Given the mess I got into last time I wanted to get to a 100% certain position, but it may not be that simple. Given that this merge commit appears to contain a bunch of merge commits on merge commits I'm just following bisect 'blind'. I may be close but I haven't a clue.
It may not prove to be as simple as 'this commit introduced the problem' as I've seen some slightly less severe artifacts on the way to get here. If USB things have been re-written somewhere along the way (which the titles of some of the commits appear to suggest) it may be that a re-write had bugs which were fixed one at a time, leaving the feature we're seeing once all the changes had been incorporated:
Progress so far this time appears to be as follows:
git bisect start
# good: [e6dce825fba05f447bd22c865e27233182ab3d79] Merge tag 'tty-4.9-rc1' of git://http://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
git bisect good e6dce825fba05f447bd22c865e27233182ab3d79
# bad: [e6445f52d9c8b0e6557a45fa7d0e8e088d430a8c] Merge tag 'usb-4.9-rc1' of git://http://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect bad e6445f52d9c8b0e6557a45fa7d0e8e088d430a8c
# good: [54a2ec67f1db62a763f57b7f8f2e82874f5f358b] usb: ohci: Allow ohci on omap5 also
git bisect good 54a2ec67f1db62a763f57b7f8f2e82874f5f358b
# good: [e6be244a83211f3a9daaf5e29ee97fe0bf1efe5a] usb: gadget: uvc: add V4L2 dependency
git bisect good e6be244a83211f3a9daaf5e29ee97fe0bf1efe5a
# good: [6ba43c2919613dad1a880fcab19cda1d68a5ce3d] phy-sun4i-usb: Add support for phy_set_mode
git bisect good 6ba43c2919613dad1a880fcab19cda1d68a5ce3d
# bad: [eeb7df270f1c4629b52fc1f98035fe9e7fe63df2] include: extcon: Fix compilation error caused because of incomplete merge
git bisect bad eeb7df270f1c4629b52fc1f98035fe9e7fe63df2
-
I built a Kodi 18 LE9 image for RPi2/3. If anyone wants to check it out here it is. It's the same as Milhouse build #0815 but with linux kernel downgraded to "dvb-friendly" 4.8.16.
-
Hi, looks like upstream kernel bug (experiencing the same problems on my ubuntu x86 after upgrading from 4.4.x to 4.10.x kernel). Have you reported it to kernel developers already?
-
I built a Kodi 18 LE9 image for RPi2/3. If anyone wants to check it out here it is. It's the same as Milhouse build #0815 but with linux kernel downgraded to "dvb-friendly" 4.8.16.
Is it possible to create a generic build with downgraded kernel?
Thanks
-
Is it possible to create a generic build with downgraded kernel?
Thanks
Yes. I'll do a generic build at some point.
-
Yes. I'll do a generic build at some point.
Really appreciate the builds with the working kernel. With media if possible please and thank you
-
With media if possible please
In LE 9 media_build is now replaced with the CrazyCat installable add-on (Add-ons-->My addons-->Services).
-
I'm having an issue compiling the Generic build. Looks like there is some problem with gcc 7.2 because older versions of LE9 master compiled fine with kernel 4.8.x.
Codekernel/built-in.o: In function `update_wall_time': (.text+0x58be7): undefined reference to `____ilog2_NaN' make[1]: *** [Makefile:951: vmlinux] Error 1 make[1]: Leaving directory '/home/a/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/linux-4.8.16' Makefile:12: recipe for target 'image' failed make: *** [image] Error 2
-
Archhh, maybe milhouse can help you out?
-
Sounds like 72785 – [7 Regression] kernel build error since r236831
Try the patch linked in the last comment.
-
Try the patch linked in the last comment.
Thanks, it worked!
-
-
-
I wonder if this issue is related:
Basically USB packets were getting dropped on 4.9 kernel and not on 4.4 kernel.
Interesting this bug has just been fixed upstream (this commit).
There was an overflow error in setting timer callbacks which may result in incoming packets not being serviced.
smp I wonder if you could try a recent 4.9 kernel that includes that commit.
-
LE 8.1.1 ships with kernel 4.9.43 and the commit is included there.
smp could you test if it works with LE 8.1.1 beta?
so long,
Hias
-