Fake SAS addresses for SATA disks on HiSilicon D05 are non-unique
Bug #1776750 reported by
dann frazier
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| linux (Ubuntu) |
Fix Released
|
Undecided
|
dann frazier | ||
| Bionic |
Fix Released
|
Undecided
|
dann frazier | ||
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/
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.
| Changed in linux (Ubuntu Bionic): | |
| status: | New → In Progress |
| assignee: | nobody → dann frazier (dannf) |
| Changed in linux (Ubuntu Bionic): | |
| status: | In Progress → Fix Committed |
| Changed in linux (Ubuntu): | |
| status: | In Progress → Fix Released |
| tags: | added: kernel-daily-bug |
To post a comment you must log in.

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-bionic' to 'verification-done-bionic'. If the problem still exists, change the tag 'verification-needed-bionic' to 'verification-failed-bionic'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!