Alessio Igor Bogani
alessio.bogani at elettra.eu
Tue Aug 23 19:20:00 AEST 2016
Sorry for delay in reply I was on vacation.
On 6 August 2016 at 11:29, christophe leroy <christophe.leroy at c-s.fr> wrote:
> Le 05/08/2016 à 09:51, Christophe Leroy a écrit :
>> Le 19/07/2016 à 23:52, Scott Wood a écrit :
>>> On Tue, 2016-07-19 at 12:00 +0200, Alessio Igor Bogani wrote:
>>>> Hi all,
>>>> I have got two boards MVME5100 (MPC7410 cpu) and MVME7100 (MPC8641D
>>>> cpu) for which I use the same cross-compiler (ppc7400).
>>>> I tested these against kernel HEAD to found that these don't boot
>>>> anymore (PID 1 crash).
>>>> Bisecting results in first offending commit:
>>>> Removing it from HEAD make boards boot properly again.
>>>> A third system based on P2010 isn't affected at all.
>>>> Is it a regression or I have made something wrong?
>>> I booted both my next branch, and Linus's master on MPC8641HPCN and
>>> didn't see
>>> this -- though possibly your RFS is doing something different. Maybe
>>> the difference with P2010 as well.
>>> Is there any way you can debug the cause of the crash? Or send me a
>>> RFS that demonstrates the problem (ideally with debug symbols on the
>> I got from Alessio the below information:
>> systemd: Caught <BUS>, core dump failed (child 137, code=killed,
>> systemd: Freezing execution.
>> What can generate SIGBUS ?
>> And shouldn't we also get some KERN_ERR trace, something like "unhandled
>> signal 7 at ....." ?
> As far as I can see, SIGBUS is mainly generated from alignment exception.
> According to 7410 Reference Manual, alignment exception can happen in the
> following cases:
> * An operand of a dcbz instruction is on a page that is write-through or
> cache-inhibited for a virtual mode access.
> * An attempt to execute a dcbz instruction occurs when the cache is disabled
> or locked.
> Could try with below patch to check if the dcbz insn is causing the SIGBUS ?
Unfortunately that patch doesn't solve the problem.
Is there a chance that cache behavior could settled by board firmware
(PPCBug on the MPC7410 board and MotLoad on the MPC8641D one)?
In that case what do you suggest me to looking for?
> diff --git a/arch/powerpc/lib/checksum_32.S b/arch/powerpc/lib/checksum_32.S
> index 68f6862..3ad782a 100644
> --- a/arch/powerpc/lib/checksum_32.S
> +++ b/arch/powerpc/lib/checksum_32.S
> @@ -192,7 +192,7 @@ _GLOBAL(csum_partial_copy_generic)
> mtctr r8
> 53: dcbt r3,r4
> -54: dcbz r11,r6
> +54: nop
> /* the main body of the cacheline loop */
> #if L1_CACHE_BYTES >= 32
Thanks for your help!
More information about the Linuxppc-dev