-
Notifications
You must be signed in to change notification settings - Fork 854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to compile a kernel results in "FAILED: load BTF from vmlinux: No such file or directory" #10299
Comments
Thank you for reporting this @ReneNyffenegger. Do you see the same error by following the build instructions ?
? |
It turned out I had quite a few packages not installed: After installing them with the proposed
after also nstalleding
... the build went on without further problems (I did not yet try to install the new built kernel) |
Nice ! Thank you for confirming. Closing since the issue is resolved. |
I found the cause of the problem on Stack Exchange - https://unix.stackexchange.com/a/616479/608997
In order to solve this problem, I removed the RAM limit in [wsl2]
# memory=3GB After that I compiled the WSL kernel without any problems You can learn more about |
Windows Version
Microsoft Windows [Version 10.0.22621.1992]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.90.1-microsoft-standard-WSL2
Distro Version
Debian 11 (lsb_release is not available as command)
Other Software
No response
Repro Steps
Expected Behavior
The kernel would be built
Actual Behavior
The build process ends with the error message
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: