1

After signing and upgrading my kernel to 5.15 on Ubuntu Server 20.04, everything boots fine. It drops me into a shell login and after a few moments I'm flooded with this error.

bpfilter: read error 0

Any ideas?

1 Answers1

0

I have found a workaround to fix this issue. If you disable bpfilter and ufw (Ubuntu firewall) as follows, the dmesg command does not display the error messages (e.g. bpfilter: read error 0).

  1. Edit /etc/modprobe.d/blacklist.conf:

    sudo vi /etc/modprobe.d/blacklist.conf
    
  2. Add:

    blacklist bpfilter
    
  3. Save and close vi by pressing: :wq and Enter.

  4. Then run the following commands:

    sudo ufw status 
    sudo ufw disable 
    sudo ufw status
    

Some system info:

$ uname -a 
Linux 5.15.2-051502-generic #202111121041 SMP Fri Nov 12 16:26:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu 
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"