All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: "wilbur.chan" <wilbur512@gmail.com>
Cc: Linux MIPS Mailing List <linux-mips@linux-mips.org>
Subject: Re: Problem in booting when calling calibrate_delay
Date: Sun, 1 Nov 2009 08:14:07 +0100	[thread overview]
Message-ID: <20091101071407.GC4551@linux-mips.org> (raw)
In-Reply-To: <e997b7420910281651p24b8e367m1e2ddbc1b95ac623@mail.gmail.com>

On Thu, Oct 29, 2009 at 07:51:52AM +0800, wilbur.chan wrote:

> I was going to boot mips64  xlr408, which has 8 cores.

The XLR is not supported by the linux-mips.org rsp. kernel.org kernel
trees.

> Howerver, the code seemd to stop before calling 'start_kernel--->
> 
> calibrate_delay ' .
> 
> So Iadded some 'printk' in  calibrate_delay,  to check out why it failed.
>  However,  if I added a 'printk' in any 'if  branches'  in
> 
> 'calibrate_delay '  function  , the kernel would halt  before calling
> 
> 
> 'j  start_kernel'  in head.S. (in this situation ,printk seemed
> 
> unavailable, so  I  wrote directlly to serial address  to trace the
> 
> kernel).
> 
> 
> Can anyone tell me why this happed?

When something like this happens it is in most cases caused by timer
interrupt not working.

  Ralf

  reply	other threads:[~2009-11-01  7:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 23:51 Problem in booting when calling calibrate_delay wilbur.chan
2009-11-01  7:14 ` Ralf Baechle [this message]
2009-11-01 15:18   ` wilbur.chan
2009-11-02 15:12   ` wilbur.chan

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=20091101071407.GC4551@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-mips@linux-mips.org \
    --cc=wilbur512@gmail.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.