AMD Processors
Decrease font size
Increase font size
Topic Title: [Linux] Turion undervolting
Topic Summary:
Created On: 09/26/2006 10:12 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 09/26/2006 10:12 AM
User is offline View Users Profile Print this message

Author Icon
Angelus
Newbie

Posts: 36
Joined: 10/07/2003

My powernow-k8 can sense these steps:

xemanth@Xemanth:~$ dmesg | grep powernow-k8
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.2)
powernow-k8: 0 : fid 0xa (1800 MHz), vid 0x4 (1450 mV)
powernow-k8: 1 : fid 0x8 (1600 MHz), vid 0x6 (1400 mV)
powernow-k8: 2 : fid 0x0 (800 MHz), vid 0x16 (1000 mV)

The main problem is with vid 0x0 800 MHz, I want to use even lower mV. I know that in windows I can run my Acer 5024wlmi Turion ML-34 stable with 925 mV

Could you experts guide me how can I do same in linux... /rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />

-------------------------
Enthusiast GNU|Linux user



Server: Intel P4 2.4 GHz, 7200.7 40 Gb, 1.5 Gigs of DDR1 RAM, Single fan cooling Noctua NF-S12
 09/28/2006 12:57 AM
User is offline View Users Profile Print this message

Author Icon
Angelus
Newbie

Posts: 36
Joined: 10/07/2003

Hey any linux experts here who could help me ?

-------------------------
Enthusiast GNU|Linux user



Server: Intel P4 2.4 GHz, 7200.7 40 Gb, 1.5 Gigs of DDR1 RAM, Single fan cooling Noctua NF-S12
 10/08/2006 08:47 AM
User is offline View Users Profile Print this message

Author Icon
Kupak
Member

Posts: 45
Joined: 01/17/2006

Google is your friend. This looks like what you're trying to do: http://katherina.student.utwen...atth...dervolting.html
 10/10/2006 02:00 PM
User is offline View Users Profile Print this message

Author Icon
newhren
Junior Member

Posts: 3
Joined: 10/10/2006

also, if you want to be able to redefine P-states dynamically, without the need to recompile the DSDT (and the kernel) every time, take a look at cpupw. You would probably need to use this utility anyway, to find the lowest stable VIDs. Of course, you can find them with RMClock under Window$, but I don't like the fact that we need to use Window$ to do something in Linux . Also, if you do use RMClock, take into account the 100mV discrepancy. One more thing: this cpupw utility doesn't work (at least for me, I have ubuntu 6.06 with gcc 4.0.3). But here is the patch:
CODE
--- libmsr.c.orig       2006-04-08 10:43:03.000000000 -0400
+++ libmsr.c    2006-10-03 20:47:00.000000000 -0400
@@ -34,15 +34,14 @@
   ssize_t rread;

   sprintf (cpuname, "/dev/cpu/%d/msr", cpu);
-  fd = open (cpuname, O_RDONLY);
+  fd = open64 (cpuname, O_RDONLY);

   if (fd == -1) {
     // Print error
     return -1;
   }

-  lseek (fd, index, SEEK_SET);
-  rread = read (fd, val, 8);
+  rread = pread64 (fd, val, 8, index);
   close (fd);

   if (rread < 0)
@@ -71,15 +70,14 @@
   ssize_t rwrite;

   sprintf(cpuname, "/dev/cpu/%d/msr", cpu);
-  fd = open (cpuname, O_WRONLY);
+  fd = open64 (cpuname, O_WRONLY);
   if (fd == -1)
     {
       // Print error
       return -1;
     }

-  lseek (fd, index, SEEK_SET);
-  rwrite = write (fd, val, 8);
+  rwrite = pwrite64 (fd, val, 8, index);
   close (fd);
   return rwrite;
}
@@ -91,7 +89,7 @@
   int fd;

   sprintf (cpuname, "/dev/cpu/%d/msr", cpu);
-  fd = open (cpuname, O_RDONLY);
+  fd = open64 (cpuname, O_RDONLY);

   if (fd == -1) {
     return 0;
@@ -107,7 +105,7 @@
   int fd;

   sprintf (cpuname, "/dev/cpu/%d/msr", cpu);
-  fd = open (cpuname, O_WRONLY);
+  fd = open64 (cpuname, O_WRONLY);

   if (fd == -1) {
     return 0;
 10/14/2006 04:05 PM
User is offline View Users Profile Print this message

Author Icon
newhren
Junior Member

Posts: 3
Joined: 10/10/2006

Also, you might want to take a look at http://wejp.k.vu/projects/howto_cnq_athlon_64_x2/
Statistics
112018 users are registered to the AMD Processors forum.
There are currently 0 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2014 FuseTalk Inc. All rights reserved.



Contact AMD Terms and Conditions ©2007 Advanced Micro Devices, Inc. Privacy Trademark information