NAK: [SRU][xenial/hwe][PATCH 0/1] Fix boot failure on ppc64el (LP: #1922997)

Kleber Souza kleber.souza at canonical.com
Fri Apr 9 08:06:33 UTC 2021


On 08.04.21 21:49, Kleber Sacilotto de Souza wrote:
> [Impact]
> Enabling CONFIG_MODVERSIONS on xenial/linux-hwe (via rebase on bionic/linux, see
> bug 1898716) is causing the kernel to fail booting on ppc64el as the modules
> can't be loaded because of the mismatch of the module_layout symbol.
> 
> [ 7.635173] raid0: disagrees about version of symbol module_layout
> 
> [Fix]
> The proposed fix is to disable CONFIG_MODVERSIONS via the 'local-mangle' script
> which gets called by the 'open' script after the rebase. Making the changes
> directly on the config or annotations file is not persistent as these files are
> synced from master.
> 
> This is a temporary fix until the root cause can be found.
> 
> [Test case]
> Boot the kernel on a xenial ppc64el system.
> 
> [Regression potential]
> This config option has been enabled on Bionic to support rebuilding the lrm
> modules without the need to rebuild the kernel. There are no lrm modules in
> Xenial, so it should be safe to keep it disabled.
> 
> Kleber Sacilotto de Souza (1):
>    UBUNTU: [Packaging] HWE: disable CONFIG_MODVERSIONS
> 
>   debian.hwe/scripts/helpers/local-mangle | 7 +++++++
>   1 file changed, 7 insertions(+)
> 

Per Stefan's offline feedback, we also need to remove the key
file from "CONFIG_SYSTEM_TRUSTED_KEYS". I'll send a v2.

Thanks,
Kleber



More information about the kernel-team mailing list