md-raid-utilities / mdadm

Manager of Linux Software RAID implemented through Multiple Devices driver.
https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git
GNU General Public License v2.0
26 stars 13 forks source link

mdadm --detail-platform not seeing the Intel fake RAID during boot and fails to assemble the array #116

Open TByte007 opened 1 month ago

TByte007 commented 1 month ago

The boot fails until I do IMSM_NO_PLATFORM=1 mdadm -As during boot (yet the system has Intel's fake RAID). If I try mdadm --detail-platform I get "imsm capabilities not found for controller ... type: SATA" at boot time If I assemble it with IMSM_NO_PLATFORM=1 and it boots then I get:

mdadm --detail-platform Platform : Intel(R) Virtual RAID on CPU Version : 6.0.0.1024 RAID Levels : raid0 raid1 raid10 raid5 Chunk Sizes : 4k 8k 16k 32k 64k 128k 2TB volumes : supported 2TB disks : supported Max Disks : 8 Max Volumes : 2 per array, 8 per controller I/O Controller : /sys/devices/pci0000:00/0000:00:17.0 (SATA) Port0 : /dev/sdb (W9ANSXYB) Port1 : /dev/sda (W9ANTYGQ) Port2 : - no device attached - Port3 : - no device attached -

Of course I can put IMSM_NO_PLATFORM=1 in GRUB but I think that is just a workaround the problem.

mtkaczyk commented 4 weeks ago

Hello @TByte007

In the past, I determined problem with late efivarfs mount, which causes similar issues. Could you try mdadm with this commit: https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=91845dab52c3f9ab56710338c0c38e9c1473df1d

See README to get instruction how to compile and install mdadm.

TByte007 commented 3 weeks ago

Hello @TByte007

In the past, I determined problem with late efivarfs mount, which causes similar issues. Could you try mdadm with this commit: https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=91845dab52c3f9ab56710338c0c38e9c1473df1d

See README to get instruction how to compile and install mdadm.

I'll try it when I can play with the machine again. Currently I just added IMSM_NO_PLATFORM=1 in GRUB because my colleagues needed for work.