Bug #20061 build script can not detect my cpu
Submitted: 25 May 2006 5:29 Modified: 24 Jan 2007 20:34
Reporter: Anru Chen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:mysql 5.2 OS:Linux (linux 2.4.27)
Assigned to: Daniel Fischer CPU Architecture:Any

[25 May 2006 5:29] Anru Chen
Description:
tried to build mysql server on my laptop running mandrake , with linux kernel 2.4.27,
the check-cpu script can not detect my cpu type:

run cat /proc/cpuinfo got following result:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Celeron(R) M processor         1.40GHz
stepping        : 8
cpu MHz         : 1396.566
cache size      : 64 KB
physical id     : 0
siblings        : 1
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 clflush dts acpi mmx fxsr sse sse2 ss tm pbe
runqueue        : 0

bogomips        : 2785.28

How to repeat:
need to run on a machine which out put "model name      : Intel(R) Celeron(R) M processor         1.40GHz"

Suggested fix:
looked at check-cpu script, probably need to add *Celeron(R)*M* to cpu detection code?
[25 May 2006 6:30] Hartmut Holzgraefe
Verified, the BUILD/check-cpu script only checks for "Pentium*" patterns
and doesn't know about Celeron* at all
[20 Dec 2006 16:42] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/17229

ChangeSet@1.2587, 2006-12-20 17:42:44+01:00, df@kahlann.erinye.com +1 -0
  BUG#20061 build script can not detect my cpu
[24 Jan 2007 15:56] Daniel Fischer
Pushed to 5.1.15.
[24 Jan 2007 18:41] Joerg Bruehe
Pushed to 4.1.23 and 5.0.36.
[24 Jan 2007 20:34] Paul DuBois
Noted in 4.1.23, 5.0.36, 5.1.15 changelogs.

The BUILD/check-cpu script did not recognize Celeron processors.