ARM64 – Fedora 33 Pre-release Kernel Boot Problem – and Workaround..
I have been testing Fedora 33 pre-release, and on x86_64 it seems relatively stable (usual caveats…) but on arm64 systems (Odroid N2 and Pi4) I found that after compiling a new kernel (5.8.3), the system booted, but login was impossible, and screen output was missing (uart/console was OK).
Kernels compiled with Fedora 32 all booted OK, and after booting into recovery mode with the F33-compiled kernel, I found that no kernel modules were loaded, and that it was impossible to load them:
# modprobe -v ip_tables
insmod /lib/modules/5.8.3/kernel/net/netfilter/x_tables.ko
modprobe: ERROR: could not insert 'ip_tables': Exec format error
I then tried a workaround, to cross-compile the arm64 kernel etc. on my (F32) x86_64 system, and then boot into a known/good (F32) kernel on the Odroid N2, and copy across the kernel and modules, run dracut.. etc.. This resulted in a normal boot, and everything worked as it should.
I tested further by using the F33 native-compiled kernel with the cross-compiled modules, and this worked OK, so the problem seems to be with the kernel modules compile..
Obviously, Fedora 33 is still very much pre-Beta, so I will check bugzilla for any fixes..
Robert Gadsdon. August 26th 2020
Comments
ARM64 – Fedora 33 Pre-release Kernel Boot Problem – and Workaround.. — No Comments