Do you have messages like this in the kernel boot log?

[ 2.072227] nvme nvme1: ignoring ctrl due to duplicate subnqn 
(nqn.2017-12.org.nvmexpress:uuid:11111111-2222-3333-4444-555555555555).
[ 2.072231] nvme nvme1: Removing after probe failure status: -22

It looks like since 5.2 (1b1031ca63b2ce1d3b664b35b77ec94e458693e9) the
message might have changed to be:

"Duplicate cntlid %u with %s, rejecting\n"

If you can't see either of these can you include any messages matching
nvme.  If it is the same issue then you can try building your kernel
with a NVME_QUIRK_IGNORE_DEV_SUBNQN quirk added for your device in
drivers/nvme/host/pci.c.  I see that in the current HEAD of the kernel
tree these AData devices already have this quirk:

        { PCI_DEVICE(0x10ec, 0x5762),   /* ADATA SX6000LNP */
                .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, },
        { PCI_DEVICE(0x1cc1, 0x8201),   /* ADATA SX8200PNP 512GB */
                .driver_data = NVME_QUIRK_NO_DEEPEST_PS |
                                NVME_QUIRK_IGNORE_DEV_SUBNQN, },

so it might be a simple backport.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1803692

Title:
  bionic 4.15 nvme regression from trusty 4.4 with two identical devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1803692/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to