looks like the kernel is installed but I always get errors - see below…
uname -a
Linux calypso 6.1.43-20-rk2312 #3e26818dc SMP Tue Nov 19 07:21:24 UTC 2024 aarch64 GNU/Linux
The image is an radxa image installed 14.4.2024 but
/var/lib/dkms/8852be/1.15.10.0.5.0-4/build/make.log
says:
warning: the compiler differs from the one used to build the kernel
The kernel was built by: aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110
You are using: gcc (Debian 12.2.0-14) 12.2.0
HOW CAN I GET RID OF THIS ERROR WITHOUT REINSTALLING THE WHOLE OS.
Btw… new installs of the newest radxa AND armbian images are faulty!
One of them detaches the NIC at an kernel upgrade!
Tks
##########################
linux-image-6.1.43-20-rk2312 (6.1.43-20-3e26818dc) wird eingerichtet …
dkms: running auto installation service for kernel 6.1.43-20-rk2312.
Sign command: /lib/modules/6.1.43-20-rk2312/build/scripts/sign-file
Binary /lib/modules/6.1.43-20-rk2312/build/scripts/sign-file not found, modules
won’t be signed
Building module:
Cleaning build area…
make -j8 KERNELRELEASE=6.1.43-20-rk2312 -C /lib/modules/6.1.43-20-rk2312/build M
=/var/lib/dkms/8852be/1.15.10.0.5.0-4/build…(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.43-20-rk2312 (aarch64)
Consult /var/lib/dkms/8852be/1.15.10.0.5.0-4/build/make.log for more information
.
Sign command: /lib/modules/6.1.43-20-rk2312/build/scripts/sign-file
Binary /lib/modules/6.1.43-20-rk2312/build/scripts/sign-file not found, modules
won’t be signed
Building module:
Cleaning build area…
make -j8 KERNELRELEASE=6.1.43-20-rk2312 -C /lib/modules/6.1.43-20-rk2312/build M
=/var/lib/dkms/8852bu/1.15.7.112-2/build…(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.43-20-rk2312 (aarch64)
Consult /var/lib/dkms/8852bu/1.15.7.112-2/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.43-20-rk2312 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
update-initramfs: Generating /boot/initrd.img-6.1.43-20-rk2312
Rebuilding overlay data folder for ‘6.1.43-20-rk2312’…
Removing managed overlays…
Building list of compatible overlays…
Installing compatible overlays…
Reenable previously enabled overlays…
Commiting changes…
Overlay data folder has been successfully rebuilt.
P: Checking for EXTLINUX directory… found.
P: Writing config for vmlinuz-6.1.43-20-rk2312…
P: Writing config for vmlinuz-5.10.110-33-rockchip…
dpkg: Fehler beim Bearbeiten des Paketes linux-image-6.1.43-20-rk2312 (–configu
re):
»installiertes post-installation-Skript des Paketes linux-image-6.1.43-20-rk231
2«-Unterprozess gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-rock-5b:
linux-image-rock-5b hängt ab von linux-image-6.1.43-20-rk2312; aber:
Paket linux-image-6.1.43-20-rk2312 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes linux-image-rock-5b (–configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
linux-image-6.1.43-20-rk2312
linux-image-rock-5b
E: Sub-process /usr/bin/dpkg returned an error code (1)