* Calibrating delay loop... crashes
@ 2005-11-16 1:36 Nguyen Thanh Binh
2005-11-16 1:47 ` Kevin D. Kissell
2005-11-16 1:59 ` Manish Lachwani
0 siblings, 2 replies; 6+ messages in thread
From: Nguyen Thanh Binh @ 2005-11-16 1:36 UTC (permalink / raw)
To: linux-mips
Hello all,
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?
Thank you.
Binh Nguyen
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Calibrating delay loop... crashes
2005-11-16 1:36 Calibrating delay loop... crashes Nguyen Thanh Binh
@ 2005-11-16 1:47 ` Kevin D. Kissell
2005-11-16 2:10 ` Nguyen Thanh Binh
2005-11-16 1:59 ` Manish Lachwani
1 sibling, 1 reply; 6+ messages in thread
From: Kevin D. Kissell @ 2005-11-16 1:47 UTC (permalink / raw)
To: Nguyen Thanh Binh; +Cc: linux-mips
Nguyen Thanh Binh wrote:
> 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.
Regards,
Kevin K.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Calibrating delay loop... crashes
2005-11-16 1:47 ` Kevin D. Kissell
@ 2005-11-16 2:10 ` Nguyen Thanh Binh
2005-11-16 2:24 ` Manish Lachwani
0 siblings, 1 reply; 6+ messages in thread
From: Nguyen Thanh Binh @ 2005-11-16 2:10 UTC (permalink / raw)
To: Kevin D. Kissell; +Cc: linux-mips
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ễ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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Calibrating delay loop... crashes
2005-11-16 2:10 ` Nguyen Thanh Binh
@ 2005-11-16 2:24 ` Manish Lachwani
2005-11-16 14:07 ` Ralf Baechle
0 siblings, 1 reply; 6+ messages in thread
From: Manish Lachwani @ 2005-11-16 2:24 UTC (permalink / raw)
To: Nguyen Thanh Binh, Kevin D. Kissell; +Cc: linux-mips
Hi !
There is a porting guide at:
http://linux.junsun.net/porting-howto/
which is quite useful. Read the "System time and
timer" section. It describes to some extent
implementing timer services.
Thanks
Manish Lachwani
--- Nguyen Thanh Binh <n_tbinh@yahoo.com> wrote:
> 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ễ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
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Calibrating delay loop... crashes
2005-11-16 1:36 Calibrating delay loop... crashes Nguyen Thanh Binh
2005-11-16 1:47 ` Kevin D. Kissell
@ 2005-11-16 1:59 ` Manish Lachwani
1 sibling, 0 replies; 6+ messages in thread
From: Manish Lachwani @ 2005-11-16 1:59 UTC (permalink / raw)
To: Nguyen Thanh Binh, linux-mips
Its probably hung at that point since the timer
interrupt never came.
Thanks
Manish Lachwani
--- Nguyen Thanh Binh <n_tbinh@yahoo.com> wrote:
> Hello all,
>
> 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?
>
> Thank you.
>
> Binh Nguyen
>
>
>
>
>
___________________________________________________________
>
> To help you stay safe and secure online, we've
> developed the all new Yahoo! Security Centre.
> http://uk.security.yahoo.com
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-11-16 14:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16 1:36 Calibrating delay loop... crashes Nguyen Thanh Binh
2005-11-16 1:47 ` Kevin D. Kissell
2005-11-16 2:10 ` Nguyen Thanh Binh
2005-11-16 2:24 ` Manish Lachwani
2005-11-16 14:07 ` Ralf Baechle
2005-11-16 1:59 ` Manish Lachwani
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.