Re: powerpc/modules: Fix crashes by adding CONFIG_RELOCATABLE to vermagic

2018-04-17 Thread Ard Biesheuvel
On 16 April 2018 at 16:10, Michael Ellerman wrote: > Ard Biesheuvel writes: > >> On 11 April 2018 at 16:49, Michael Ellerman >> wrote: >>> On Tue, 2018-04-10 at 01:22:06 UTC, Michael Ellerman wrote: If you build the kernel with CONFIG_RELOCATABLE=n, then install the modules, rebuild th

Re: powerpc/modules: Fix crashes by adding CONFIG_RELOCATABLE to vermagic

2018-04-16 Thread Michael Ellerman
Ard Biesheuvel writes: > On 11 April 2018 at 16:49, Michael Ellerman > wrote: >> On Tue, 2018-04-10 at 01:22:06 UTC, Michael Ellerman wrote: >>> If you build the kernel with CONFIG_RELOCATABLE=n, then install the >>> modules, rebuild the kernel with CONFIG_RELOCATABLE=y and leave the >>> old mod

Re: powerpc/modules: Fix crashes by adding CONFIG_RELOCATABLE to vermagic

2018-04-11 Thread Ard Biesheuvel
On 11 April 2018 at 16:49, Michael Ellerman wrote: > On Tue, 2018-04-10 at 01:22:06 UTC, Michael Ellerman wrote: >> If you build the kernel with CONFIG_RELOCATABLE=n, then install the >> modules, rebuild the kernel with CONFIG_RELOCATABLE=y and leave the >> old modules installed, we crash somethin

Re: powerpc/modules: Fix crashes by adding CONFIG_RELOCATABLE to vermagic

2018-04-11 Thread Michael Ellerman
On Tue, 2018-04-10 at 01:22:06 UTC, Michael Ellerman wrote: > If you build the kernel with CONFIG_RELOCATABLE=n, then install the > modules, rebuild the kernel with CONFIG_RELOCATABLE=y and leave the > old modules installed, we crash something like: > > Unable to handle kernel paging request for