Attempting to build the kernel version 5.1.7 using LZO encountered issues.
Attempting to build the kernel version 5.1.7 using LZO encountered issues.
Hello everyone, I've chosen to build the Linux kernel on my own after facing several problems with my system. I opted for xz compression for my laptop, but I'm hoping to test LZO compression instead. During the bzImage build process, the makefile generated these errors: DESCEND objtool CALL scripts/atomic/check-atomics.sh CALL scripts/checksyscalls.sh CHK include/generated/compile.h MKPIGGY arch/x86/boot/compressed/piggy.S arch/x86/boot/compressed/vmlinux.bin.lzo: Invalid argument arch/x86/boot/compressed/vmlinux.bin.lzo: Invalid argument make[2]: *** [arch/x86/boot/compressed/piggy.S] Error 1 make[2]: *** Deleting file 'arch/x86/boot/compressed/piggy.S' make[1]: *** [arch/x86/boot/Makefile:112: arch/x86/boot/compressed/vmlinux] Error 2 make: *** [arch/x86/Makefile:283: bzImage] Error 2 If someone with experience in this area is willing to assist, it would be greatly appreciated. Thanks ahead! ~Breadpudding
I never built the kernel from source; I usually grab it from the repository, though most distributions keep it in /boot.
I chose this action since the newest kernel stopped me from starting, and the previous kernel I used no longer works with my ath10k drivers.
What distro you running on? For Ubuntu based distros, I'm pretty sure there is a ppa with lists of many old kernels. Manually compiling kernels is a chore and involves manually configuring the modules. https://www.google.com/amp/s/www.cyberci...6.html/amp You may want to back up your current kernel before switching.
I'm using Debian Sid on my home computer. I don't mind compiling a kernel—just run make a few times. The answer is yes. I'm using the latest source from kernel.org. Since I have lzop, I'm confused about the failure. I had problems earlier, so I reinstalled it, cleared the partially built files, and started over.