Re: CPU/cache detection wrong

Alan Cox (alan@lxorguk.ukuu.org.uk)
30 Sep 2002 17:34:15 +0100


On Sat, 2002-09-28 at 13:29, Alexander Hoogerhuis wrote:
> CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz stepping 04
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... OK.
>
> The machine is a Comapq Evo n800c with a 1.7GHz P4-M in it, and
> according to the BIOS I've got 16kb/512Kb L1/L2-cache. Accroding to
> the 2.4.20-pre7-ac3-kernel. It's been like this at least since
> 2.4.19-pre4 or so.

Can you stick a printk in arch/i386/kernel/setup.c in the function
init_intel

Just before:
/* look up this descriptor in the table */

stick

printk("Cache info byte: %02X\n", des);

that will dump the cache info out of the CPU as the kernel scans it and
should let us find the error in the table.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/