Re: Discrepancies between /proc/cpuinfo and Dave J's x86info

Dave Jones (davej@suse.de)
Wed, 11 Jul 2001 12:00:23 +0100


On Tue, Jul 10, 2001 at 10:19:28PM -0500, Jordan wrote:
> cpuid level : 2
> cpuid level : 3

> According to Dave J's utility the cpu's appear to be exactly the same
> just as the Intel boxes said when I bought them. What might be causing
> these values to be different. And if the BIOS is setting things up
> incorrectly then why does Dave J's utility show the correct values?
> Thanks for any help.

This is a mystery to me. Rogier Wolff mentioned the same problem
a month or two back. At the time x86info had a bug that meant that
it was reading the same cpuid info from the same CPU twice in an
SMP box. This is fixed in 1.3 (or at least, should be).

This brings several questions.

1. Why does proc/cpuinfo think they are different.
2. Lowering from 3 -> 2 on a P3 happens when CPU serial number is
disabled. Is this not happening on the 2nd CPU? If not, why?
3. Why can't we see the discrepancy from userspace?

possibilities include
a. The CPUID /dev nodes are incorrectly numbered.
Can you check this, and make sure they have the right
minors ?
b. The CPUID driver cpu-scheduling is broken.
Unlikely, but possible, as afaik x86info is the only
program where you'd notice this difference.
hpa?
c. The CPU serial number disabling is done after the
/proc/cpuinfo creation. AFAIR this is not the case.
I'll check further into this after lunch.

regards,

Dave.

-- 
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs
-
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/