It seems to be a bug, Samsung PM1733 SSD seems to be unable to use SR-IOV

I use the 5.13.9 version of the kernel, and SR-IOV support has been enabled in the BIOS.

echo 4 > /sys/class/nvme/nvme0/device/sriov_numvfs

dmesg | grep -E 'nvme|pci'

[  154.374020] pci 0000:01:00.2: [144d:a824] type 00 class 0x010802
[  154.374261] pci 0000:01:00.2: Adding to iommu group 32
[  154.374455] nvme nvme1: pci function 0000:01:00.2
[  154.374486] pci 0000:01:00.3: [144d:a824] type 00 class 0x010802
[  154.374676] pci 0000:01:00.3: Adding to iommu group 33
[  154.374696] nvme 0000:01:00.2: enabling device (0000 -> 0002)
[  154.374785] nvme nvme2: pci function 0000:01:00.3
[  154.374826] nvme 0000:01:00.3: enabling device (0000 -> 0002)
[  154.374855] pci 0000:01:00.4: [144d:a824] type 00 class 0x010802
[  154.375232] pci 0000:01:00.4: Adding to iommu group 34
[  154.375351] nvme nvme3: pci function 0000:01:00.4
[  154.375379] pci 0000:01:00.5: [144d:a824] type 00 class 0x010802
[  154.375387] nvme 0000:01:00.4: enabling device (0000 -> 0002)
[  154.375683] pci 0000:01:00.5: Adding to iommu group 35
[  154.375785] nvme nvme4: pci function 0000:01:00.5
[  154.375798] nvme 0000:01:00.5: enabling device (0000 -> 0002)
[  184.877170] nvme nvme1: Device not ready; aborting initialisation, CSTS=0x2
[  184.877171] nvme nvme4: Device not ready; aborting initialisation, CSTS=0x2
[  184.877173] nvme nvme3: Device not ready; aborting initialisation, CSTS=0x2
[  184.877176] nvme nvme1: Removing after probe failure status: -19
[  184.877177] nvme nvme4: Removing after probe failure status: -19
[  184.877179] nvme nvme3: Removing after probe failure status: -19
[  184.879156] nvme nvme2: Device not ready; aborting initialisation, CSTS=0x2
[  184.879160] nvme nvme2: Removing after probe failure status: -19

Is this a similar bug?
https://www.mail-archive.com/qemu-block@nongnu.org/msg80546.html

When using a rolling release model doing kernel management becomes a thing so: Have you tried kernel 5.10 LTS yet?

:crossed_fingers:

Unfortunately, I have a manjaro with 5.10 kernel installed on a removable flash drive, and this OS cannot make PM1733’s SR-IOV work properly.

Have you tried 5.14?

:thinking:

Ineffective as always. :sob: