Hi, using the defaulted Debian package, I installed OpenCV and get a complaint about a problematic CPU frequency. From the strace I could see that it is indeed /proc/cpuinfo that is consulted. And indeed, it reads 0.000 for the cpu MHz:
moeller@colinux:~/src$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 1
model name : Intel(R) Pentium(R) 4 CPU 1.80GHz
stepping : 2
cpu MHz : 0.000
cache size : 256 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 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 616.03
moeller@colinux:~/src$ uname -a
Linux colinux 2.6.12-co-0.7.1 #1 Sun Dec 10 13:28:43 CET 2006 i686 GNU/Linux
What could I do? At least google did not find this reported anywhere.
Fixed in last autobuild (kernel 2.6.22).
The patch can find in revision 665 subversion for all other kernels:
The change for 2.6.17 can find directly here:
Thanks for remembering.
The previous code was wrong. Using the MHz from windows registry now:
The last autobuild supports it. http://www.henrynestler.com/colinux/autobuild/
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.