Boston-LC:bos009:Ubuntu18.04: No /dev/disk/by-path link created for Samsung PM1725a NVMe 1.6TB and .8 TB disk drives

Bug #1746416 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
Invalid
Medium
Canonical Kernel Team
linux (Ubuntu)
Invalid
Medium
Canonical Kernel Team

Bug Description

== Comment: #1 - Application Cdeadmin
BMC/PNOR:
=========

Firmware Revision : 00.37 IP address : 009.003.020.216
Firmware Build Time : 20171201 BMC MAC address : 0c:c4:7a:f4:4d:60
PNOR Build Time : 20180117
CPLD Version : B2.91.00

Ubuntu 18.04:
=========

root@bos1u1p1:~# uname -a
Linux bos1u1p1 4.15.0-041500rc9-generic #201801212130 SMP Mon Jan 22 03:36:42 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux

root@bos1u1p1:~# ls -l /dev/disk/by-path
total 0
lrwxrwxrwx 1 root root 9 Jan 25 10:19 pci-0003:01:00.0-scsi-0:2:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 25 10:19 pci-0003:01:00.0-scsi-0:2:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 25 10:19 pci-0003:01:00.0-scsi-0:2:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jan 25 10:19 pci-0003:01:00.0-scsi-0:2:1:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Jan 25 10:19 pci-0003:01:00.0-scsi-0:2:2:0 -> ../../sdc
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.0-fc-0x500507680b218452-lun-0 -> ../../sdd
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.0-fc-0x500507680b218452-lun-1 -> ../../sde
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.0-fc-0x500507680b218452-lun-2 -> ../../sdf
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.0-fc-0x500507680b218452-lun-3 -> ../../sdg
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.0-fc-0x500507680b218453-lun-0 -> ../../sdh
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.0-fc-0x500507680b218453-lun-1 -> ../../sdi
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.0-fc-0x500507680b218453-lun-2 -> ../../sdj
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.0-fc-0x500507680b218453-lun-3 -> ../../sdk
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.1-fc-0x500507680b218452-lun-0 -> ../../sdl
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.1-fc-0x500507680b218452-lun-1 -> ../../sdm
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.1-fc-0x500507680b218452-lun-2 -> ../../sdn
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.1-fc-0x500507680b218452-lun-3 -> ../../sdo
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.1-fc-0x500507680b218453-lun-0 -> ../../sdp
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.1-fc-0x500507680b218453-lun-1 -> ../../sdq
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.1-fc-0x500507680b218453-lun-2 -> ../../sdr
lrwxrwxrwx 1 root root 9 Jan 25 10:20 pci-0031:01:00.1-fc-0x500507680b218453-lun-3 -> ../../sds
root@bos1u1p1:~#

Problem Description:
=============
- I setup my Boston LC system to run with Ubuntu 18.04

- I tried to test out Samsung PM1725a NVMe 1.6TB and .8 TB disk drives on Boston LC system.

- The disk drive plugged good into the system. However, after boot the system did not see the disk.

- I tried with both Samsung PM1725a NVMe 1.6TB and with .8TB disk drives and none of them show up.

- This disk type plan to supporte in Boston LC system so if the system does not recognize it then it is an issue.

- I checked with Joe W. my team lead and he told me to open github issue for further investigation.

root@bos1u1p1:~# ls -l /dev/disk/by-path
total 0
lrwxrwxrwx 1 root root 9 Jan 25 10:19 pci-0003:01:00.0-scsi-0:2:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 25 10:19 pci-0003:01:00.0-scsi-0:2:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 25 10:19 pci-0003:01:00.0-scsi-0:2:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jan 25 10:19 pci-0003:01:00.0-scsi-0:2:1:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Jan 25 10:19 pci-0003:01:00.0-scsi-0:2:2:0 -> ../../sdc

- If the disk is recognized then it will be pci-0003:01:00.0-scsi-0:2:3:0 -> ../../sdd but it's not.

== Comment: #2 - Application Cdeadmin
------- Comment From dacng 2018-01-25 11:13:00 EDT -------
You need to install NMVE HBA in your machine

== Comment: #3 - Application Cdeadmin
------- Comment From nguyenp1 2018-01-26 15:35:40 EDT -------
- I have NVME HBA adapter installed in the system and 2 Samsung PM1725a NVMe 1.6TB and .8 TB disk drives in the system. The adapter and nvme drives show correctly.

- However, the "ls -l /dev/disk/by-path" command did not show any nvme drives. So it's new issue with
Ubuntu 18.04. Without the PCI path the nvme disks can not be assigned to KVM guest.

root@bos1u1p1:/dev/disk/by-path# ls -l /dev/disk/by-path
total 0
lrwxrwxrwx 1 root root 9 Jan 26 15:19 pci-0003:01:00.0-scsi-0:2:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 26 15:19 pci-0003:01:00.0-scsi-0:2:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 26 15:19 pci-0003:01:00.0-scsi-0:2:0:0-part2 -> ../../sda2

Nvme HBA adapter:

0031:08:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 172Xa (rev 01)
0031:09:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 172Xa (rev

2 NVMe disks in the system.

root@bos1u1p1:/dev/disk/by-path# nvme list
Node SN Model Namespace Usage Format FW Rev
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1 S3HCNX0J700289 SAMSUNG MZWLL800HEHP-00003 1 800.17 GB / 800.17 GB 512 B + 0 B GPNA4B3Q
/dev/nvme1n1 S3HDNX0J800067 SAMSUNG MZWLL1T6HEHP-00003 1 1.60 TB / 1.60 TB 512 B + 0 B GPNA5B3Q

== Comment: #4 - Application Cdeadmin <email address hidden> - 2018-01-26 15:50:35 ==
------- Comment From nguyenp1 2018-01-26 15:41:17 EDT -------
I checked with Dac Nguyen and he told me his system also has this problem. The "ls -l /dev/disk/by-path" does not display any NVME drives. Without the PCI path the nvme disks can not be assigned to KVM guest. So this problem need to be further investigate.

- I'm gathering sosreport and attach it to the bugzilla.

== Comment: #5 - Paul Nguyen
Attached sosreport in bugzilla for Linux team to look at the problem.

Revision history for this message
bugproxy (bugproxy) wrote : attach sosreport

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-163975 severity-medium targetmilestone-inin1804
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → linux (Ubuntu)
Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
importance: Undecided → Medium
assignee: nobody → Canonical Kernel Team (canonical-kernel-team)
tags: added: kernel-da-key
Manoj Iyer (manjo)
Changed in linux (Ubuntu):
assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team)
importance: Undecided → Medium
tags: added: triage-g
Changed in ubuntu-power-systems:
status: New → Triaged
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-02-26 09:32 EDT-------
Paul confirm this is the same issue as #942 seen by Dac.

Frank Heimes (fheimes)
tags: added: triage-a
removed: triage-g
Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

Could you update this bug report when an upstream patch becomes available?

tags: added: p9
Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
status: Triaged → Incomplete
Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

Marking as "incomplete" while waiting for upstream patch to become available.

Revision history for this message
Manoj Iyer (manjo) wrote :

Could you please re-test with latest bionic kernel in -updates and see if this still an issue?

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-07-16 14:50 EDT-------
Paul has been moved to another project. I'll try to find a system and a little time to re-test this.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-09-17 16:10 EDT-------
Closing. Confirmed fixed in bug 942.

Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

As IBM have closed out their bug, closing out on the Launchpad side.

Changed in ubuntu-power-systems:
status: Incomplete → Invalid
Changed in linux (Ubuntu):
status: New → Invalid
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.