ACK: [PATCH Eoan] UBUNTU: SAUCE: powerpc/vio: drop bus_type from parent device

Seth Forshee seth.forshee at canonical.com
Fri Sep 27 17:33:29 UTC 2019


On Fri, Sep 27, 2019 at 11:41:53AM -0300, Thadeu Lima de Souza Cascardo wrote:
> BugLink: https://bugs.launchpad.net/bugs/1845572
> 
> Commit df44b479654f62b478c18ee4d8bc4e9f897a9844 ("kobject: return error code if
> writing /sys/.../uevent fails") started returning failure when writing to
> /sys/devices/vio/uevent.
> 
> This causes an early udevadm trigger to fail. On some installer versions of
> Ubuntu, this will cause init to exit, thus panicing the system very early
> during boot.
> 
> Removing the bus_type from the parent device will remove some of the extra
> empty files from /sys/devices/vio/, but will keep the rest of the layout for
> vio devices, keeping them under /sys/devices/vio/.
> 
> It has been tested that uevents for vio devices don't change after this fix,
> they still contain MODALIAS.
> 
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at canonical.com>

Positive testing, fixes a bug critical for eoan release.

Acked-by: Seth Forshee <seth.forshee at canonical.com>



More information about the kernel-team mailing list