errors with sas hotplug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
dann frazier |
Bug Description
From the patch series cover letter:
Now the libsas hotplug has some issues, Dan Williams report
a similar bug here before
https://<email address hidden>
The issues we have found
1. if LLDD burst reports lots of phy-up/phy-down sas events, some events
may lost because a same sas events is pending now, finally libsas topo
may different the hardware.
2. receive a phy down sas event, libsas call sas_deform_port to remove
devices, it would first delete the sas port, then put a destruction
discovery event in a new work, and queue it at the tail of workqueue,
once the sas port be deleted, its children device will be deleted too,
when the destruction work start, it will found the target device has
been removed, and report a sysfs warnning.
3. since a hotplug process will be devided into several works, if a phy up
sas event insert into phydown works, like
destruction work ---> PORTE_BYTES_DMAED (sas_form_port) ---->PHYE_
the hot remove flow would broken by PORTE_BYTES_DMAED event, it's not
we expected, and issues would occur.
There's also a small 3-patch series of fixes in libsas I plan to include as well:
Jason Yan (2):
scsi: libsas: fix memory leak in sas_smp_
scsi: libsas: fix error when getting phy events
chenxiang (1):
scsi: libsas: initialize sas_phy status according to response of
DISCOVER
This bug was fixed in the package linux - 4.15.0-12.13
---------------
linux (4.15.0-12.13) bionic; urgency=medium
* linux: 4.15.0-12.13 -proposed tracker (LP: #1754059)
* CONFIG_EFI=y on armhf (LP: #1726362)
- [Config] CONFIG_EFI=y on armhf, reconcile secureboot EFI settings
* ppc64el: Support firmware disable of RFI flush (LP: #1751994)
- powerpc/pseries: Support firmware disable of RFI flush
- powerpc/powernv: Support firmware disable of RFI flush
* [Feature] CFL/CNL (PCH:CNP-H): New GPIO Commit added (GPIO Driver needed)
(LP: #1751714)
- gpio / ACPI: Drop unnecessary ACPI GPIO to Linux GPIO translation
- pinctrl: intel: Allow custom GPIO base for pad groups
- pinctrl: cannonlake: Align GPIO number space with Windows
* [Feature] Add xHCI debug device support in the driver (LP: #1730832)
- usb: xhci: Make some static functions global
- usb: xhci: Add DbC support in xHCI driver
- [Config] USB_XHCI_DBGCAP=y for commit mainline dfba2174dc42.
* [SRU] Lenovo E41 Mic mute hotkey is not responding (LP: #1753347)
- platform/x86: ideapad-laptop: Increase timeout to wait for EC answer
* headset mic can't be detected on two Dell machines (LP: #1748807)
- ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
* hisi_sas: Add disk LED support (LP: #1752695)
- scsi: hisi_sas: directly attached disk LED feature for v2 hw
* [Feature] [Graphics]Whiskey Lake (Coffelake-U 4+2) new PCI Device ID adds
(LP: #1742561)
- drm/i915/cfl: Adding more Coffee Lake PCI IDs.
* [Bug] [USB Function][CFL-CNL PCH]Stall Error and USB Transaction Error in
trace, Disable of device-initiated U1/U2 failed and rebind failed: -517
during suspend/resume with usb storage. (LP: #1730599)
- usb: Don't print a warning if interface driver rebind is deferred at resume
* retpoline: ignore %cs:0xNNN constant indirections (LP: #1752655)
- [Packaging] retpoline -- elide %cs:0xNNNN constants on i386
- [Config] retpoline -- clean up i386 retpoline files
* hisilicon hibmc regression due to ea642c3216cb ("drm/ttm: add io_mem_pfn
callback") (LP: #1738334)
- drm/ttm: add ttm_bo_io_mem_pfn to check io_mem_pfn
* [Asus UX360UA] battery status in unity-panel is not changing when battery is
being charged (LP: #1661876) // AC adapter status not detected on Asus
ZenBook UX410UAK (LP: #1745032)
- ACPI / battery: Add quirk for Asus UX360UA and UX410UAK
* ASUS UX305LA - Battery state not detected correctly (LP: #1482390)
- ACPI / battery: Add quirk for Asus GL502VSK and UX305LA
* [18.04 FEAT] Automatically detect layer2 setting in the qeth device driver
(LP: #1747639)
- s390/diag: add diag26c support for VNIC info
- s390/qeth: support early setup for z/VM NICs
* Bionic update to v4.15.7 stable release (LP: #1752317)
- netfilter: drop outermost socket lock in getsockopt()
- arm64: mm: don't write garbage into TTBR1_EL1 register
- kconfig.h: Include compiler types to avoid missed struct attributes
- MIPS: boot: Define __ASSEMBLY__ for its.S build
- xtensa: fix high memory/reserved memory collision
- scsi: ibmvfc: fix misde...