>
> On Sat, 2 May 1998, Christian Loth wrote:
>
> > Greetings,
> >
> > 2.1.99 is still nogo for me. This time I used a somewhat more conservative
> > config, plus I compiled the Kernel 'normally' with gcc 2.7.2.3 instead of
> > egcs 1.0.2. This time the kernel doesn't panic, but the system simply
> > resets during the boot up. The last massage I was able to read, before
> > the screen blanked and the system reset was something with 'APIC timer'.
> > Having looked at the source, I think the most likely candidate for this
> > message is: calibrating APIC timer ...
>
> could you put a udelay(1000*1000) to the end of kernel/printk.c:printk()?
> This way you have a 1 second delay after each line printed.
>
> or, if you are in a hacker mood tonight, you could try placing
>
> for (;;);
The code that crashed was tracked down to the following:
The crash occured after the boot message:
Booting processor 1 eip 2000
With the help of many reboots and many recompiles (yep, I just
have too much time ;) ) I could track the culprit down to:
File arch/i386/kernel/smp.c
line 847:
SMP_PRINTK(("Before start apic_write.\n"));
apic_write(APIC_ICR, cfg); <--- crash
/* Kick the second */
cfg has the value 1538
Is that precisely enough or should I investigate further in apic_write?
>
> near the suspected code and try moving this code around to find the line
> that causes the reboot.
>
> -- mingo
>
>
Hope this helps,
- Chris
-- /----------------------------------------------------------------------------\ | Christian Loth | Meet me as the >Shadowdancer< in the | | chris@rom.mud.de | REALM OF MAGIC | | http://rom.mud.de/~chris | telnet rom.mud.de 4000 | | | http://rom.mud.de/ | | "The road goes ever on and on!" - Bilbo Baggins | \----------------------------------------------------------------------------/- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu