You are not logged in.

#1 2023-12-16 17:47:55

BlazingBlast
Member
Registered: 2023-12-16
Posts: 3

bpf-lsm fails on custom kernel, resulting in no Ethernet.

I recently found out that my kernel update script wasn't working properly, after fixing it, it seems that I have broken my config somewhere in the past month. I do now know when I broke it, or what I did to do so. All I know is that I no longer have a public IP address. 
ip a on the default kernel gives:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:d8:61:fb:82:69 brd ff:ff:ff:ff:ff:ff
    altname enp0s31f6
    inet 192.168.178.192/24 brd 192.168.178.255 scope global dynamic noprefixroute eno1
       valid_lft 84569sec preferred_lft 84569sec

And on my botched one:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:d8:61:fb:82:69 brd ff:ff:ff:ff:ff:ff
    altname enp0s31f6

My Ethernet driver is e1000e.

Then I also have links to: 
My .config file: https://gist.github.com/Blazing-Blast/b … 6216ce5ac2 
The output of dmesg: https://gist.github.com/Blazing-Blast/a … 34b3bb5e3c 
And the output of journalctl --boot: https://gist.github.com/Blazing-Blast/3 … 25d7166939 

The big bad seems to be

systemd[1]: bpf-lsm: Failed to load BPF object: No such process

I do have

CONFIG_BPF_LSM=y

and

CONFIG_CGROUP_BPF=y

(if I do not, I get other errors). Yet this error keeps coming up. 

Does anyone know how to fix this? I would really appreciate it.

Offline

Board footer

Powered by FluxBB