# Re: kernel panic during kernel module load (powerpc specific part)

- From: Benjamin Herrenschmidt \<benh@kernel.crashing.org\>
- Date: 2012-06-06 11:32:24 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2012/06/9469561
- Thread: https://ratatoskr.run/linuxppc-dev/2012/05/9469449/t.md

```text
On Wed, 2012-06-06 at 09:36 +0200, Steffen Rumler wrote:
> 
> how should we continue here ?
> There is the kernel panic, I've described.
> 
> Technically, there is an conflict between the code generated by the
> compiler and the loader in module_32.c, at least by using -Os.
> Because the prologue/epilogue is part of the .text and init_module()
> is part of .init.text (in the case __init is applied, as usual),
> a directly reachable call is not always possible. 

As we discussed earlier, if you could submit a patch to use r12 instead,
we should merge that.

Cheers,
Ben.
```
