Error during 'Applying kernel sysctl settings'

Hi, unstable branch here. Updating “filesystem” package I receive this error

Applying kernel sysctl settings…
Couldn’t write ‘bbr2’ to ‘net/ipv4/tcp_congestion_control’, ignoring: No such file or directory

please share the content of the pacman.log from this update to see more. I think it is also more kernel related than the filesystem: Missing tcp bbr mod · Issue #344 · scaleway/kernel-tools · GitHub

Is bbr2 even a valid value?

$ sudo sysctl -a | grep congestion
net.ipv4.tcp_allowed_congestion_control = reno cubic
net.ipv4.tcp_available_congestion_control = reno cubic
net.ipv4.tcp_congestion_control = cubic
$ sudo sysctl -w net.ipv4.tcp_congestion_control=bbr2
sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory

$ sudo sysctl -w net.ipv4.tcp_congestion_control=bbr
net.ipv4.tcp_congestion_control = bbr

[2022-06-09T15:03:25+0200] [PACMAN] Running ‘pacman -S filesystem’
[2022-06-09T15:03:27+0200] [ALPM] transaction started
[2022-06-09T15:03:27+0200] [ALPM] reinstalled filesystem (2022.06.08-3)
[2022-06-09T15:03:27+0200] [ALPM] transaction completed
[2022-06-09T15:03:27+0200] [ALPM] running ‘20-systemd-sysusers.hook’…
[2022-06-09T15:03:27+0200] [ALPM] running ‘30-systemd-sysctl.hook’…
[2022-06-09T15:03:27+0200] [ALPM-SCRIPTLET] Couldn’t write ‘bbr2’ to ‘net/ipv4/tcp_congestion_control’, ignoring: No such file or directory
[2022-06-09T15:03:27+0200] [ALPM] running ‘30-systemd-tmpfiles.hook’…
[2022-06-09T15:03:27+0200] [ALPM-SCRIPTLET] Cannot set file attributes for ‘/var/log/journal’, maybe due to incompatibility in specified attributes, previous=0x10001000, current=0x10001000, expected=0x10801000, ignoring.
[2022-06-09T15:03:27+0200] [ALPM-SCRIPTLET] Cannot set file attributes for ‘/var/log/journal/3a684e4259a3456580a023d63c881670’, maybe due to incompatibility in specified attributes, previous=0x00001000, current=0x00001000, expected=0x00801000, ignoring.
[2022-06-09T15:03:27+0200] [ALPM] running ‘30-systemd-update.hook’…
[2022-06-09T15:03:27+0200] [ALPM] running ‘rebuild-detector.hook’…

locate bbr | grep ko
/usr/lib/modules/5.15.45-1-MANJARO/kernel/net/ipv4/tcp_bbr.ko.xz
/usr/lib/modules/5.18.2-1-MANJARO/kernel/net/ipv4/tcp_bbr.ko.xz

there isn’t a bbr2 module.

as you can see it has nothing to do with the filesystem package. Pacman only executes the ALPM hooks. In this case from the systemd package.

ok, I solved. Months ago I changed my sysctl to use a 3rd party kernel feature. Noi I reverted it to bbr (not bbr2) and the message disappeared.

Took a bit of a dive in tcp congestion algorithms and I’m wondering did you compile kernel with bbr2 support yourself or how did you test it?

Edit: If anyone would like to test it, patch (for 5.18): kernel-patches/0001-bbr2.patch at master · ptr1337/kernel-patches · GitHub

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.