Re: Freeze on ppc32 MPC8248 board with 5.2 kernel

From
Christophe Leroy <hidden>
Date
2019-08-13 04:43:49
Reply to
Doug Crawford, 2019-07-25
Hi Doug,

Le 26/07/2019 à 00:30, Doug Crawford a écrit :
We have a ppc32 MPC8248 board that is working perfectly with the 4.19 kernel.
We have noticed two issues with the 5.2 kernel:
 Have you tried 5.0 and 5.1 ?
1) If the new CONFIG_PPC_KUAP (kernel userspace access protection) is enabled the kernel freezes right after initializing all the drivers and just before starting /sbin/init.
Can you provide your .config ?

Can you also provide the output of the boot console ?
2) If CONFIG_PPC_KUAP is disabled the system starts up, but any user space program will hang indefinitely after calling the GCC atomic "__sync_bool_compare_and_swap".  This happens when nginx starts.  The same nginx binary works fine on a 4.19 kernel.
Can you provide 'dmesg' ?

What version of GCC do you use ?

Have you tried a simple program doing nothing else than __sync_bool_compare_and_swap() ?

Can you provide a disassembly of the function that uses __sync_bool_compare_and_swap() ?

Thanks
Christophe
Thread (2 messages) 2 messages, 2 authors, last reply 2019-08-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help