Raspberry Pi Kernels (2.0)

v6.9.2 is out but v.6.10.x is not even present :frowning:
Kernel 6.10 seems promising !

New packages pushed to unstable when the mirrors sync:

linux-rpi4-mainline 6.9.2-1
linux-rpi4-mainline-headers 6.9.2-1
linux-rpi5-mainline 6.9.2-1
linux-rpi5-mainline-headers 6.9.2-1
raspberrypi-bootloader 20240524-1
2 Likes

so, when we will have new img?
plasma-5 sdcard broken after recent huge update :rofl:

v6.10 is out.

It’s compiling… I’m a little concerned about the last commit though. Looks like it could be a work in progress looking at the commit message.

https://github.com/raspberrypi/linux/commit/a095fe858db96cb6ec995290889320f7a5b54cb6

Well it compiled and seems to test ok. New packages pushed.

linux-rpi5 rc-6.10.rc1-1
linux-rpi5-rc-headers 6.10.rc1-1

They have the linux-rpi4-rc 6.10.rc1-1 broke right now

Pi4/sway, 6.10-rc reboot fail.
plasma-5 broken, now back to PiOS rescue :rofl:

edit,
ok, how to fix this, did it once but forgot?
copy initramfs8 & /lib/modules from bootable kernel?

1 Like

/boot/initramfs8
/boot/kernel8.img
/boot/bcm2711-rpi-4-b.dtb
/usr/lib/modules/(kernel-version)

ok, done thanks.
but you said test RC ok?

I only tested on the pi5. Too many pi devices to test all of them. I did just test on the pi4 and they defiantly have something messed up with it so I removed linux-rpi4-rc from the repo until they get it fixed. I get a kernel panic here.

btw, while back to PiOS-6.6, keyboard did not repeat, but your build did.

I do not know what is different in the OS but the kernels use their exact same config as a base using make bcm2711_defconfig like they do. I never have any keyboard repeats here.

These latest kernel packages has been pushed to the unstable branch when the mirrors sync.

The pi4 -rc still does not boot for me. It seems to be worse. All I get is a rainbow screen which usually means a missing/corrupt /boot file. I do not see any missing files so looks like something is amiss with the existing files regarding the pi4.

They seem to be having issues with this kernel getting things right on the pi4. They have yet been able to get through all of the compile tests also without it failing.

The pi5 -rc kernel still seems to be ok. I am guessing the reason is that it has not been upstreamed yet so they do not have to patch any of the upstream’s existing code because of it’s new changes to make things work the way they want.

linux-rpi5-rc 6.10.rc3-1
linux-rpi5-rc-headers 6.10.rc3-1

I need to use a snap package and apparmor is not enabled.

 ConditionSecurity=apparmor was not met
 Load AppArmor profiles managed internally by snapd was skipped because of an unmet condition check (ConditionSecurity=apparmor)

Does the kernel have the options to use apparmor or i just have to enable lsm options in cmdline ?

When compiling the kernel, it is required to set at least the following options:
CONFIG_SECURITY_APPARMOR=y
CONFIG_AUDIT=y
To enable the AppArmor Linux security model by default and omit the need to set kernel parameters, additionally set the CONFIG_LSM option and specify apparmor as the first “major” module in the list:
CONFIG_LSM=“landlock,lockdown,yama,integrity,apparmor,bpf”

The kernel modules should be enabled. I have this in my cmdline.txt and have had no issues with snaps.

lsm=landlock,lockdown,yama,integrity,apparmor,bpf
1 Like

I have pushed the latest linux-rpi4-rc to the unstable repo.

I have messed with this kernel off and on most of the day today on my pi4 after their latest commits. It was booting on my test image on the stable branch but was having an issue with getting a Kernel Stack Trace when trying to play youtube vids. I had not updated the eeprom in a couple of years and flash it with the latest and still no change. Then I switched to the unstable branch and updated with no joy.

I then looked at the Kernel Stack Trace and saw that it looked like v4lm2m was involved so I decided to try chromium and had no issues playing youtube vids. Then I went back to firefox Edit → Settings → General → Performance and unchecked the 2 boxes and and it seemed to solve the Kernel Stack Trace problem.

I did not have jc-kynesim’s ffmpeg installed to test but it is just for mp4 HW so not much use for the vp9 stuff youtube defaults to. I am going to open an issue with the rpi github tomorrow but am too tired to mess with it today.

