| To: | Yoann Allain <yallain@avilinks.com> |
|---|---|
| Subject: | Re: sti() freezes the kernel |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Mon, 17 Oct 2005 16:14:36 +0100 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <4353A98C.80508@avilinks.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <4353656E.8070601@avilinks.com> <20051017131047.GF4884@linux-mips.org> <4353A98C.80508@avilinks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.2.1i |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: sti() freezes the kernel, Yoann Allain |
|---|---|
| Next by Date: | Re: How to improve performance of 2.6 kernel, Kevin D. Kissell |
| Previous by Thread: | Re: sti() freezes the kernel, Yoann Allain |
| Next by Thread: | How to improve performance of 2.6 kernel, kernel coder |
| Indexes: | [Date] [Thread] [Top] [All Lists] |