Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED ! nvme0: missing or invalid SUBNQN field
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1507
Location: Earth

PostPosted: Sun Jan 05, 2020 12:36 am    Post subject: SOLVED ! nvme0: missing or invalid SUBNQN field Reply with quote

never saw this message before
using current 5.4.7 kernel and everthing's working great, no fs error or freeze, etc.
both m.2 are new hardware - fresh install.
is this a false positive

Code:
    3.473491] nvme nvme0: pci function 0000:03:00.0
[    3.474108] nvme nvme1: pci function 0000:04:00.0
[    3.681409] nvme nvme0: missing or invalid SUBNQN field.
[    3.681893] nvme nvme1: missing or invalid SUBNQN field.
[    3.681980] nvme nvme0: Shutdown timeout set to 10 seconds
[    3.682525] nvme nvme1: Shutdown timeout set to 8 seconds
[    3.683681] nvme nvme0: 8/0/0 default/read/poll queues
[    3.684461] nvme nvme0: ctrl returned bogus length: 16 for NVME_NIDT_EUI64
[    3.685143] nvme nvme0: ctrl returned bogus length: 16 for NVME_NIDT_EUI64
[    3.687034]  nvme0n1: p1 p2 p3 p4
[    3.695759] nvme nvme1: 8/0/0 default/read/poll queues
[    3.705074]  nvme1n1: p1 p2 p3 p4
[    4.116109] XFS (nvme0n1p2): Mounting V5 Filesystem
[    4.121376] XFS (nvme0n1p2): Ending clean mount
[    5.350454] LoadPin: nvme0n1p2 (259:2): writable
[    6.689293] Adding 1048572k swap on /dev/nvme1n1p2.  Priority:-2 extents:1 across:1048572k SSFS
[    6.811809] XFS (nvme0n1p3): Mounting V5 Filesystem
[    6.819241] XFS (nvme0n1p3): Ending clean mount


tried boot/kernel options:

Code:
nvme_core.default_ps_max_latency_us=200
nvme_core.default_ps_max_latency_us=0


didn't work.

thx
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "


Last edited by CooSee on Sun Jan 05, 2020 10:06 am; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sun Jan 05, 2020 1:39 am    Post subject: Reply with quote

Code:
# dmesg | grep SUBNQN
[    0.801824] nvme nvme0: missing or invalid SUBNQN field.
[    0.801844] nvme nvme1: missing or invalid SUBNQN field.

I get this message on all machines that have NVMe SSDs (Samsung SSD 970 EVO Plus). I've never had problems with my NVMe SSDs and I decided to ignore this message.
Back to top
View user's profile Send private message
grumblebear
Apprentice
Apprentice


Joined: 26 Feb 2008
Posts: 204

PostPosted: Sun Jan 05, 2020 2:40 am    Post subject: Reply with quote

I think, this is just a kernel warning without any negative impact on your drive's performance. It simply means the drive has a crappy firmware violating the NVME specs.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2892

PostPosted: Sun Jan 05, 2020 2:58 am    Post subject: Reply with quote

I don't have that message but out of curiosity had a look at the kernel and it has a dedicated quirk for it NVME_QUIRK_IGNORE_DEV_SUBNQN which (if set) will just ignore it instead of throw a scary warning. Either way (quirk or warning), it then generate a "fake" subnqn that seem to do the same job save for being generic:
Code:
        /* Generate a "fake" NQN per Figure 254 in NVMe 1.3 + ECN 001 */
        off = snprintf(subsys->subnqn, NVMF_NQN_SIZE,
                        "nqn.2014.08.org.nvmexpress:%04x%04x",
                        le16_to_cpu(id->vid), le16_to_cpu(id->ssvid));
Warning just means those aren't registered to need that quirk yet (in drivers/nvme/host/pci.c), eventually it may just go away when the list gets updated, end result will be the same. In other words, drives are fine :)
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1507
Location: Earth

PostPosted: Sun Jan 05, 2020 10:05 am    Post subject: Reply with quote

thanks to all of you, for your input.

the new m.2's are really fast and the complete reinstall on my new AORUS PCI-E M.2 just took 1 hour :)

ok, but only with all the usepkg=yes option from old system.

thx again
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum