Re: Kernel 2.1.99 panics at boot

Richard Gooch (Richard.Gooch@atnf.CSIRO.AU)
Sat, 2 May 1998 23:08:35 +1000


Adam J. Richter writes:
> In article <199805011910.VAA26782@d250-hrz.uni-duisburg.de> you write:
> >Greetings,
> >
> > 2.1.99 panics at bootup on my system with:
> [...]
> >CONFIG_M586=y
> [...]
> >CONFIG_MTRR=y
> [...]
>
> The new Memory Type Range Register (MTRR) support in 2.1.99
> crashes all non-686 machines compiled when the kernel is compiled with
> SMP=1 defined (the default), due to a misplaced ifdef in the
> mtrr_init() routine in arch/i386/kernel_mtrr.c. From your choice of

Actually, there was an earlier bug with non-MTRR CPUs with SMP kernels
which I fixed a week ago, but that only fixed it for Pentium CPUs.
The bug in 2.1.99 only appears to affect non-Pentium/PPro/PII CPUs
(well, known to be a bug with Cyrix 6x86).

> CPU in the kernel configuration, I am guessing that you are running on
> an non-i686 processor. Apply Richard Gooch's mtrr-v1.19 patch against
> pristine 2.1.99 that he posted to this list earlier today or simply
> reconfigure the kernel to build without MTRR. From the documentation,
> it appears that MTRR is a feature found only on i686 CPU's anyhow.

Someone told me that the Cyrix 6x86 has something similar, so in
theory all I need is for someone to send me some Cyrix-specific
register setting code, and I can integrate it. I expect the /proc/mtrr
interface doesn't need to change.

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu