You are not logged in.

#1 2021-12-30 16:18:02

case_gage
Member
Registered: 2021-12-12
Posts: 15

[SOLVED] Kernel configuration

i get the following when i run make modules for building my kernel:

  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND objtool
  DESCEND bpf/resolve_btfids
  CHK     kernel/kheaders_data.tar.xz
  GEN     kernel/kheaders_data.tar.xz
make[1]: *** [kernel/Makefile:159: kernel/kheaders_data.tar.xz] Error 127
make: *** [Makefile:1868: kernel] Error 2

are kheaders different than linux-headers? i really don't understand what i'm running into here.

Last edited by case_gage (2021-12-31 21:37:37)

Offline

#2 2021-12-30 17:08:31

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Kernel configuration

https://bbs.archlinux.org/viewtopic.php?id=261876?

Any reason why you're not just modifying one of the supplied Arch kernel PKGBUILDs?


Jin, Jîyan, Azadî

Offline

#3 2021-12-31 02:49:45

case_gage
Member
Registered: 2021-12-12
Posts: 15

Re: [SOLVED] Kernel configuration

I don't want to modify the kernel. I'm tooling around and I want to setup my iptables, but I throw errors about not having a kernel configured.

Offline

#4 2021-12-31 02:53:21

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: [SOLVED] Kernel configuration

Please post the actual command you executed and its full output.

Offline

#5 2021-12-31 20:49:53

case_gage
Member
Registered: 2021-12-12
Posts: 15

Re: [SOLVED] Kernel configuration

so, I must be doing something right, but i was able to go ahead with the make modules and get into make initial RAM disk. I've given the following command:

mkinitcpio -k linux-5.15.11 -g /boot/initramfs-linux-5.15.11.img

I receive the following error:
==> ERROR: '/lib/modules/linux-5.15.11' is not a valid kernel module directory

i'm making these commands from inside of the linux kernel version directory of the kernel build directory. Why am I getting notices about the lib directory?

Thanks for the help guys.

Offline

#6 2021-12-31 21:00:06

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Kernel configuration

I'm pretty sure loqs was asking about the iptables command and the associated error.

See also https://xyproblem.info/


Jin, Jîyan, Azadî

Offline

#7 2021-12-31 21:37:12

case_gage
Member
Registered: 2021-12-12
Posts: 15

Re: [SOLVED] Kernel configuration

well, i was throwing an error for the following:

iptables -nvL

I don't  remember what it was, but I'm not getting it anymore. I was reviewing the wiki for iptables and i figured if i'm throwing errors, since it's a kernel level firewall it would be a kernel problem. anyways i guess this is solved? idk i'll try to keep doing the kernel compilation.

Offline

Board footer

Powered by FluxBB