Control: reassign -1 linux-kbuild-6.3 6.3.11-1

On Wed, 5 Jul 2023 13:52:25 +0200 Bastian Blank <wa...@debian.org> wrote:
On Wed, Jul 05, 2023 at 10:53:19AM +0200, Vincent Lefevre wrote:
> On 2023-07-04 16:13:56 +0200, Andreas Beckmann wrote:
> > This needs to be fixed before linux 6.3.0-2-* can migrate to testing,
> > otherwise it will break dkms module building for everyone still having
> > linux-headers-6.3.0-1-* installed (which is probably for the currently
> > running kernel).
> On one of my machines, the upgrade was fine, but this is because the
> NVIDIA kernel module wasn't rebuilt for the 6.3.0-1 kernel (despite
> I have autoinstall_all_kernels="1" in /etc/dkms/framework.conf). So
> I suppose that this bug would affect the machine only if the NVIDIA
> packages are upgraded.

This is an independent issue. Please file a separate bug for it.

This is dkms failing to build a module for an incompatible kernel.
Nothing can be done by the kernel to fix this as the kernel internal
interfaces are not stable, the module needs to be upgrade accordingly to
support the new interface.

This bug has nothing to do with dkms or the nvidia driver.
It's an incompatibility between linux-kbuild-6.3 6.3.11-1 and linux-headers-6.3.0-[01]-common{,-rt} (<< 6.3.11). The old header packages don't have asm/orc_header.h (that is available from linux-headers-6.3.0-2-common{,-rt}), but the scripts in the new linux-kbuild-6.3 generate code that includes the header, breaking the build of the any dkms module against the older headers. (This is the very first time I observed such breakage in the kernel header packages.) Having this package combination installed (linux-kbuild-6.3 + linux-headers-6.3.0-1-common + linux-headers-6.3.0-2-common) is very likely for people tracking testing or sid.

Therefore please add Breaks against the incompatible headers.
Maybe even a NEWS entry would be appropriate to warn people upgrading from 6.3.0-1 to 6.3.0-2 that the headers for the older kernel are going to be removed and as a consequence all dkms modules will be removed for this old kernel, which may make the system unbootable into this old kernel.

Andreas

Reply via email to