FreeBSD Port: devcpu-0.8.2_1
Markus Strobl
markus.strobl at gmx.at
Sun Jan 20 14:25:44 PST 2008
Hi Stanislav,
few days ago, i write you a mail over my problem with the devcpu kernelmodul. I want to set a msr for undervolting a amd x2 cpu.
Now I use the following patch for cpu.c:
--- workO/devcpu-0.8.2/cpu/cpu.c 2007-07-20 00:30:18.000000000 +0200
+++ work/devcpu-0.8.2/cpu/cpu.c 2008-01-18 23:59:32.000000000 +0100
@@ -230,7 +230,8 @@
("[cpu,%d]: bad cpu number %d", __LINE__, cpu));
/* Explicitly clear cpuid data to avoid returning stale info */
- data->data = 0;
+ if (cmd == CPU_RDMSR)
+ data->data = 0;
DPRINTF("[cpu,%d]: operating on MSR %#0x for %d cpu\n", __LINE__, \
data->msr, cpu);
Undervolting with a amd X2 cpu works now fine :-).
Best regards
Markus
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
More information about the freebsd-ports
mailing list