I've
installed Ubuntu 14.04 + kernel 3.13 + kvm on my Samsung Chromebook ARM
"SNOW" model XE303C12. Almost everything works (but not the mouse usb).
My goal is to upgrade Ubuntu (kernel and userland and I want to keep
kvm enabled). I would like to compile and enable kvm on
a new kernel,all around the 5.4 branch and most of all,I want to change Ubuntu to Debian.
This is the tutorial that I'm following :
http://www.virtualopensystems.com/en/solutions/guides/kvm-on-chromebook/
As you can see they have used ubuntu 13.04 as host os,but I have used ubuntu 14.04 because the 13.04 is so old that the repositories are offline. On Ubuntu 14.04 the default compiler is the 4.8. Below you can see what happened when I tried to recompile the kernel 5.4.244 using the compiler 4.8 :
root@marietto-Z87-HD3:/home/ziomario/Desktop/linux-5.4.244# ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make uImage dtbs -j2
scripts/kconfig/conf --syncconfig Kconfig
CC scripts/mod/empty.o
CC scripts/mod/devicetable-offsets.s
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
CC kernel/bounds.s
CALL scripts/atomic/check-atomics.sh
CC arch/arm/kernel/asm-offsets.s
arch/arm/kernel/asm-offsets.c:45:2: error: #error Your compiler is too buggy; it is known to miscompile kernels
#error Your compiler is too buggy; it is known to miscompile kernels
^
arch/arm/kernel/asm-offsets.c:46:2: error: #error and result in filesystem corruption and oopses.
#error and result in filesystem corruption and oopses.
^
make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make: *** [sub-make] Error 2