linux-rpi4-rc 6.10.rc3-2
linux-rpi4-rc-headers 6.10.rc3-2

thought, V3D/VC4 in kernel side is the end?
only look forward is CPU-jobs, but didn’t feel anything help?
so, desktop user should stay 6.6 follow PiOS?

v6.9.4 is out

@Dulbi Now pushed to unstable when the mirrors sync.

linux-rpi4 6.6.33-1
linux-rpi4-headers 6.6.33-1
linux-rpi4-mainline 6.9.4-1
linux-rpi4-mainline-headers 6.9.4-1
linux-rpi5 6.6.33-1
linux-rpi5-headers 6.6.33-1
linux-rpi5-mainline 6.9.4-1
linux-rpi5-mainline-headers 6.9.4-1
raspberrypi-bootloader 20240612-1
2 Likes

Pi4, 6.9.4 test OK.

2 Likes

@spikerguy and I have been working the last few days on getting the pi5 to boot on the linux 6.9 upstream kernel (not RPi’s kernel) using patches found on the internet. I have not had time yet to see what all may not work but it seems to be ok so far.

[ray@pi5 ~]$ inxi -Fxz
System:
  Kernel: 6.9.4-1-MANJARO-ARM arch: aarch64 bits: 64 compiler: gcc v: 14.1.1
  Desktop: Xfce v: 4.18.1 Distro: Manjaro ARM base: Arch Linux
Machine:
  Type: ARM System: Raspberry Pi 5 Model B Rev 1.0 details: N/A
    serial: <filter>
CPU:
  Info: quad core model: N/A variant: cortex-a76 bits: 64 type: MCP
    arch: ARMv8 rev: 1
  Speed (MHz): avg: 1500 min/max: 1500/2800 cores: 1: 1500 2: 1500 3: 1500
    4: 1500 bogomips: 432
  Features: Use -f option to see features
Graphics:
  Device-1: bcm2712-hdmi0 driver: vc4_hdmi v: N/A bus-ID: N/A
  Device-2: bcm2712-hdmi1 driver: vc4_hdmi v: N/A bus-ID: N/A
  Display: x11 server: X.Org v: 21.1.13 driver: X: loaded: modesetting
    dri: vc4
    gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_hdmi,vc4_hvs,vc4_txp,vc4_v3d,vc4_vec
    s-res: 1360x768 resolution: 1360x768
  API: EGL v: 1.4,1.5 drivers: swrast,v3d,vc4 platforms:
    active: gbm,x11,surfaceless,device inactive: wayland
  API: OpenGL v: 4.5 compat-v: 3.1 vendor: broadcom mesa v: 24.1.1-arch1.1
    glx-v: 1.4 direct-render: yes renderer: V3D 7.1.7
Audio:
  Device-1: bcm2712-hdmi0 driver: vc4_hdmi bus-ID: N/A
  Device-2: bcm2712-hdmi1 driver: vc4_hdmi bus-ID: N/A
  API: ALSA v: k6.9.4-1-MANJARO-ARM status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active
Network:
  Device-1: Raspberry Pi RP1 PCIe 2.0 South Bridge driver: rp1 v: N/A
    port: N/A bus-ID: 01:00.0
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: end0 state: down mac: <filter>
Bluetooth:
  Device-1: bcm7271-uart driver: bcm7271_uart bus-ID: N/A
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.0
    lmp-v: 9
Drives:
  Local Storage: total: 29.73 GiB used: 6.4 GiB (21.5%)
  ID-1: /dev/mmcblk0 vendor: SanDisk model: SD32G size: 29.73 GiB
    type: Removable
Partition:
  ID-1: / size: 28.73 GiB used: 6.3 GiB (21.9%) fs: ext4 dev: /dev/mmcblk0p2
  ID-2: /boot size: 457.5 MiB used: 102.9 MiB (22.5%) fs: vfat
    dev: /dev/mmcblk0p1
Swap:
  ID-1: swap-1 type: zram size: 11.63 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 59.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: N/A available: 7.75 GiB used: 632.1 MiB (8.0%)
  Processes: 192 Uptime: 0m Init: systemd
  Packages: 704 Compilers: N/A Shell: Bash v: 5.2.26 inxi: 3.3.34

2 Likes