All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Yoann Allain <yallain@avilinks.com>
Cc: linux-mips@linux-mips.org
Subject: Re: sti() freezes the kernel
Date: Mon, 17 Oct 2005 16:14:36 +0100	[thread overview]
Message-ID: <20051017151436.GH4884@linux-mips.org> (raw)
In-Reply-To: <4353A98C.80508@avilinks.com>

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

      reply	other threads:[~2005-10-17 15:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17  8:48 sti() freezes the kernel Yoann Allain
2005-10-17 13:10 ` Ralf Baechle
2005-10-17 13:39   ` Yoann Allain
2005-10-17 15:14     ` Ralf Baechle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051017151436.GH4884@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-mips@linux-mips.org \
    --cc=yallain@avilinks.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.