Public bug reported: [Impact] One example of where this causes a problem is the /dev/disk/by-path symlink. Multiple SATA disks on the same controller may have the same symlink, making it useless as a unique identifier.
[Test Case] On a D05 system w/ SATA disks attached to the onboard SAS controller: $ cat /sys/class/sas_phy/*/sas_address And look for non-unique addresses. [Fix] Addressed upstream by incorporating the scsi host's ID into the generated fake SAS address. [Regression Risk] Limited to the hisi_sas driver's v2 backend. The only Ubuntu system this driver supports is the HiSilicon D05, where we can directly test. ** Affects: linux (Ubuntu) Importance: Undecided Assignee: dann frazier (dannf) Status: In Progress ** Affects: linux (Ubuntu Bionic) Importance: Undecided Assignee: dann frazier (dannf) Status: In Progress ** Also affects: linux (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Bionic) Status: New => In Progress ** Changed in: linux (Ubuntu Bionic) Assignee: (unassigned) => dann frazier (dannf) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1776750 Title: Fake SAS addresses for SATA disks on HiSilicon D05 are non-unique Status in linux package in Ubuntu: In Progress Status in linux source package in Bionic: In Progress Bug description: [Impact] One example of where this causes a problem is the /dev/disk/by-path symlink. Multiple SATA disks on the same controller may have the same symlink, making it useless as a unique identifier. [Test Case] On a D05 system w/ SATA disks attached to the onboard SAS controller: $ cat /sys/class/sas_phy/*/sas_address And look for non-unique addresses. [Fix] Addressed upstream by incorporating the scsi host's ID into the generated fake SAS address. [Regression Risk] Limited to the hisi_sas driver's v2 backend. The only Ubuntu system this driver supports is the HiSilicon D05, where we can directly test. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1776750/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp