Hello again, Karl. On Sat, Dec 21, 2024 at 12:43:50 +0000, Alan Mackenzie wrote: > On Fri, Dec 20, 2024 at 23:02:58 +0100, k...@aspodata.se wrote: > > Alan Mackenzie: > > > On Fri, Dec 20, 2024 at 18:44:53 +0100, k...@aspodata.se wrote: > > ... > > > > Please tell if you make booting with metadata 1.2 work. > > > > I havn't tested that.
> > > I've just tried it, with metadata 1.2, and it doesn't work. I got error > > > messages at boot up to the effect that the component partitions were > > > lacking valid version 0.0 super blocks. > > > People without initramfs appear not to be in the sights of the > > > maintainers of this software. They could so easily have made the > > > assembly of metadata 1.2 components on the kernel command line work. > > > :-( > > ... I've now got working code which assembles a metadata 1.2 RAID array at boot time. The syntax needed on the command line is, again, md=124,1.2,/dev/nvme0n1p6,/dev/nvme1n1p6 .. In place of 1.2 can be any of 0.90, 1.0, 1.1, though I haven't tested it with anything but 1.2 as yet. > The pertinent functions are mainly in drivers/md/md-autodetect.c and > md.c (same directory). Actually, just in md-autodetect.c. [ .... ] > Nevertheless, I might make the above enhancement, just because. Done. > > Regards, > > /Karl Hammar -- Alan Mackenzie (Nuremberg, Germany).