only one of two nvme detected in linux (duplicate subnqn)

Discussion in 'Proxmox VE: Installation and configuration' started by Yury, May 20, 2019.

  1. Yury

    Yury New Member

    Joined:
    Nov 27, 2018
    Messages:
    3
    Likes Received:
    0
    Hello!
    I have two SSD M.2 ADATA 512GB SX6000 LITE (ASX6000LNP-512GT-C), but only one of them detected in linux.
    Dmesg log
    [ 0.720367] nvme nvme0: pci function 0000:01:00.0
    [ 0.720415] nvme nvme1: pci function 0000:1f:00.0
    [ 0.942706] nvme nvme1: ignoring ctrl due to duplicate subnqn (nqn.2018-05.com.example:nvme:nvm-subsystem-OUI00E04C).
    [ 0.943017] nvme nvme1: Removing after probe failure status: -22
    [ 0.953045] nvme nvme0: allocated 64 MiB host memory buffer.
    On lanchpad i found new driver (ubuntu bionic linux 4.18) for nvme with fix, but don't know how to fix it on proxmox 5.4-1 (Debian 9).
    Linux pve01 4.15.18-12-pve #1 SMP PVE 4.15.18-35 (Wed, 13 Mar 2019 08:24:42 +0100) x86_64 GNU/Linux
     
  2. fabian

    fabian Proxmox Staff Member
    Staff Member

    Joined:
    Jan 7, 2016
    Messages:
    3,199
    Likes Received:
    496
    please file a bug on https://bugzilla.proxmox.com and include all relevant information like
    - pveversion -v output
    - potentially relevant bugs/discussions elsewhere (like launchpad)
    - full logs
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Yury

    Yury New Member

    Joined:
    Nov 27, 2018
    Messages:
    3
    Likes Received:
    0
    Seems like this is a manufacturer's firmware mistake. I try load with fedora 30 live, kernel 5.0 and have the same problems.

    [root@localhost-live liveuser]# nvme list
    Node SN Model Namespace Usage Format FW Rev
    ---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
    /dev/nvme0n1 123456789012 ADATA SX6000LNP 1 512.11 GB / 512.11 GB 512 B + 0 B V9001c00
    [root@localhost-live liveuser]#
    [root@localhost-live liveuser]#
    [root@localhost-live liveuser]#
    [root@localhost-live liveuser]# dmesg | grep -i nvme
    [ 5.573787] nvme nvme0: pci function 0000:01:00.0
    [ 5.573870] nvme nvme1: pci function 0000:1f:00.0
    [ 5.800282] nvme nvme1: allocated 64 MiB host memory buffer.
    [ 5.800305] nvme nvme0: allocated 64 MiB host memory buffer.
    [ 5.830503] nvme nvme0: 7/0/0 default/read/poll queues
    [ 5.830635] nvme nvme1: 7/0/0 default/read/poll queues
    [ 5.841630] nvme nvme0: duplicate IDs for nsid 1
    [root@localhost-live liveuser]#
    [root@localhost-live liveuser]#
    [root@localhost-live liveuser]#
    [root@localhost-live liveuser]# nvme list-subsys
    nvme-subsys0 - NQN=nqn.2018-05.com.example:nvme:nvm-subsystem-OUI00E04C
    \
    +- nvme0 pcie 0000:01:00.0 live
    +- nvme1 pcie 0000:1f:00.0 live
    [root@localhost-live liveuser]#
    [root@localhost-live liveuser]#
    [root@localhost-live liveuser]# ls /dev/nvme* -lh
    crw-------. 1 root root 236, 0 May 22 2019 /dev/nvme0
    brw-rw----. 1 root disk 259, 0 May 22 2019 /dev/nvme0n1
    crw-------. 1 root root 236, 1 May 22 2019 /dev/nvme1
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice