That file should be there see https://git.kernel.org/pub/scm/linux/ke … ?h=v5.10.1
I corrected the issue in the previous post. Now it shows a proper log.
]]>linux-mainline tracks the latest tag from of Linus's tree aka mainline.
What is the output on the Arch box of:type -a cpio
Edit:
Also from the linux tree the output of:stat kernel/gen_kheaders.sh
bash: type: cpio: Command not found
So I just installed the cpio package and I hope for the best.
Edit of the edit: This is the output of the
stat kernel/gen_kheaders.sh
command:
File: kernel/gen_kheaders.sh
Size: 3239 blocks: 8 IO-block: 4096 regular file
Device: 803h/2051d I-node: 405189 links: 1
Permissions: (0775/-rwxrwxr-x) Uid: ( 1000/ironicfur) Gid: ( 1000/ironicfur)
Access: 2020-12-20 01:14:53.683972078 +0100
Modified: 2020-12-14 19:33:01.000000000 +0100
Changed: 2020-12-20 01:03:55.833002905 +0100
Made: 2020-12-20 01:03:55.833002905 +0100
type -a cpio
Edit:
Also from the linux tree the output of:
stat kernel/gen_kheaders.sh
Just use the linux-mainline PKGBUILD in the AUR.
Does it have a delay compared to when Linus releases a new version of the source code on kernel.org and on GitHub?
]]>The warm-up with my Linux Mint VM was pretty good. I just downloaded the kernel sources into a specific compilation directory, installed the necessary dependencies, made a 100% optimised config file and ran this chain of commands:
make -j4 && sudo make modules_install -j4 && sudo make headers_install -j4 && sudo make install -j4
Then I regenerated the initramfs and the GRUB config file, rebooted the VM and it worked like a charm.
I cannot say the same thing with my daily driver machine running Arch Linux.
I copied the tar file over and edited the config file to make it fit for the needs of my bare metal, extracted it, followed the Arch Wiki for Arch-specific commands and ran the same make commands, but the compliler has just stopped at a random point, and for the second instance of running the make command chain, it has now spit out an error message saying this:
...
CC fs/direct-io.o
CC fs/mpage.o
CC fs/proc_namespace.o
CC [M] fs/f2fs/debug.o
CC [M] fs/f2fs/xattr.o
CC fs/eventpoll.o
CC fs/anon_inodes.o
CC fs/signalfd.o
CC [M] fs/f2fs/acl.o
CC [M] fs/f2fs/verity.o
CC fs/timerfd.o
CC fs/eventfd.o
CC fs/userfaultfd.o
LD [M] fs/f2fs/f2fs.o
CC fs/aio.o
CC fs/io_uring.o
CC fs/io-wq.o
CC fs/dax.o
CC fs/locks.o
CC fs/binfmt_script.o
CC fs/binfmt_elf.o
CC fs/compat_binfmt_elf.o
CC fs/mbcache.o
CC fs/posix_acl.o
CC fs/coredump.o
CC fs/drop_caches.o
CC fs/fhandle.o
CC fs/dcookies.o
CC [M] fs/binfmt_misc.o
AR fs/built-in.a
[ironicfur@IronicFur-PC linux-5.10.1]$ make -j4 && sudo make modules_install -j4 && sudo make headers_install -j4 && sudo make install -j4
DESCEND objtool
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/kheaders_data.tar.xz
GEN kernel/kheaders_data.tar.xz
make[1]: *** [kernel/Makefile:146: kernel/kheaders_data.tar.xz] Error 127
make: *** [Makefile:1805: kernel] Error 2
make: *** Waiting for unfinished jobs....
It clearly says something about some kheaders file, but I don't know what Error 127 means. I tried to redo it with a clean build directory, without using the
make install -j4
command, but it still shows this error message.
What can I do with this (seemingly Arch-specific) issue?
]]>