Score:1

Problem Updating Ubuntu 20.04 to Kernel 5.15

cn flag

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?

Nmath avatar
ng flag
How exactly did you update the kernel?
cn flag
Downloaded from the ppa mainline. Then sudo dpkg -i *.deb
Nmath avatar
ng flag
The mainline kernel is not considered stable and should only be used for testing purposes. I suggest that you revert the changes that you made. See: [Ubuntu Wiki Mainline Builds](https://wiki.ubuntu.com/Kernel/MainlineBuilds). If you wish to continue testing an unsupported kernel, please [file a bug report](https://askubuntu.com/questions/5121/how-do-i-report-a-bug) so that developers can identify and fix these issues.
cn flag
Ok, thanks for the links.
Doug Smythies avatar
gn flag
Yes, some are having troubles with bpfilter issues. Myself, I have not been able to re-create the issue.
Score:0
er flag

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"
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.