From: Jerry Van Baren <vanbaren_gerald@si.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: MV kernel on 405GP
Date: Mon, 08 Jan 2001 11:25:27 -0500 [thread overview]
Message-ID: <4.3.2.20010108112126.00b95f00@falcon.si.com> (raw)
In-Reply-To: <3A59E708.5E9375CD@GreenCurrent.com>
Sounds like you have one or more pending interrupts that you are not
handling properly. As soon as you enable external interrupts, you take
the vector, but don't clear the pending interrupt(s). Since you don't
clear the interrupt, as soon as you leave the ISR, you get hit by
another interrupt. Viola, instant loop.
Suggestions:
1) Check what interrupts are enabled and verify that they are handled
properly.
2) Mask any external interrupt you don't need right now.
3) If that doesn't work, mask all external interrupts and see if you
get further.
4) Re-enable the interrupts one at a time until you die again.
5) Repeat step #1 with the last interrupt you enabled :-).
gvb
At 06:12 PM 1/8/01 +0200, Juha Okkonen wrote:
> I have a custom board that uses IBM 405GP -prosessor. I have
> already
> modified ppcboot-0.5.3 for booting. And am trying to get
> Monta Vista's
> linux-2.4.0-test2 kernel to run on it also. But there is some
> problem
> with exceptions. When start_kernel(void)-function calls sti()
> to enable
> external interrupts, the prosessor hangs totally. I don't get any
>register
> dumps or anything else either. I have been able to verify
> with kgdb
>that
> everything works until update of MSR-register.
>
> If somebody has a version of the kernel modified for 405GP
> and ppcboot
> both working, I would like to have the sources or at least
> ideas about
> my problemn.
>
> 'Okko
>
>
>--
>Juha
>Okkonen/CTO Juha.Okkonen@GreenCurrent.com
>Green Current Oy Phone +358 9 2517 5525
>Tekniikantie 21 E 226 +358
>41 517 6542
>02150 Espoo
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-01-08 16:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-08 16:12 MV kernel on 405GP Juha Okkonen
2001-01-08 16:25 ` Jerry Van Baren [this message]
2001-01-08 19:37 ` Frank Rowand
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=4.3.2.20010108112126.00b95f00@falcon.si.com \
--to=vanbaren_gerald@si.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).