I’d like to update OSMC’s kernel for Raspberry Pi to Linux 4.9.
Linux 4.9 is an LTS kernel, so we would like to make this the stable kernel for OSMC on Raspberry Pi for a while, as we did with 4.4.
Before this can be released, it needs a lot of testing to make sure things like DACs, WiFi etc continue to work as expected. I’d like to get this included in OSMC’s May update.
I’d appreciate it if you could test this and provide feedback before we release this as an update to other users. To test this update:
Add the following line: deb http://apt.osmc.tv jessie-devel main
Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
Your system should have have received the update.
I also recommend you edit /etc/apt/sources.list again and remove the line that you added after updating. This will return you to the normal update channel.
That gave me an idea - I copied the boot partition from the (failed) upgrade while leaving the / partition intact. Just in case there were other things in the staging repo which weren’t working. I got
Illegal instruction (probably - it scrolled off the screen)
Failed to start Load Kernel Modules
...
Then it had trouble mounting dev-mmcblk0p1.device (Start job timed out)
Emergency mode, but couldn’t run the suggested journalctl. /boot not mounted.
Warm reboot - a different set of error messages but starting with Illegal instruction and ending with the sad face as the first attempt. /boot is now mounted. Couldn’t upload logs - some message about not being able to get a URL, but I’ve posted them on dropbox.
Even though I (sort of) reverted to the 4.4 kernel, something is pretty well borked:
osmc@osmc:~$ sudo systemctl status mediacenter
● mediacenter.service - media center application
Loaded: loaded (/lib/systemd/system/mediacenter.service; disabled)
Active: active (running) since Sat 2017-05-27 21:24:54 BST; 1min 3s ago
Main PID: 735 (mediacenter)
CGroup: /system.slice/mediacenter.service
└─735 /bin/bash /usr/bin/mediacenter
May 27 21:25:48 osmc mediacenter[735]: ERROR: Unable to create application. Exiting
May 27 21:25:48 osmc mediacenter[735]: *** Error in `/usr/lib/kodi/kodi.bin': corrupted double-linked list: 0x02dfdef0 ***
osmc@osmc:~$ uname -a
Linux osmc 4.4.27-9-osmc #1 SMP PREEMPT Tue Mar 14 20:54:19 UTC 2017 armv7l GNU/Linux
Edit: The md5 of my kodi.bin (Pi 3) is: cea59f22fcb833c13bcd0b61e5aac356 /usr/lib/kodi/kodi.bin
As you can surely understand by the comments above, the new kernel is anywhere but ready to be released. If you can contribute please do so, otherwise please remove your post, this thread is meant for testing feedbacks only.