[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B30AE47.7040703@gmail.com>
Date: Tue, 22 Dec 2009 12:32:23 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Catalin Marinas <catalin.marinas@....com>
CC: Kevin Constantine <kevin.constantine@...il.com>,
netdev@...r.kernel.org,
linux kernel <linux-kernel@...r.kernel.org>,
Rusty Russell <rusty@...tcorp.com.au>,
Russell King - ARM Linux <linux@....linux.org.uk>
Subject: Re: Kernel Panics in the network stack
Le 22/12/2009 12:08, Catalin Marinas a écrit :
> On Tue, 2009-12-22 at 10:09 +0000, Eric Dumazet wrote:
>> __switch_to:
>>
>> ...
>> ldm r4, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
>
> It looks to me like it is possible to get an interrupt after SP was
> loaded but before PC, the stack could be corrupted and PC would be
> loaded with garbage. One instance of your oops messages looks like PC
> corruption but the other may be caused by something else. What ARM CPU
> are you using?
I saw other very strange corruptions (registers R6 & R7) as well, on Kevin supplied traces.
>
> I'm cc'ing Russell as well, it's strange that we haven't got any issue
> with this so far.
Oh well, it seems I CC'ed Rusty Russel instead :)
>
> You could try #undef'ing __ARCH_WANT_INTERRUPTS_ON_CTXSW in
> arch/arm/include/asm/system.h as a sanity check for your aborts.
>
Kevin uses linuxstamp card, from open circuits :
http://www.opencircuits.com/Linuxstamp
It's a AT91RM9200 processor (Arm9 with MMU, 180MHz )
Thanks
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists