The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Diederik de Haas" <didi.debian@cknow.org>
To: "Keith Busch" <kbusch@kernel.org>
Cc: <linux-nvme@lists.infradead.org>, <linux-kernel@vger.kernel.org>,
	"Diederik de Haas" <didi.debian@cknow.org>
Subject: Re: [BUG report] kernel warnings with Samsung 970 EVO 2TB SSD
Date: Sat, 16 Aug 2025 16:11:00 +0200	[thread overview]
Message-ID: <DC3WVB8IOMNV.14F1RIJHNO33Q@cknow.org> (raw)
In-Reply-To: <aKCFjzai3Y0RcGHP@kbusch-mbp>

[-- Attachment #1: Type: text/plain, Size: 1703 bytes --]

Hi,

On Sat Aug 16, 2025 at 3:20 PM CEST, Keith Busch wrote:
> On Sat, Aug 16, 2025 at 01:40:44PM +0200, Diederik de Haas wrote:
>> I have a Samsung 970 EVO 2TB SSD and I see these kernel warnings:
>
> ... 
>  
>> I wonder if something can be done to fix those warnings.
>
> Are you talking about this message?
>
>    nvme nvme0: missing or invalid SUBNQN field
>
> You can't do anything about it, but I wouldn't worry about it either.

That's indeed one of them; good to know it's not to worry about.

> If you want to see what the driver is reacting to, you can check the
> subnqn from command line:
>
>   # nvme id-ctrl /dev/nvme0 | grep subnqn
>
> It'll probably be all zeros. The field has been required by spec, but
> the driver tolerates ones that don't implement it.

root@nanopi-r5s:~# nvme id-ctrl /dev/nvme0 | grep subnqn
subnqn    :

So it seems to be just empty?

> It's just a message that the device isn't spec compliant, but
> otherwise perfectly operational.

But still worthy of a warning (instead of info) msg?

The other kernel warning is this:

  nvme nvme0: using unchecked data buffer

The SUBNQN message appears every time, this one appears often, but not
always.

When researching this/these issues, I discovered the nvme-cli package
(with the nvme command) and via its manpage I found this command:

  nvme get-feature /dev/nvme0 -f 3

I didn't even know NVMe's had namespaces, but this didn't look good:

  The namespace or the format of that namespace is invalid(0x200b)

... without actually understanding what it means and/or what its
consequences are. It could be harmless and/or normal though.

Cheers,
  Diederik

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2025-08-16 14:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-16 11:40 [BUG report] kernel warnings with Samsung 970 EVO 2TB SSD Diederik de Haas
2025-08-16 13:20 ` Keith Busch
2025-08-16 14:11   ` Diederik de Haas [this message]
2025-08-18 18:58     ` Keith Busch
2025-08-18 20:48       ` Diederik de Haas
2025-08-18 21:20         ` Diederik de Haas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DC3WVB8IOMNV.14F1RIJHNO33Q@cknow.org \
    --to=didi.debian@cknow.org \
    --cc=kbusch@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox