2002-02-21 07:23:26

by Peter Hoeg

[permalink] [raw]
Subject: misdetection of pentium2 - very strange

gentlemen,

i have been receiving this message since the installation of debian potato
2.2r4 (kernel 2.2.19) and multiple 2.4.x kernels since then and it just doesn't
make sense. the computer is a compaq ep/sb series with a 333mhz p2 and
definately not a 133.

know this is not a critical error, but still annoying... am ofcourse willing to
test out any patches and if further info is needed please just shout.

please do cc me in on your replies (if any) as i don't subscribe to the list.

thanks in advance,
peter

====

dmesg:

Linux version 2.4.18-rc2 (peter@asilog-linux2) (gcc version 2.95.4 (Debian
prerelease)) #3 Thu Feb 21 19:21:37 SGT 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000c000000 (usable)
BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
On node 0 totalpages: 49152
zone(0): 4096 pages.
zone(1): 45056 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=linux ro root=301 devfs=mount
video=atyfb:1024x768@8
Initializing CPU#0
Detected 133.225 MHz processor.
Console: colour VGA+ 132x44
Calibrating delay loop... 265.42 BogoMIPS
Memory: 191116k/196608k available (1179k kernel code, 5104k reserved, 332k
data, 232k init, 0k highmem)
Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 0080f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After vendor init, caps: 0080f9ff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0080f9ff 00000000 00000000 00000000
CPU: Common caps: 0080f9ff 00000000 00000000 00000000
CPU: Intel Pentium II (Klamath) stepping 04
Checking 'hlt' instruction... OK.

/proc/cpuinfo:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 3
model name : Pentium II (Klamath)
stepping : 4
cpu MHz : 133.225
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 sep mtrr pge mca cmov mmx
bogomips : 265.42


2002-02-21 08:56:54

by Jos Hulzink

[permalink] [raw]
Subject: Re: misdetection of pentium2 - very strange


On Thu, 21 Feb 2002 [email protected] wrote:

> dmesg:
>
> Linux version 2.4.18-rc2 (peter@asilog-linux2) (gcc version 2.95.4 (Debian
> prerelease)) #3 Thu Feb 21 19:21:37 SGT 2002
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000000c000000 (usable)
> BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
> On node 0 totalpages: 49152
> zone(0): 4096 pages.
> zone(1): 45056 pages.
> zone(2): 0 pages.
> Kernel command line: auto BOOT_IMAGE=linux ro root=301 devfs=mount
> video=atyfb:1024x768@8
> Initializing CPU#0
> Detected 133.225 MHz processor.
> Console: colour VGA+ 132x44
> Calibrating delay loop... 265.42 BogoMIPS

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

It seems your CPU is actually running at 133 MHz. If I am right, the
bogomips value should be about 2x the clock frequency on this CPU and
kernel. Is the bogomips calculation influenced by the detected CPU speed ?
Can't check now.

Can it be your system runs in a low-power mode, or that the linux kernel
triggers a low-power mode ?

Jos

2002-02-21 09:57:37

by Peter Hoeg

[permalink] [raw]
Subject: Re: misdetection of pentium2 - very strange

Quoting Jos Hulzink <[email protected]>:

>
> On Thu, 21 Feb 2002 [email protected] wrote:
>
> > dmesg:
> >
> > Linux version 2.4.18-rc2 (peter@asilog-linux2) (gcc version 2.95.4
> (Debian
> > prerelease)) #3 Thu Feb 21 19:21:37 SGT 2002
> > Initializing CPU#0
> > Detected 133.225 MHz processor.
> > Calibrating delay loop... 265.42 BogoMIPS
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> It seems your CPU is actually running at 133 MHz. If I am right, the
> bogomips value should be about 2x the clock frequency on this CPU and
> kernel. Is the bogomips calculation influenced by the detected CPU speed
> ?
> Can't check now.
>
> Can it be your system runs in a low-power mode, or that the linux
> kernel triggers a low-power mode ?

the compaq setup utility (bios setup program) reports a 333mhz with a bus speed
of 66, so if something makes it enter a low-power mode it should be linux. but
no apm/acpi support is compiled in/as modules.

/peter

2002-02-21 10:40:21

by Rogier Wolff

[permalink] [raw]
Subject: Re: misdetection of pentium2 - very strange

[email protected] wrote:
> > > prerelease)) #3 Thu Feb 21 19:21:37 SGT 2002
> > > Initializing CPU#0
> > > Detected 133.225 MHz processor.
> > > Calibrating delay loop... 265.42 BogoMIPS

> > It seems your CPU is actually running at 133 MHz. If I am right, the

> the compaq setup utility (bios setup program) reports a 333mhz with
> a bus speed of 66, so if something makes it enter a low-power mode
> it should be linux. but no apm/acpi support is compiled in/as
> modules.

There has been a scam where the "133" in the BIOS was replaced by
"333" and the resulting machines were sold as faster than they
actually were...

You can count on it that with the above output, your CPU is running at
133 when Linux boots. It could be that the CPU is put in "slow" mode
if you run on the batteries. (Is it a laptop? I missed the beginning
of this thread).

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.