<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DEAN LEE:/DEV/BLOG &#187; IBM</title>
	<atom:link href="http://www.deanlee.cn/tag/ibm/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deanlee.cn</link>
	<description>mount /dev/brain &#124;&#124; tail -f /var/log/thoughts &#62;&#62; /pub/www</description>
	<lastBuildDate>Fri, 03 Sep 2010 04:03:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Compile the new 2.6.17 Linux kernel for IBM ThinkPad T43</title>
		<link>http://www.deanlee.cn/linux/compile-the-new-2617-linux-kernel-for-ibm-thinkpad-t43/</link>
		<comments>http://www.deanlee.cn/linux/compile-the-new-2617-linux-kernel-for-ibm-thinkpad-t43/#comments</comments>
		<pubDate>Thu, 24 Aug 2006 03:06:30 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[T43]]></category>
		<category><![CDATA[ThinkPad]]></category>

		<guid isPermaLink="false">http://deanlee.cn:8080/index.php/2006/08/24/compile-the-new-2617-linux-kernel-for-ibm-thinkpad-t43/</guid>
		<description><![CDATA[I just finished compiling the newest 2.6.17 Linux kernel and I am getting much better performance. In what follows, I will show you how to compile and configure the latest kernel for IBM Thinkpad T43. Before you begin, you will need to get a kernel Download the 2.6.17 kernel and it&#8217;s performance patch: The 2.6.17 [...]


Related posts:<ol><li><a href='http://www.deanlee.cn/linux/open_office_hang/' rel='bookmark' title='Permanent Link: Open Office无法正常启动的问题'>Open Office无法正常启动的问题</a></li><li><a href='http://www.deanlee.cn/wordpress/howtoconfigure-spell-check-with-fckeditor-plugin-for-wordpress/' rel='bookmark' title='Permanent Link: Howto:Configure Spell Check with FCKEditor Plugin for WordPress'>Howto:Configure Spell Check with FCKEditor Plugin for WordPress</a></li><li><a href='http://www.deanlee.cn/windows/alloc_performance/' rel='bookmark' title='Permanent Link: windows下内存分配方式的性能对比'>windows下内存分配方式的性能对比</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I just finished compiling the newest 2.6.17 Linux kernel and I am getting much better performance. In what follows, I will show you how to compile and configure the latest kernel for IBM Thinkpad T43.</p>
<p>Before you begin, you will need to get a kernel<br />
Download the 2.6.17 kernel and it&#8217;s performance patch: The 2.6.17 kernel<br />
Latest Kernel Patch</p>
<p>1. Install needed utilities to configure the kernel<br />
sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev<br />
2. Now we are going to move the kernel and unpack it.<br />
sudo cp linux-2.6.16.tar.bz2 /usr/src<br />
3. Now we are going to move to /usr/src<br />
cd /usr/src<br />
4. Now unpack it:<br />
sudo tar -xvjf linux-2.6.17.tar.bz2<br />
5. Rename the folder:<br />
sudo mv linux-2.6.17/ linux-2.6.17ck1<br />
6. Now we are going to remove the link to the linux directory:<br />
sudo rm -rf linux<br />
7. Make a new link to the new kernel:<br />
sudo ln -s /usr/src/linux-2.6.17ck1 linux<br />
8. Move to the Linux directory:<br />
cd /usr/src/linux<br />
9. Make yourself root:<br />
sudo -s -H<br />
10. Apply the performance patch:<br />
bzcat /home/$USER/patch-2.6.17-ck1.bz2| patch -p1<br />
11. Now we are going to import your current kernel configuration:<br />
uname -r<br />
12. Now import it: Make sure to replace the kernel version in this following command from the one from uname -r.<br />
sudo cp /boot/config-2.6.14-ck1 .config<br />
or you can download my .config file,full optmized for IBM T43</p>
<p>13.Configure the kernel:<br />
make xconfig<br />
14. Let&#8217;s build the kernel: Make sure that you are in /usr/src/linux with full root access. Make sure that you are. This will build a debian file that you can install.</p>
<p><span id="more-21"></span>Now, in terminal do the following:<br />
make-kpkg clean<br />
make-kpkg -initrd &#8211;revision=IBM+T43 kernel_image kernel_headers modules_image<br />
Note: You can replace &#8220;IBM+T43&#8243; with anything you want.</p>
<p>15. Install the .deb fine in /usr/src. In terminal do<br />
sudo dpkg -i<br />
Now reboot and you will have a much faster system !</p>
<p>16. Setup the HDAPS (IBM Hard Drive Active Protection System)</p>
<p>HDAPS is already included in kernel 2.6.14 and later,but not loaded by default.in terminal do the following:</p>
<p>sudo modprobe hdaps<br />
sudo echo hdaps >> /etc/modules<br />
sudo reboot</p>
<p>the hdaps is working now,if you having problems,check dmesg :</p>
<p>sudo dmesg |grep hdaps<br />
hdaps: IBM ThinkPad T43 detected.<br />
hdaps: initial latch check good (0&#215;01).<br />
hdaps: device successfully initialized.<br />
input: hdaps as /class/input/input3<br />
hdaps: driver successfully loaded.</p>
<p>17.install the monitor for hdaps<br />
download gnome-tilt at https://sourceforge.net/project/showfiles.php?group_id=138242<br />
in terminal do the following:<br />
sh ./configure<br />
make install</p>
<p>and add the tilt to System->Preference->Sessions->Startup Programs。</p>
<p>16. Colorzing the prompt<br />
This step is very simple. And can be endlessly customized if you so feel.<br />
Code:</p>
<p>cp ~/.bashrc ~/.bashrc_bak<br />
gedit ~/.bashrc</p>
<p>Look for the following:<br />
Code:</p>
<p># set a fancy prompt (non-color, unless we know we &#8220;want&#8221; color)<br />
case &#8220;$TERM&#8221; in<br />
xterm-color)<br />
PS1=&#8217;${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ &#8216;<br />
;;<br />
*)<br />
PS1=&#8217;${debian_chroot:+($debian_chroot)}\u@\h:\w\$ &#8216;<br />
;;<br />
esac</p>
<p># Comment in the above and uncomment this below for a color prompt<br />
PS1=&#8217;${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ &#8216;</p>
<p>and replace it with:<br />
Code:</p>
<p># set a fancy prompt (non-color, unless we know we &#8220;want&#8221; color)<br />
#case &#8220;$TERM&#8221; in<br />
#xterm-color)<br />
# PS1=&#8217;${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ &#8216;<br />
# ;;<br />
#*)<br />
# PS1=&#8217;${debian_chroot:+($debian_chroot)}\u@\h:\w\$ &#8216;<br />
# ;;<br />
#esac</p>
<p># Comment in the above and uncomment this below for a color prompt<br />
PS1=&#8217;${debian_chroot:+($debian_chroot)}\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[00m\]\$ &#8216;</p>
<img src="http://www.deanlee.cn/?ak_action=api_record_view&id=21&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.deanlee.cn/linux/open_office_hang/' rel='bookmark' title='Permanent Link: Open Office无法正常启动的问题'>Open Office无法正常启动的问题</a></li><li><a href='http://www.deanlee.cn/wordpress/howtoconfigure-spell-check-with-fckeditor-plugin-for-wordpress/' rel='bookmark' title='Permanent Link: Howto:Configure Spell Check with FCKEditor Plugin for WordPress'>Howto:Configure Spell Check with FCKEditor Plugin for WordPress</a></li><li><a href='http://www.deanlee.cn/windows/alloc_performance/' rel='bookmark' title='Permanent Link: windows下内存分配方式的性能对比'>windows下内存分配方式的性能对比</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/linux/compile-the-new-2617-linux-kernel-for-ibm-thinkpad-t43/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
