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

Bug#1110878: Kernel module MD_LINEAR is absent in debian trixie default kernel.



Hello Salvatore.

    Thank you for your quick reply.
    So it appears that it's not a debian kernel build config bug; this change was made in the kernel repo not only in debian.
    Thank you for the actual links to MD_LINEAR removal description on site kernel.org.

    We can close this discussion branch then.
    I don't think we should go deeply into my case. I'm going to find the solution for it.

Best regards,
IG

вт, 12 авг. 2025 г. в 06:44, Salvatore Bonaccorso <carnil@debian.org>:
Control: tags -1 + moreinfo

Hi,

On Tue, Aug 12, 2025 at 12:39:13AM +0300, Good Grief wrote:
> Package: linux-image-6.12.38+deb13-amd64
> Version: 6.12.38-1
>
> Module from the subject is absent in the debian trixie default kernel.
>
> It was presented in all debian distribution default kernels before.
>
> For example it was in debian bookworm and in more old debian distributions.
> (before dist-upgrade)
> $ grep -i CONFIG_MD_LINEAR /boot/config-6.1.0-37-amd64
> CONFIG_MD_LINEAR=m
>
> But it is absent in debian trixie default kernel (6.12.38+deb13-amd64):
> (after dist-upgrade)
> $ grep -i MD_LINEAR /boot/config-$(uname -r)
> # CONFIG_MD_LINEAR is not set
>
> Could you bring it back please?
>
> I realize that I can compile it, but I don't want to do it each time I
> need to upgrade the kernel version.
>
> I am trying to use Debian GNU/Linux 13, kernel 6.12.38+deb13-amd64 and
> libc6 2.41-12.

MD_LINEAR was marked as deprecated for a long time and then removed in
6.8-rc1 with 849d18e27be9 ("md: Remove deprecated CONFIG_MD_LINEAR")
and then later due to people with use cases needing it, reintroduce
(at least temporarily for a couple of releases) with 6.14-rc1 (and
backported to 6.13.3 and 6.12.14), with 127186cfb184 ("md: reintroduce
md-linear").

Cf. https://git.kernel.org/linus/127186cfb184eaccdfe948e6da66940cfa03efc5

Now, can you briefly describe the use case you have which cannot be
covered by switching to dm-linear?

https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/linear.html

Thanks already,

Regards,
Salvatore

Reply to: