Running into the same issue:

$ sudo dmesg | grep nvme
[    3.153211] nvme nvme0: pci function 0000:02:00.0
[    3.153959] nvme nvme1: pci function 0000:5b:00.0
[    3.204128] nvme nvme0: 16/0/0 default/read/poll queues
[    3.214443]  nvme0n1: p1 p2 p3 p4
[    3.215829] nvme nvme1: Duplicate cntlid 0 with nvme0, subsys 
nqn.2014-08.org.nvmexpress:uuid:4be34a83-f00e-488a-ac5a-3006545c2b7f, rejecting
[    3.250785] nvme nvme1: Removing after probe failure status: -22
[  107.996697] EXT4-fs (nvme0n1p1): VFS: Can't find ext4 filesystem
[  107.996927] EXT4-fs (nvme0n1p1): VFS: Can't find ext4 filesystem
[  107.997035] EXT4-fs (nvme0n1p1): VFS: Can't find ext4 filesystem
[  107.997162] Can't find a SQUASHFS superblock on nvme0n1p1

$ lsb_release -r
Release:        21.10

$ uname -r
5.16.11-76051611-generic

$ lspci -k
00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM 
Registers (rev 05)
        DeviceName: Onboard - Other
        Subsystem: Micro-Star International Co., Ltd. [MSI] 11th Gen Core 
Processor Host 
...
02:00.0 Non-Volatile memory controller: Micron Technology Inc Device 5407
        Subsystem: Micron Technology Inc Device 0100
        Kernel driver in use: nvme
        Kernel modules: nvme
...
5b:00.0 Non-Volatile memory controller: Micron Technology Inc Device 5407
        Subsystem: Micron Technology Inc Device 0100
        Kernel modules: nvme
...

$ sudo nvme id-ctrl /dev/nvme0
NVME Identify Controller:
vid       : 0x1344
ssvid     : 0x1344
sn        : 21343102D309        
mn        : Micron_3400_MTFDKBA1T0TFH               
fr        : P7MA000 
rab       : 0
ieee      : 00a075
cmic      : 0
mdts      : 9
cntlid    : 0
ver       : 0x10400
rtd3r     : 0x7a120
rtd3e     : 0x1e8480
oaes      : 0
ctratt    : 0x2
rrls      : 0
cntrltype : 1
fguid     : 
crdt1     : 0
crdt2     : 0
crdt3     : 0
oacs      : 0x17
acl       : 3
aerl      : 7
frmw      : 0x14
lpa       : 0x1b
elpe      : 255
npss      : 4
avscc     : 0x1
apsta     : 0x1
wctemp    : 353
cctemp    : 355
mtfa      : 50
hmpre     : 0
hmmin     : 0
tnvmcap   : 1024209543168
unvmcap   : 0
rpmbs     : 0
edstt     : 30
dsto      : 1
fwug      : 0
kas       : 0
hctma     : 0x1
mntmt     : 273
mxtmt     : 353
sanicap   : 0x60000002
hmminds   : 0
hmmaxd    : 0
nsetidmax : 0
endgidmax : 0
anatt     : 0
anacap    : 0
anagrpmax : 0
nanagrpid : 0
pels      : 125
sqes      : 0x66
cqes      : 0x44
maxcmd    : 0
nn        : 1
oncs      : 0x57
fuses     : 0
fna       : 0
vwc       : 0x7
awun      : 255
awupf     : 0
icsvscc     : 1
nwpc      : 0
acwu      : 0
sgls      : 0
mnan      : 0
subnqn    : nqn.2014-08.org.nvmexpress:uuid:4be34a83-f00e-488a-ac5a-3006545c2b7f
ioccsz    : 0
iorcsz    : 0
icdoff    : 0
fcatt     : 0
msdbd     : 0
ofcs      : 0
ps    0 : mp:8.25W operational enlat:0 exlat:0 rrt:0 rrl:0
          rwt:0 rwl:0 idle_power:- active_power:-
ps    1 : mp:4.00W operational enlat:0 exlat:0 rrt:1 rrl:1
          rwt:1 rwl:1 idle_power:- active_power:-
ps    2 : mp:2.00W operational enlat:0 exlat:0 rrt:2 rrl:2
          rwt:2 rwl:2 idle_power:- active_power:-
ps    3 : mp:0.1000W non-operational enlat:5000 exlat:6000 rrt:3 rrl:3
          rwt:3 rwl:3 idle_power:- active_power:-
ps    4 : mp:0.0050W non-operational enlat:12000 exlat:35000 rrt:4 rrl:4
          rwt:4 rwl:4 idle_power:- active_power:-


Can confirm is visible in FreeBSD / windows. Can get nvme id-ctrl for the 
second one in freebsd if it's useful.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1961439

Title:
  nvme - duplicate cntlid

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  lsb_release  -r
  Release:      21.10

  
  uname -r
  5.13.0-28-generic

  
  sudo dmesg | grep nvme
  [    2.213011] nvme 0000:01:00.0: platform quirk: setting simple suspend
  [    2.213050] nvme nvme0: pci function 0000:01:00.0
  [    2.213073] nvme 0000:04:00.0: platform quirk: setting simple suspend
  [    2.213102] nvme nvme1: pci function 0000:04:00.0
  [    2.264504] nvme nvme0: allocated 64 MiB host memory buffer.
  [    2.264525] nvme nvme1: Duplicate cntlid 1 with nvme0, rejecting
  [    2.264527] nvme nvme1: Removing after probe failure status: -22
  [    2.282402] nvme nvme0: 8/0/0 default/read/poll queues

  
  lspci
  ...
  01:00.0 Non-Volatile memory controller: Device 1d79:2263 (rev 03)
  ...
  04:00.0 Non-Volatile memory controller: Device 1d79:2263 (rev 03)

  
  lspci -k
  ...
  01:00.0 Non-Volatile memory controller: Device 1d79:2263 (rev 03)
        Subsystem: Device 1d79:2263
        Kernel driver in use: nvme
        Kernel modules: nvme
  ...
  04:00.0 Non-Volatile memory controller: Device 1d79:2263 (rev 03)
        Subsystem: Device 1d79:2263
        Kernel modules: nvme

  
  There are two physically connected disks. One of the disks is not available 
in the system.
  --- 
  ProblemType: Bug
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k5.13.0-28-generic.
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/hwC0D0', 
'/dev/snd/pcmC0D10p', '/dev/snd/pcmC0D9p', '/dev/snd/pcmC0D8p', 
'/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D2c', 
'/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] 
failed with exit code 1:
  Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
  Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
  CasperMD5CheckResult: pass
  DistroRelease: Ubuntu 21.10
  InstallationDate: Installed on 2022-02-16 (2 days ago)
  InstallationMedia: Ubuntu-Server 21.10 "Impish Indri" - Release amd64 
(20211013)
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-28-generic 
root=UUID=4b94deae-f8f1-45ed-ac4f-238858705d9d ro
  ProcVersionSignature: Ubuntu 5.13.0-28.31-generic 5.13.19
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-28-generic N/A
   linux-backports-modules-5.13.0-28-generic  N/A
   linux-firmware                             1.201.4
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  Tags:  impish
  Uname: Linux 5.13.0-28-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True
  dmi.bios.date: 01/06/2021
  dmi.bios.release: 5.17
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: L1.33
  dmi.board.name: Z490M-ITX/ac
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrL1.33:bd01/06/2021:br5.17:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnZ490M-ITX/ac:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
  dmi.product.family: To Be Filled By O.E.M.
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.sku: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to