From: Scott Wood <scottwood@freescale.com>
To: wei.li4@elf.mcgill.ca
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Kernel hangs in console_init()
Date: Thu, 26 Oct 2006 13:19:25 -0500 [thread overview]
Message-ID: <4540FC2D.6000403@freescale.com> (raw)
In-Reply-To: <20061025173304.c57o9tf3go000wc0@webmail.mcgill.ca>
wei.li4@elf.mcgill.ca wrote:
> Hi All,
>
> I am working on linux 2.6.18-rc2 with my mpc875 demo board, I used
> Debugger LEDs to find that kernel stopped in:
> while (call < __con_initcall_end) {
> (*call)();
> call++;
> }
> which is in console_init() of tty_io.c, what kind of problem could be?
> What's the means of 'bctrl' instruction that I found in its assembler?
It's an indirect function call (i.e. the (*call)(); line) to the address
specified in the CTR register. You need to find out the value of *call
in order to figure out which function is failing. There are probably
only a small number of possibilities that are actually configured into
your kernel (look for console_initcall in files that get built for your
target).
-Scott
next prev parent reply other threads:[~2006-10-26 18:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-25 21:33 Kernel hangs in console_init() wei.li4
2006-10-26 18:19 ` Scott Wood [this message]
2006-10-26 20:36 ` Becky Bruce
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=4540FC2D.6000403@freescale.com \
--to=scottwood@freescale.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=wei.li4@elf.mcgill.ca \
/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.