On Mon, 9 Jul 2001, Ronald G Minnich wrote:
> On Mon, 9 Jul 2001, Armin Schindler wrote:
> 
> > maybe someone who knows more about x86 can explain
> > what is happening when the Kernel does
> > "Checking 'hlt' instruction" ?
> >
> > This part just executes a few 'hlt's
> > which causes a hang on my STPC. So I think
> > something was not setup correctly
> > (timer, irq, ...) ?
> 
> This usually means you are not getting timer interrupts. This is a common
> problem.  On the other hand it could just be an STPC thing. It is odd that
> you get through the timer test and fail in the halt test.

When I use the standard BIOS which comes with the evaluation board,
the 'hlt' check is no problem.
 
> > When I disable this check in the kernel,
> > *everything* works perfectly.
> 
> woo hoo!
> 
> > Maybe I need to init some hardware (which linuxbios code
> > do), I thought I don't need for bootup ?
> 
> are you sure you're getting timer interrupts right?

Yes, at least the kernel reports that and I can see it
in /proc/interrupts.

Do I have to activate/configure interrupts(controller) stuff
before the kernel can be started ?

What I don't understand is, that after the 'hlt' check
(when check is disabled), everything else works. It seems
that the kernel expects something set when hlt is checked, and
afterwards the kernel sets it by itself !?


Armin

Reply via email to