Author Topic: cham can't detect i5 "fsb"  (Read 4729 times)

0 Members and 1 Guest are viewing this topic.

doobz

  • Entrant
  • Posts: 1
cham can't detect i5 "fsb"
« on: October 11, 2009, 04:27:03 PM »
hello, in i386/libsaio/freq_detect.c, line 185 a model check must be added for "0x1e" in order for i5 to find correct "fsb"

Kabyl

  • VoodooLabs
  • Posts: 158
Re: cham can't detect i5 "fsb"
« Reply #1 on: October 11, 2009, 11:13:41 PM »
Code: [Select]
Index: i386/libsaio/freq_detect.c
===================================================================
--- i386/libsaio/freq_detect.c (revision 660)
+++ i386/libsaio/freq_detect.c (working copy)
@@ -182,7 +182,7 @@
  (cpu_family == 0x0f && cpu_model >= 0x03))
  {
  /* Nehalem CPU model */
- if (cpu_family == 0x06 && cpu_model == 0x1a)
+ if (cpu_family == 0x06 && (cpu_model == 0x1a || cpu_model == 0x1e))
  {
  msr = rdmsr64(MSR_PLATFORM_INFO);
  currcoef = (msr >> 8) & 0xff;

Thanks.

alakaboo

  • Entrant
  • Posts: 1
Re: cham can't detect i5 "fsb"
« Reply #2 on: November 11, 2009, 09:12:21 AM »
Patch enables vanilla 10.6.2 kernel to run on Lynnfield without a hitch. Hope it makes it into the next public build. Thanks.

zef

  • Administrator
  • Posts: 265
Re: cham can't detect i5 "fsb"
« Reply #3 on: November 11, 2009, 09:51:23 PM »
Hope it makes it into the next public build.

Yeah, Kabyl already committed this change into the repo.
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC