Comment 21 for bug 1811755

Gabe Frangakis (thegeebe) wrote :

I still have this issue with booting, though it seems to be less frequent. However, I can see in the kernel logs when I boot into linux successfully that my other drive is being thrown out because of the duplicate subnqn:

nvme nvme1: ignoring ctrl due to duplicate subnqn (nqn.2017-12.org.nvmexpress:uuid:11111111-2222-3333-4444-555555555555).

I'm having some trouble testing this on my own since I'm not experienced with kernel dev, but I wonder if this duplicate entry in the device table in drivers/nvme/host/pci.c is the issue:

 { PCI_VDEVICE(INTEL, 0xf1a6),
  .driver_data = NVME_QUIRK_NO_DISABLE, },
 { PCI_VDEVICE(INTEL, 0xf1a6), /* Intel 760p/Pro 7600p */
  .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, },

I believe it should be just

 { PCI_VDEVICE(INTEL, 0xf1a6), /* Intel 760p/Pro 7600p */
  .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
    NVME_QUIRK_NO_DISABLE, },