AlmaLinux / almalinux-deploy

EL to AlmaLinux migration tool.
GNU General Public License v3.0
535 stars 71 forks source link

Oracle/Intel P4608 NVMe drive initialization failed due to duplicate IDs #199

Closed refresh1710 closed 2 months ago

refresh1710 commented 5 months ago

Hello!

OS: AlmaLinux 9.3 Kernel: 5.14.0-362.13.1.el9_3.x86_64 NVMe drive: Oracle Flash Accelerator F640 PCIe Card (INTEL P4608 SSD DC PCIE 6.4TB CARD SSDPECKE064T701) NVMe fw: QDV1RF30 PCI Vendor ID: 0x8086 PCI Vendor Subsystem ID: 0x108e IEEE OUI Identifier: 0x5cd2e4

Drive consists of two Flash drives with PCIE switch. Only one out of two NVMe drives is available due to duplicate IDs.

dmesg log:

[Jan25 14:27] nvme nvme1: pci function 0000:0e:00.0
[  +0.000372] nvme nvme0: pci function 0000:0d:00.0
[  +0.011847] nvme nvme1: Shutdown timeout set to 10 seconds
[  +0.003048] nvme nvme0: Shutdown timeout set to 10 seconds
[  +0.003083] nvme nvme1: 44/0/0 default/read/poll queues
[  +0.015885] nvme nvme0: 44/0/0 default/read/poll queues
[  +0.012717] nvme nvme0: globally duplicate IDs for nsid 1
[  +0.000006] nvme nvme0: VID:DID 8086:0a54 model:7335943:ICDPC5ED2ORA6.4T firmware:QDV1RF30 duplicate IDs
#  nvme list -v
Subsystem        Subsystem-NQN                                                                                    Controllers
---------------- ------------------------------------------------------------------------------------------------ ----------------
nvme-subsys1     nqn.2014.08.org.nvmexpress:8086108ePHLE814401LU6P4BGN-27335943:ICDPC5ED2ORA6.4T                  nvme1
nvme-subsys0     nqn.2014.08.org.nvmexpress:8086108ePHLE814401LU6P4BGN-17335943:ICDPC5ED2ORA6.4T                  nvme0

Device   SN                   MN                                       FR       TxPort Address        Subsystem    Namespaces
-------- -------------------- ---------------------------------------- -------- ------ -------------- ------------ ----------------
nvme1    PHLE814401LU6P4BGN-2 7335943:ICDPC5ED2ORA6.4T                 QDV1RF30 pcie   0000:0e:00.0   nvme-subsys1 nvme1n1
nvme0    PHLE814401LU6P4BGN-1 7335943:ICDPC5ED2ORA6.4T                 QDV1RF30 pcie   0000:0d:00.0   nvme-subsys0

Device       Generic      NSID       Usage                      Format           Controllers
------------ ------------ ---------- -------------------------- ---------------- ----------------
/dev/nvme1n1 /dev/ng1n1   0x1          3.20  TB /   3.20  TB    512   B +  0 B   nvme1

Patch for kernel 6.x already exists. Please help with the issue and add quirk for this device.

andrewlukoshko commented 5 months ago

@refresh1710 thanks for this report. I'm already building kernel-5.14.0-362.13.2.el9_3 with mentioned upstream commit included to release it into our Testing repo, you can read how to enable it here.

Then I'll wait for your feedback.

andrewlukoshko commented 5 months ago

@refresh1710 kernel is released to Testing, you can try it now

refresh1710 commented 5 months ago

@andrewlukoshko All works great with testing kernel 5.14.0-362.13.2.el9_3.x86_64. Thanks a lot for the work you’ve done!

Can you please specify when kernel packages will receive stable status?

andrewlukoshko commented 5 months ago

@refresh1710 the patch is included into kernel-5.14.0-362.18.1.el9_3 that will be released later today. Thanks for testing.