[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1109040: Subject: linux-headers-6.1.0-37-amd64 missing config files; cannot build external modules on Bookworm



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.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: