After the recent vandalisation that thankfully & hopefully ended in a farewell post #15, I feel the need to recap/summarize a little:
I started this thread reporting an issue affecting the
official kernel that is delivered by the Raspberry Foundation with their Raspbian images and was
only focusing on these official kernels. By not finding any information about this issue at the Raspberry Foundation kernel bug-track (git) and in the Raspbian release notes:
https://downloads.raspberrypi.org/ra...ease_notes.txt
I started to look for help in other places and found the first confirmation in the Kodi Forum and afterwards in a thread at LibreELEC, where the reported issue was also observed and replicated. Finally, by the help of a user (jahutchi), the offending kernel commit that caused this issue was finally found:
https://git.kernel.org/pub/scm/linux...500098f2d5f882
The kernel devs got involved and I was expecting a fix from them, sharing the same approach/expectations like popcornimx (Raspberry Foundation):
https://forum.libreelec.tv/thread/42...6233#post76233
"ideally upstream kernel devs acknowledging the issue introduced and finding a solution"
Linus (Torvalds) came promptly with a fix:
https://patchwork.linuxtv.org/patch/46368/
that wasn't adopted by the Raspberry Foundation - detailed in the following sections.
Meanwhile, a little over a week ago, the folks at Raspberry released their new Raspbian image, I did download it and had no time to check the source code that was used to build its kernel. The only method to obtain the exact source code that I'm aware of implies loading&running the Raspbian on a Pi board and following this guide:
https://github.com/notro/rpi-source/wiki
(mentioned as a link pointing at the Raspberry Forum in my first post in this thread)
I finally checked it now, after a good coffee, and just found out that the folks at Raspberry Foundation
reverted the offending commit in their latest kernel release that comes with Raspian:
https://www.raspberrypi.org/downloads/raspbian/
Version: March 2018
Release date: 2018-03-13
Kernel version: 4.9
The exact kernel version after opening the Raspbian image (Kinder Surprise!) is 4.9.80+ and the source code for this kernel build is to be found at (152MB !):
https://github.com/raspberrypi/linux...eace130.tar.gz
Running a diff on the files: /kernel/softirq.c (from the source archive) and the reference from Linus' master at:
https://github.com/torvalds/linux/bl...rnel/softirq.c
got me exactly the offending commit:
https://git.kernel.org/pub/scm/linux...500098f2d5f882
I haven't tested this kernel yet but will do so in the following days. As the offending commit was simply reverted and no patch applied, I don't expect to get into any issues with this new kernel and hope to enjoy the same stability as with my actual (and old) 4.4.50+
It's interesting to follow the development on the softirq.c with the kernel folks (pretty difficult as it spreads over a few threads) and hope they'll come up with a resolution soon that will be generally available and backported/updated.
Just for reference, the kernel devs discussion is to be found in the links from this post:
https://forum.kodi.tv/showthread.php...186#pid2717186