nvme cli utility clips Leaf model # to 20 characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvme-cli (Ubuntu) |
Fix Released
|
Undecided
|
Taco Screen team | ||
Xenial |
Fix Released
|
Medium
|
Steve Langasek |
Bug Description
nvme cli only shows the first 20 characters of the Leaf model number (mn) i.e "PCIe3 3.2TB NVMe Fla"
root@
NVME Identify Controller:
vid : 0x1c58
ssvid : 0x1014
sn : CJH001001830
mn : PCIe3 3.2TB NVMe Fla
fr : KMIPP107
When I check data from lspci it shows correct name
Product Name: PCIe3 3.2TB NVMe Flash Adapter
checking block device data also shows correct model name
# cat /sys/block/
PCIe3 3.2TB NVMe Flash Adapter
#
== Comment: #5 - Guilherme Guaglianoni Piccoli - 2016-06-21 16:07:02 ==
Not too much commits between v0.5 and v0.7. The following 2 commits are the fix to this issue:
ab43012 ("Fix the bug of Model Number and display the info of Serial Number")
a304435 ("Fix the bug of Model Number and display the info of Serial Number")
Probably the 1st was merged too early, instead of waiting v2..so it's easier to backport both, in order.
tags: | added: architecture-ppc64le bugnameltc-142912 severity-medium targetmilestone-inin16041 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → nvme-cli (Ubuntu) |
Changed in nvme-cli (Ubuntu Xenial): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in nvme-cli (Ubuntu Xenial): | |
assignee: | nobody → Steve Langasek (vorlon) |
status: | Triaged → In Progress |
This bug was fixed in the package nvme-cli - 0.7-1ubuntu1
---------------
nvme-cli (0.7-1ubuntu1) yakkety; urgency=low
* Merge from Debian unstable.
- Includes upstream fix for truncated Leaf model number (LP: #1595274).
* Remaining changes:
- fix segfault when using show-regs command with no device
name
- fix null pointer deference segfault on strcmp() on a
null string
nvme-cli (0.7-1) unstable; urgency=medium
* New upstream release
* Bump Standard-Version to 3.9.8, no changes required.
-- Steve Langasek <email address hidden> Thu, 23 Jun 2016 12:45:21 -0700