Difference between revisions of "Installing Gentoo on a ThinkPad X40"

From ThinkWiki
Jump to: navigation, search
(ipw2200 driver (intel wireless))
(CPU Undervolting: phc* now in Gentoo tree)
 
(10 intermediate revisions by one other user not shown)
Line 10: Line 10:
  
 
== Tips ==
 
== Tips ==
 +
=== laptop_mode and other power management tips ===
 +
http://www.gentoo.org/doc/en/power-management-guide.xml
 +
 +
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control
 +
<br>(note that if Fan Control doesn't seem to work anymore after a system update you may need to run pwmconfig again and select manual controls by answering "y" at the first question)
 +
 
=== CPU Undervolting ===
 
=== CPU Undervolting ===
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472
+
I've used phc with the hagan voltages found on : http://www.gentoo-wiki.info/Pentium_M/Undervolting
 +
which translate to the following phc vids :
 +
<pre>x40 ~ # cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids
 +
14 12 10 8 6 4 2 0
 +
</pre>
 +
 
 +
Note : some versions of linux 2.6.34 need to be patched for phc_intel to be loadable : http://www.linux-phc.org/forum/viewtopic.php?f=8&t=195
 +
 
 +
The packages sys-power/phctool and sys-power/phc-intel with support up to 2.6.36 were included in the main tree.
 
<br>(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )
 
<br>(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )
  
 +
=== x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine ===
 +
Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html
  
 
==External Sources==
 
==External Sources==

Latest revision as of 19:05, 7 November 2010

kernel compilation

ipw2200 driver (intel wireless nic)

don't forget to compile it as a module : http://bugs.gentoo.org/202557

zen kernel

tuxonice compression

cf http://en.gentoo-wiki.com/wiki/TuxOnIce :
select lzo compression in "make menuconfig"
change tuxonice.conf accordingly

Tips

laptop_mode and other power management tips

http://www.gentoo.org/doc/en/power-management-guide.xml

Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control
(note that if Fan Control doesn't seem to work anymore after a system update you may need to run pwmconfig again and select manual controls by answering "y" at the first question)

CPU Undervolting

I've used phc with the hagan voltages found on : http://www.gentoo-wiki.info/Pentium_M/Undervolting which translate to the following phc vids :

x40 ~ # cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids 
14 12 10 8 6 4 2 0 

Note : some versions of linux 2.6.34 need to be patched for phc_intel to be loadable : http://www.linux-phc.org/forum/viewtopic.php?f=8&t=195

The packages sys-power/phctool and sys-power/phc-intel with support up to 2.6.36 were included in the main tree.
(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )

x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine

Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html

External Sources