Re: sti() freezes the kernel

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

 



On Mon, Oct 17, 2005 at 03:39:24PM +0200, Yoann Allain wrote:

> Since last mail I played with the interrupt masks (IM - bits 15-8 in 
> MIPS status register) . From the MIPS cause register, it seems that the 
> bit 15 (hardware interrupt 5 or timer interrupt) is the originator of 
> the freezing interrupt. And the exception code shown for this interrupt 
> is 6 corresponding to a Bus error exception. I think there's a pointer 
> to the interrupt handler not correctly initialized. So that the 
> interrupt makes a jump to nowhere.

In which case you should get a nice register dump with $ra pointing to
offending jalr instruction + 8 bytes.  Of course that requieres you
to get printk working even earlier but with a serial console that's
trivial.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux