[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] RANDOM CRASHES



Hi,

I am experiencing one of your crashes on my system as well - which I've
included below
from your previous email.

We are running a custom board that is based on the Xilinx-Spartan3E1600-RevA
design.
We have 3 interrupt sources - timer, Xilinx_emac (Ethernet), and serial
console. I am using the
latest petalinux dev tree from svn and we have our microblaze and version
7.10c.

The panic occurs rarely, but I believe it happens when there is a lot of
Ethernet traffic.
One test I run that causes this to happen is to repeatedly send and receive
the kernel 
image (image.ub) to the /tmp RAM file system (using ftp). The most recent
failure occurred after
14 hours of doing this at about 10 second intervals.

In looking at line 37 and 38 of irq.c:

  irq = get_irq(regs);
  BUG(irq == -1U);

The get_irq() function reads and returns the interrupt vector from the OPB
interrupt controller. 
It will return a -1 if there is not an active interrupt source at the time
the vector is read. 
Is this correct? Does anyone have ideas about why this is happening and how
to fix it? 

Thanks for any help you can give,

Steve Sjoquist
Rane Corp.



----------------------------------------------------------------------------
----

BUG: failure at arch/microblaze/kernel/irq.c:38/do_IRQ()! 
Kernel panic - not syncing: BUG!    
 <0>Rebooting in 120 seconds..Machine restart...  
   
Stack:
  46ff1ee0 00000000 00000000 0001d4bf 00000008 4401b71c 441ab244 00003016

  006ad2e2 0000c000 00002fac 0000006a 4400a508 4400a4e0 800004a4 800004a4

  800004a4 800004a4 00000001 44001958 441ac69c 00000078 44243530 00000000

Call Trace:   
[<4401b71c>] emergency_restart+0xc/0x20
[<4400a508>] panic+0x180/0x218      
[<4400a4e0>] panic+0x158/0x218      
[<44001958>] do_IRQ+0x90/0x98       
[<440043b0>] _interrupt+0x110/0x118  


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/