Ubuntu 22.04 nvme WWID changed after upgrade kernel to 5.15.0-127 which occurred in specific nvme vendors

Bug #2102060 reported by JianlinLv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

After updating kernel from 5.15.0-26 to 5.15.0-127, nvme disk WWID changed from /dev/disk/by-id/nvme-eui.XXX to /dev/disk/by-id/nvme-nvme.XXX .
This issue happened on specific nvme vendor , such as Intel NVMe SSD :
 8:00.0 Non-Volatile memory controller [0108]: Intel Corporation NVMe Datacenter SSD [3DNAND, Beta Rock Controller] [8086:0a54]

After investigation, it was found that the introduction of NVME_QUIRK_BOGUS_NID quirks has changed the device attribute file name format.
I submitted a patch to mainline to fix this problem, but this patch could not be accepted because the implementation of the technology conflicted with the policy of the decision maker.
https://<email address hidden>/

Considering that naming formats need to have high stability and recognizability on production,
For the Ubuntu kernel, which is widely used in enterprise environments, changes to such underlying attribute can have a significant impact on applications that rely on WWID. Especially in the case of minor kernel version upgrade.
Is it possible remove NVME_QUIRK_BOGUS_NID flag?

Tags: jammy
Revision history for this message
JianlinLv (jianlinlv) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Hi, I think the purpose of NVME_QUIRK_BOGUS_NID is meant to fix the problem that the id may vary per commit 00ff400e6deee00f7b15e200205b2708b63b8cf6 (“nvme: add a quirk to disable namespace identifiers”). The id you have right now is the really fixed one that it should have been. So I think ubuntu kernel should align with the decision from the upstream here as well. I'm marking this as WONTFIX.

Changed in linux (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.