Bug 216724 - NVME device not found with 6.0.* - globally duplicate IDs for nsid 1
Summary: NVME device not found with 6.0.* - globally duplicate IDs for nsid 1
Status: RESOLVED PATCH_ALREADY_AVAILABLE
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: NVMe (show other bugs)
Hardware: All Linux
: P1 blocking
Assignee: IO/NVME Virtual Default Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-22 02:02 UTC by Andrey God
Modified: 2023-05-03 10:12 UTC (History)
2 users (show)

See Also:
Kernel Version: 6.0.0-4
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Andrey God 2022-11-22 02:02:33 UTC
After attempt to install Debian Testing, a second identical NVMe device is not visible so it doesn't allow me to create usual raid1 array before installation. Only one of the 2 devices is visible in the /dev tree.

Here is log from dmesg | grep nvme:

nvme nvme0: pci function 0000:01:00.0
nvme nvme1: pci function 0000:02:00.0
nvme nvme0: 64/0/0 default/read/poll queues
nvme nvme1: 64/0/0 default/read/poll queues
nvme nvme0: globally duplicate IDs for nsid 1
nvme nvme0: VID:DID 1f40:5236 model:Netac NVMe SSD 2TB firmware:3.S.F.9


Possible patch is to add two strings in pci.c as it was done for other SSD which had the same issue:

{ PCI_DEVICE(0x1f40, 0x5236), /* Netac NVMe SSD 2TB  */
.driver_data = NVME_QUIRK_BOGUS_NID, },
Comment 1 Keith Busch 2022-11-22 02:28:05 UTC
Sounds like the right patch.
Comment 2 Sagi Grimberg 2022-11-22 10:52:09 UTC
(In reply to Keith Busch from comment #1)
> Sounds like the right patch.

Indeed. Andrey, are you going to submit a patch?
Comment 3 Andrey God 2022-11-22 11:13:20 UTC
Sagi,

I don't know how whole process working from discovering a bug to get a patch in an upgraded version. If you or someone can push it further, it would be great.

Note You need to log in before you can comment on or make changes to this bug.