2001-04-07 19:33:47

by Rogier Wolff

[permalink] [raw]
Subject: P-III Oddity.


Hi,

One machine regularly crashes.

Linux version 2.2.16-3 ([email protected]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Jun 19 19:11:44 EDT 2000
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 551.255
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr xmm
bogomips : 1101.00


Another one, I don't really know, but I was comparing /proc/cpuinfo on
these two machines as they are supposed to have the same CPU:


/home/wolff> cat /proc/version /proc/cpuinfo
Linux version 2.4.3 (wolff@cave) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #52 Fri Apr 6 14:43:38 MEST 2001
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 551.263
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 3
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1101.00

/home/wolff>


Everything is exactly the same, except for the "cpuid level". Once the
cpu family and model are the same, I'd expect the cpuid level to be
the same too. In this case even the stepping is the same, so how can
the cpuid level differ?

Maybe this is a reporting difference between 2.4.3 and 2.2.16????

Anybody care to shed some light on this?

Roger.

--
** [email protected] ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots.
* There are also old, bald pilots.


2001-04-07 19:57:02

by Dave Jones

[permalink] [raw]
Subject: Re: P-III Oddity.

On Sat, 7 Apr 2001, Rogier Wolff wrote:

> One machine regularly crashes.
> Linux version 2.2.16-3 ([email protected]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Jun 19 19:11:44 EDT 2000

Probably unrelated to the issue below. Try a more recent 2.2 ?

> cpuid level : 2

CPU serial number disabled.

> cpuid level : 3

CPU serial number enabled.


You should be able to confirm this with my x86info tool.
ftp://ftp.suse.com/pub/people/davej/x86info/x86info-1.0.tgz

If this isn't the case, can you send me the output of
x86info -a on both CPUs ?

Note, that 2.4 should be disabling the serial number by
default.
(Unless you booted with the `serialnumber' bootarg.)

regards,

Dave.

2001-04-07 22:56:54

by Trevor Hemsley

[permalink] [raw]
Subject: Re: P-III Oddity.

On Sat, 7 Apr 2001 19:58:15, Dave Jones <[email protected]> wrote:

> On Sat, 7 Apr 2001, Rogier Wolff wrote:
>
> > One machine regularly crashes.
> > Linux version 2.2.16-3 ([email protected]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Jun 19 19:11:44 EDT 2000
>
> Probably unrelated to the issue below. Try a more recent 2.2 ?
>
> > cpuid level : 2
>
> CPU serial number disabled.
>
> > cpuid level : 3
>
> CPU serial number enabled.

I've got this on my dual processor P-III 600MHz. One of the cpus in
this box reports cpuid level 2, the other 3. Serial number is disabled
in the BIOS.

> You should be able to confirm this with my x86info tool.
> ftp://ftp.suse.com/pub/people/davej/x86info/x86info-1.0.tgz
>
> If this isn't the case, can you send me the output of
> x86info -a on both CPUs ?

x86info v1.0. Dave Jones 2001
Feedback to <[email protected]>.

Found 2 CPU
seax in: 0, eax = 00000002 ebx = 756e6547 ecx = 6c65746e edx =
49656e69
eax in: 1, eax = 00000673 ebx = 00000000 ecx = 00000000 edx = 0383fbff
eax in: 2, eax = 03020101 ebx = 00000000 ecx = 00000000 edx = 0c040843
Vendor ID: "GenuineIntel"; Max CPUID level 2

Intel-specific functions
Family: 6 Model: 7 Type 0 [Pentium III/Pentium III Xeon Original OEM]
Stepping: 3
Reserved: 0

Feature flags 0383fbff:
FPU Floating Point Unit
VME Virtual 8086 Mode Enhancements
DE Debugging Extensions
PSE Page Size Extensions
TSC Time Stamp Counter
MSR Model Specific Registers
PAE Physical Address Extension
MCE Machine Check Exception
CX8 COMPXCHG8B Instruction
APIC On-chip Advanced Programmable Interrupt Controller present and
enabled
SEP Fast System Call
MTRR Memory Type Range Registers
PGE PTE Global Flag
MCA Machine Check Architecture
CMOV Conditional Move and Compare Instructions
FGPAT Page Attribute Table
PSE-36 36-bit Page Size Extension
MMX MMX instruction set
FXSR Fast FP/MMX Streaming SIMD Extensions save/restore
XMM Streaming SIMD Extensions instruction set
Instruction TLB: 4KB pages, 4-way set assoc, 32 entries
Instruction TLB: 4MB pages, fully assoc, 2 entries
Data TLB: 4KB pages, 4-way set assoc, 64 entries
L2 unified cache: 512KB, 4-way set assoc, 32 byte line size
Instruction cache: 16KB, 4-way set assoc, 32 byte line size
Data TLB: 4MB pages, 4-way set assoc, 8 entries
Data cache: 16KB, 2-way or 4-way set assoc, 32 byte line size
eax in: 0, eax = 00000002 ebx = 756e6547 ecx = 6c65746e edx = 49656e69
eax in: 1, eax = 00000673 ebx = 00000000 ecx = 00000000 edx = 0383fbff
eax in: 2, eax = 03020101 ebx = 00000000 ecx = 00000000 edx = 0c040843
Vendor ID: "GenuineIntel"; Max CPUID level 2

Intel-specific functions
Family: 6 Model: 7 Type 0 [Pentium III/Pentium III Xeon Original OEM]
Stepping: 3
Reserved: 0

Feature flags 0383fbff:
FPU Floating Point Unit
VME Virtual 8086 Mode Enhancements
DE Debugging Extensions
PSE Page Size Extensions
TSC Time Stamp Counter
MSR Model Specific Registers
PAE Physical Address Extension
MCE Machine Check Exception
CX8 COMPXCHG8B Instruction
APIC On-chip Advanced Programmable Interrupt Controller present and
enabled
SEP Fast System Call
MTRR Memory Type Range Registers
PGE PTE Global Flag
MCA Machine Check Architecture
CMOV Conditional Move and Compare Instructions
FGPAT Page Attribute Table
PSE-36 36-bit Page Size Extension
MMX MMX instruction set
FXSR Fast FP/MMX Streaming SIMD Extensions save/restore
XMM Streaming SIMD Extensions instruction set
Instruction TLB: 4KB pages, 4-way set assoc, 32 entries
Instruction TLB: 4MB pages, fully assoc, 2 entries
Data TLB: 4KB pages, 4-way set assoc, 64 entries
L2 unified cache: 512KB, 4-way set assoc, 32 byte line size
Instruction cache: 16KB, 4-way set assoc, 32 byte line size
Data TLB: 4MB pages, 4-way set assoc, 8 entries
Data cache: 16KB, 2-way or 4-way set assoc, 32 byte line size

/proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 598.407
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse
bogomips : 1192.75

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 598.407
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 3
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse
bogomips : 1196.03

--
Trevor Hemsley, Brighton, UK.
[email protected]

2001-04-08 01:06:47

by CaT

[permalink] [raw]
Subject: Re: P-III Oddity.

On Sat, Apr 07, 2001 at 09:56:40PM +0200, Dave Jones wrote:
> On Sat, 7 Apr 2001, Rogier Wolff wrote:
>
> > One machine regularly crashes.
> > Linux version 2.2.16-3 ([email protected]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Jun 19 19:11:44 EDT 2000
>
> Probably unrelated to the issue below. Try a more recent 2.2 ?

2.2.19pre16 here. I don't have an SMP kernel but is this right:

cpuid level : 3
Vendor ID: "GenuineIntel"; Max CPUID level 2

That line is the only line I could find that mentioned cpuid in your
code so I seem to be getting two different answers...

--
CaT ([email protected]) *** Jenna has joined the channel.
<cat> speaking of mental giants..
<Jenna> me, a giant, bullshit
<Jenna> And i'm not mental
- An IRC session, 20/12/2000

2001-04-08 01:49:08

by Dave Jones

[permalink] [raw]
Subject: Re: P-III Oddity.

On Sat, 7 Apr 2001, Trevor Hemsley wrote:

> I've got this on my dual processor P-III 600MHz. One of the cpus in
> this box reports cpuid level 2, the other 3. Serial number is disabled
> in the BIOS.

Interesting, the cpu serial number isn't being disabled on the
2nd CPU. Most odd. Well, we disable reporting that it's available,
but it looks like it still remains possible to get at it.

I'll dig some more tomorrow morning.

Dave.

2001-04-08 08:26:51

by Manfred Spraul

[permalink] [raw]
Subject: Re: P-III Oddity.

Just a guess:

Perhaps one bios is older and contains an older microcode patch?

Have you tried the microcode driver?

--
Manfred