You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Except for these log-lines everything is behaving normal. Also I only managed to trigger this on my laptop, but not on any of my servers.
The following hardware is affected: Lenovo T14s AMD Gen 1. I also use the zfs kernel module and the configurations from nixos-hardware for said model.
Since I couldn't reproduce the problem with 6.1.14, I tried to bisect the problem to a specific commit, without luck though. When I bisected, every single revision I built booted without these warnings. At the end I rebuilt Linux 6.1.15 (with a random env new var in the drv to trigger a rebuild) and it was still gone, so I suspect the problem is some kind of build-system problem.
Since I can't reproduce it anymore I haven't filed an upstream bug so far because I can't rule out an issue in nixpkgs safely.
In fact I found a thread that seemed related[1], but considering that the root-cause was a problem with KUnit on 6.3 it's most likely not.
Neither my time nor my knowledge about BPF internals is sufficient to investigate what's wrong there currently, so I filed an issue to document this and to let others chime in.
Steps To Reproduce
None, unfortunately. I didn't manage to trigger this while rebuilding kernels.
However, a flat-file binary cache containing the build product of the problematic kernel is available at https://wolke.mbosch.me/s/gaZNLMytbd9EbrH.
Revision b65d565 (nix-build -A linuxKernel.kernels.linux_6_1) was used to build the kernel.
This happens when your kernel and your modules come from different instances of a build, e.g. one is substituted and the other isn't. Before #181456 this would die entirely on boot. I still haven't found the time to investigate the cause.
Describe the bug
I installed Linux kernel at 6.1.15 on my workstation that I previously built on my own. This caused the following log-lines after booting:
bootlog
Except for these log-lines everything is behaving normal. Also I only managed to trigger this on my laptop, but not on any of my servers.
The following hardware is affected: Lenovo T14s AMD Gen 1. I also use the
zfs
kernel module and the configurations fromnixos-hardware
for said model.Since I couldn't reproduce the problem with 6.1.14, I tried to bisect the problem to a specific commit, without luck though. When I bisected, every single revision I built booted without these warnings. At the end I rebuilt Linux 6.1.15 (with a random env new var in the drv to trigger a rebuild) and it was still gone, so I suspect the problem is some kind of build-system problem.
Since I can't reproduce it anymore I haven't filed an upstream bug so far because I can't rule out an issue in nixpkgs safely.
In fact I found a thread that seemed related[1], but considering that the root-cause was a problem with KUnit on 6.3 it's most likely not.
Neither my time nor my knowledge about BPF internals is sufficient to investigate what's wrong there currently, so I filed an issue to document this and to let others chime in.
Steps To Reproduce
None, unfortunately. I didn't manage to trigger this while rebuilding kernels.
However, a flat-file binary cache containing the build product of the problematic kernel is available at https://wolke.mbosch.me/s/gaZNLMytbd9EbrH.
Revision b65d565 (
nix-build -A linuxKernel.kernels.linux_6_1
) was used to build the kernel.Notify maintainers
cc @alyssais @NeQuissimus @TredwellGit (linux kernel team)
cc @K900 @lovesegfault @fabianhjr (for regularly working on kernel-related things)
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.[1] https://lore.kernel.org/all/9f682c4d-e7b7-5e23-84f5-cea4fdac2085@leemhuis.info/
The text was updated successfully, but these errors were encountered: