[REGRESSION] Boot failure with DEBUG_PAGEALLOC on Wii, after PPC32 KASAN patches

Christophe Leroy christophe.leroy at c-s.fr
Wed Aug 14 15:30:41 AEST 2019


Hi

Le 13/08/2019 à 17:51, Jonathan Neuschäfer a écrit :
> Hi,
> 
> I noticed that my Nintendo Wii doesn't boot with wii_defconfig plus
> CONFIG_DEBUG_PAGEALLOC=y and CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT=y
> on recent kernels. I get a splash like this one:
> 
> [    0.022245] BUG: Unable to handle kernel data access at 0x00006601
> [    0.025172] Faulting instruction address: 0xc01afa48
> [    0.027522] Oops: Kernel access of bad area, sig: 11 [#1]
> [    0.030076] BE PAGE_SIZE=4K MMU=Hash PREEMPT DEBUG_PAGEALLOC wii

[...]

> 
> (Without CONFIG_DEBUG_PAGEALLOC I haven't noticed any problems.)
> 
> 
> 'git bisect' says:
> 
> 72f208c6a8f7bc78ef5248babd9e6ed6302bd2a0 is the first bad commit
> commit 72f208c6a8f7bc78ef5248babd9e6ed6302bd2a0
> Author: Christophe Leroy <christophe.leroy at c-s.fr>
> Date:   Fri Apr 26 16:23:35 2019 +0000
> 
>      powerpc/32s: move hash code patching out of MMU_init_hw()
> 

[...]

> 
> 
> I can revert this commit, and then 5.3-rc2 (plus a patchset adding a
> serial driver) boot again.
> 
> Christophe, is there anything I should test in order to figure out how
> to fix this properly?

I just sent out a patch that should fix it. Please test and tell me.

Thanks
Christophe


More information about the Linuxppc-dev mailing list