XPost: linux.debian.kernel
Control: severity -1 important
Control: tag -1 moreinfo
On Thu, 2025-07-10 at 11:21 +0200, Markus Johnsson wrote:
Package: linux-headers-6.1.0-37-amd64
Version: 6.1.140-1
Severity: serious
Hello Debian team,
(First, I wish to apologize for not using the report tool fully. I used it and took the contents of the report from there to complete it, but my SMTP server failed to send the report, so I sent it manually instead. Thank you for understanding. Now to
the report.)
I've encountered a serious and reproducible issue with the Debian 12 (Bookworm) kernel headers package that affects the ability to build out-of-tree kernel modules — such as for netfilter hooks or network drivers — using linux-headers-6.1.0-37-
amd64.
====================
📌 Problem Summary
====================
The installed kernel headers appear to be incomplete. While the symbolic link /lib/modules/$(uname -r)/build correctly points to /usr/src/linux-headers-6.1.0-37-amd64, this directory relies on shared contents from /usr/src/linux-headers-6.1.0-37-common,
which is missing critical build infrastructure.
As a result, any attempt to build a kernel module using the standard external Makefile flow fails or silently produces a broken .ko file that cannot be inserted.
[...]
Our CI process verifies that it is possible to build an external kernel
module using the packages we provide. So there is not a general problem
here, but perhaps with the specific way you are using it.
Where can I see the source for the kernel module that you are trying to
build?
Ben.
--
Ben Hutchings
Never attribute to conspiracy what can adequately be explained
by stupidity.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmhvpQoACgkQ57/I7JWG EQnjGRAAscONW63gyQDorOzBvPsw/60AvCUvqFGmSxc7heBqA9huv4f2sZ5cN2nc 8pQC9v2cFePbqjjFqfZrCzlJ/6tFuRm1ATcSE1paKiV54Hw1kqzG05m2kw5R7LVz W4MEz0BhRET+qhfApKIRJy/GRiqPvGCt55g31p50fUeKgrh9LXYc5hV/2SHK5j8G 0Zn/5oZku/JTeJ1+1Kw/k9rl18eLBNZk7Qz4UXNCnNbxDi7wYtdd4GarPyrzGKIB p3zzhMeL6l/L8rQg0adsi/7s7Xjern5OryXkMuyH2YUnquI1VSy1PiEx8Wnm9MEB RsUZrZJZhpHHLRKSOpRkTZA2aeMdmgKKeACYx2hjsyUt9SAlMpbO0OjDDivBo7u4 XzUWvKHrLJtiLH8l0W4Hz5vg0pWDfcSAOvdrlSxrbLm1X7vDmjwWlrIRfOaRJgM/ OJ52PemObGCJWKBde3LFAGQileSNWmeGTRxkSYl84xNqge06zBZoLa5XVoLZeavW n+hvj4z5jzvlEss5zb3+rkmTPORyLVlM+36hbbtt3hDyAjO5U7gRTYqbMIo7Dxms OLrzYWBC8jxaf6mu6z4aPuvoQHnx7SU6BTIE67d/Ect5dmTAuVvbbOzzuZWaQO/Q Ep83GxZBtTCgGFfPOAd5jsyGLf/cQAj0+gRsEqEoQce5cxjwwt0=
=2u1o
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)