linux-mips
[Top] [All Lists]

Re: Calibrating delay loop... crashes

To: "Kevin D. Kissell" <kevink@mips.com>
Subject: Re: Calibrating delay loop... crashes
From: Nguyen Thanh Binh <n_tbinh@yahoo.com>
Date: Wed, 16 Nov 2005 02:10:26 +0000 (GMT)
Cc: linux-mips@linux-mips.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=uD6qIzSM/K8GePK80FTkXxVvJ6ffjqSGX26SJV+qXr2WVvn9KcqCqIT6lwoLHsT+cMuMAbhautt5jmFy564N8gGT/uYZGmek1nJqdPxuY1TG8Y/WgalyxCpWDP1IGHy0hqUJWA1SPIH1A6XIE93QpNXTLjev9R+wofRa1VzUVnE= ;
In-reply-to: <437A8FA1.8010404@mips.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Kevin,

> > When booting Monta Vista Linux on Memec board
> > (Virtex-4 FX12 LC), it crashed after printing the
> > following message:
> > 
> >     "Calibrating delay loop..."
> > 
> > By looking at the source code, I found that in the
> > init/main.c the problem came from the
> calibrate_delay
> > function: jiffies was not incremented (jiffies was
> > always equal to 0).
> > 
> > Have anyone get the similar problem or any
> experience
> > to fix it?
> 
> I take it that by "crashed", you mean it hung?  If
> so,
> it sounds like you aren't getting any timer
> interrupts.

You are right. Because jiffies was not incremented so
the below code segment in function calibrate_delay in
file init/mian.c hung:

   ticks = jiffies;
   while (ticks == jiffies) ;

As I am a newbie, I did not find how to fix it.

Thank you for any help.

Binh Nguyen

Nguy&#7877;n Thanh Bình


                
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

<Prev in Thread] Current Thread [Next in Thread>