On Wed, 2 Jun 2010 13:54:34 +0300
"[email protected] " <[email protected]> wrote:

> Hi,
> 
> On OpenBSD 4.7, my dmesg output has the following alerts:
> 
> cpu1: unknown i686 model 0x1e, can't get bus clock (0x0)
> cpu2: unknown i686 model 0x1e, can't get bus clock (0x0)
> cpu3: unknown i686 model 0x1e, can't get bus clock (0x0)
> 
> Is this a normal alert? Any idea?
> 
> My CPU is an Intel Core i5 750 @ 2.67 Ghz,
> It is a "ASUS P7H55-M SI" computer.
> 
> I've sent the following details to [email protected];
> 
> dmesg, sysctl hw, sysctl hw.sensors outputs are here:
> 
> http://pastebin.com/raw.php?i=BUm5ENvv
> 
> Thanks.
> 

For speedstep you need something ___similar___ to this.
Didn't bother to look up the supported fsbfreqs, just remembered
something bout 133MHz base clock. (check intel site or code and adapt)
Atleast this should get you an idea where the love is needed.


Index: est.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/amd64/est.c,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 est.c
--- est.c       20 Apr 2010 22:05:41 -0000      1.19
+++ est.c       2 Jun 2010 19:13:14 -0000
@@ -216,6 +216,19 @@ p3_get_bus_clock(struct cpu_info *ci)
                        break;
                }
                break;
+       case 0x1e: /* Intel Core i5 */
+               msr = rdmsr(MSR_FSB_FREQ);
+               bus = (msr >> 0) & 0x7;
+               switch (bus) {
+               case 1:
+                       bus_clock = BUS133;
+                       break;
+               default:
+                       printf("%s: unknown Core i5 FSB_FREQ value %d",
+                           ci->ci_dev->dv_xname, bus);
+                       break;
+               }
+               break;
        default:
                printf("%s: unknown i686 model 0x%x, can't get bus clock\n",
                    ci->ci_dev->dv_xname, ci->ci_model);

Reply via email to