I need a certain kernel version to get Proxmox/Pimox installed on Rasberry Pi OS:
I’m not positive on the correct version but for some reason I can’t seem to get any version of 5.10 installed along with the proper headers.
If I don’t use this version I get the errors mentioned here:
Which essential boils down to “dpkg: error processing package ceph-dkms”
I run the normal install commands:
sudo apt update
sudo apt install linux-headers-5.10.0-18-arm64 linux-image-5.10.0-18-arm64-dbg
Sometimes I’m able to install the kernel version but never both the kernel and header:
israel-master-key@raspberrypi-proxmox:~ $ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.1.22-04691-g10d99e724bd0
Found initrd image: /boot/initrd.img-6.1.22-04691-g10d99e724bd0
Found linux image: /boot/vmlinuz-6.1.21-04463-gbcb638653280
Found initrd image: /boot/initrd.img-6.1.21-04463-gbcb638653280
Found linux image: /boot/vmlinuz-5.10.158-01186-g5aae01f33031
Found initrd image: /boot/initrd.img-5.10.158-01186-g5aae01f33031
Found linux image: /boot/vmlinuz-5.10.0-8-rt-arm64
Found initrd image: /boot/initrd.img-5.10.0-8-rt-arm64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
done
I’m very confused on this whole process really.
I just want to install either:
Option 1.
5.10.95
Build:
sudo apt install git bc bison flex libssl-dev make
git clone --depth=1 --branch rpi-5.10.y GitHub - raspberrypi/linux: Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
cd linux
KERNEL=kernel8
make bcm2711_defconfig -j4
Config:
sudo apt install libncurses5-dev
make menuconfig -j4
KSM Support active
Kernel 64Bit Build:
make -j4 Image modules dtbs
sudo make modules_install
sudo cp arch/arm64/boot/dts/broadcom/.dtb /boot/
sudo cp arch/arm64/boot/dts/overlays/.dtb* /boot/overlays/
sudo cp arch/arm64/boot/dts/overlays/README /boot/overlays/
sudo cp arch/arm64/boot/Image /boot/$KERNEL.img
Reboot
or
Option 2.
Instead of compiling the kernel from scratch I was able to install Pimox7 with the last 5.10 kernel from the official archive without issues.
wget http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-kernel_1.20220120-1_arm64.deb
wget http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-kernel-headers_1.20220120-1_arm64.deb
sudo dpkg -i raspberrypi-kernel_1.20220120-1_arm64.deb raspberrypi-kernel-headers_1.20220120-1_arm64.deb
sudo apt-mark hold raspberrypi-kernel raspberrypi-kernel-headers
END
Any ideas on how to troubleshoot or accomplish?