]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: workaround issue in mdadm-4.5 + linux-6.18
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 31 Jan 2026 17:37:07 +0000 (02:37 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 2 Feb 2026 14:32:48 +0000 (15:32 +0100)
commit4c6afaab193fcdcb1f5adfe29cd9e0d27e67c55c
treeee45c75f5b85f55bd08789b45ec4636e72416f21
parent5327755f8ba89528d69a671d8a1fd62ea0804a4d
mkosi: workaround issue in mdadm-4.5 + linux-6.18

After debian updated the kernel from 6.17 to 6.18, mdadm command fails
with the following:
```
+ mdadm --create /dev/md/mdmirror ...
mdadm: size set to 64512K
mdadm: Can't open /sys/module/md_mod/parameters/legacy_async_del_gendisk
mdadm: init md module parameters fail
```

This seems a bug in mdadm, and fix is already merged in the upstream:
https://github.com/md-raid-utilities/mdadm/pull/228
Until the fix is backported, let's workaround the issue.

See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125390
mkosi/mkosi.extra/usr/lib/modules-load.d/mdadm-workaround.conf [new file with mode: 0644]