<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to compile a kernel for Ubuntu Karmic</title>
	<atom:link href="http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/</link>
	<description>Just my thoughts about things</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:12:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Jon Leighton</title>
		<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/#comment-9226</link>
		<dc:creator>Jon Leighton</dc:creator>
		<pubDate>Thu, 07 Oct 2010 02:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.avirtualhome.com/?p=486#comment-9226</guid>
		<description>Hi Peter -

I&#039;m trying to rebuild 2.6.31-22.65 generic-pae.  I&#039;m not modifying the configuration but I&#039;m applying a patch to net/sctp/transport.c.  After building the kernel, I get the 3 linux-*_all.deb files, but not the linux-header*.deb and linux-soruce*.deb files that correspond to the configuration I created.  I&#039;ve been through the process twice with the same result.  Do you have any suggestions for what might be going wrong?  Thanks.

- Jon</description>
		<content:encoded><![CDATA[<p>Hi Peter -</p>
<p>I&#8217;m trying to rebuild 2.6.31-22.65 generic-pae.  I&#8217;m not modifying the configuration but I&#8217;m applying a patch to net/sctp/transport.c.  After building the kernel, I get the 3 linux-*_all.deb files, but not the linux-header*.deb and linux-soruce*.deb files that correspond to the configuration I created.  I&#8217;ve been through the process twice with the same result.  Do you have any suggestions for what might be going wrong?  Thanks.</p>
<p>- Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pav</title>
		<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/#comment-9130</link>
		<dc:creator>Pav</dc:creator>
		<pubDate>Fri, 24 Sep 2010 12:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.avirtualhome.com/?p=486#comment-9130</guid>
		<description>Hello Peter.
Thank you for the reply.
I am not using git - all my changes are going to be local.

Unfortunately, even to see if there are any syntax errors in my new changes, I need to recompile to whole kernel and that s what is bothering me.

A simple makefile is capable of detecting source code changes - thats what it is meant  for. Not sure why ubuntu made it  so complicated - there is so much that goes under the hood but leaves out this simple and most important requirement!

Sorry to rant here, but I have already done 3 full compiles of the kernel since yesterday - I am new to kernel development, I cant generate the perfect code without going through few iterations!

Thanks a lot for trying to help.</description>
		<content:encoded><![CDATA[<p>Hello Peter.<br />
Thank you for the reply.<br />
I am not using git &#8211; all my changes are going to be local.</p>
<p>Unfortunately, even to see if there are any syntax errors in my new changes, I need to recompile to whole kernel and that s what is bothering me.</p>
<p>A simple makefile is capable of detecting source code changes &#8211; thats what it is meant  for. Not sure why ubuntu made it  so complicated &#8211; there is so much that goes under the hood but leaves out this simple and most important requirement!</p>
<p>Sorry to rant here, but I have already done 3 full compiles of the kernel since yesterday &#8211; I am new to kernel development, I cant generate the perfect code without going through few iterations!</p>
<p>Thanks a lot for trying to help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/#comment-9129</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 24 Sep 2010 12:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.avirtualhome.com/?p=486#comment-9129</guid>
		<description>Not sure why it wouldn&#039;t show up at boot time, unless you also have grub v2 installed and it&#039;s not added in that configuration.</description>
		<content:encoded><![CDATA[<p>Not sure why it wouldn&#8217;t show up at boot time, unless you also have grub v2 installed and it&#8217;s not added in that configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/#comment-9128</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 24 Sep 2010 12:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.avirtualhome.com/?p=486#comment-9128</guid>
		<description>If you add files or make changes you will have to commit them to the Git tree, otherwise they will be undone when you do a git reset.

I haven&#039;t found documents about incremental compiling a kernel, it might be possible but I wouldn&#039;t know about it.

For help I would start at http://kernel.org they have mail listings available where you can posts questions like adding your own file.</description>
		<content:encoded><![CDATA[<p>If you add files or make changes you will have to commit them to the Git tree, otherwise they will be undone when you do a git reset.</p>
<p>I haven&#8217;t found documents about incremental compiling a kernel, it might be possible but I wouldn&#8217;t know about it.</p>
<p>For help I would start at <a href="http://kernel.org">http://kernel.org</a> they have mail listings available where you can posts questions like adding your own file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pav</title>
		<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/#comment-9127</link>
		<dc:creator>Pav</dc:creator>
		<pubDate>Fri, 24 Sep 2010 07:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.avirtualhome.com/?p=486#comment-9127</guid>
		<description>I followed the above procedure to compile a new kernel based out of Karmic and I could even install and run it. Thanks a lot.
I have added my own stuff to the kernel code and there are some errors in it (doesn&#039;t interfere with the kernel&#039;s regular functionality - error happens only when I create a particular kind of socket).

Now to fix this error, I have made changes in udp.c, xfrm.h etc. And then issued the last command from your tutorial above
&quot;skipabi=true skipmodule=true fakeroot debian/rules binary-kvp&quot; 
I hoped that this would recompile the changed files - but it never does. I verified this by removing the corresponding .o files from debian/build/build-kvp/ path and they did get created on running the above command after my changes.

How do i do incremental compiles of the kernel src tree (after I have done the complete build once) without having to do complete clean and compile - this takes nearly 3hrs to run on my VirtualBox :(

Also, if i want to add a new file to the kernel source tree at say net/ipv4/myownfile.c - can I get it compiled by just adding it in the net/ipv4/Makefile under a specific config item that I know I would be selecting?

Can you point me to help-pages on these tips-tricks on kernel-developer&#039;s everyday life? Thanks a lot.

Regards
Pav</description>
		<content:encoded><![CDATA[<p>I followed the above procedure to compile a new kernel based out of Karmic and I could even install and run it. Thanks a lot.<br />
I have added my own stuff to the kernel code and there are some errors in it (doesn&#8217;t interfere with the kernel&#8217;s regular functionality &#8211; error happens only when I create a particular kind of socket).</p>
<p>Now to fix this error, I have made changes in udp.c, xfrm.h etc. And then issued the last command from your tutorial above<br />
&#8220;skipabi=true skipmodule=true fakeroot debian/rules binary-kvp&#8221;<br />
I hoped that this would recompile the changed files &#8211; but it never does. I verified this by removing the corresponding .o files from debian/build/build-kvp/ path and they did get created on running the above command after my changes.</p>
<p>How do i do incremental compiles of the kernel src tree (after I have done the complete build once) without having to do complete clean and compile &#8211; this takes nearly 3hrs to run on my VirtualBox <img src='http://blog.avirtualhome.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Also, if i want to add a new file to the kernel source tree at say net/ipv4/myownfile.c &#8211; can I get it compiled by just adding it in the net/ipv4/Makefile under a specific config item that I know I would be selecting?</p>
<p>Can you point me to help-pages on these tips-tricks on kernel-developer&#8217;s everyday life? Thanks a lot.</p>
<p>Regards<br />
Pav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: subhash pujari</title>
		<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/#comment-9043</link>
		<dc:creator>subhash pujari</dc:creator>
		<pubDate>Fri, 17 Sep 2010 15:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.avirtualhome.com/?p=486#comment-9043</guid>
		<description>Hi Peter,

I am new to linux enviornment. Thanks for the tutorial, I have followed all the step mentioned in the site and installed the new image of the linux kernel. Its showing in the grub.conf, but the new system its not showing in the boot time.</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>I am new to linux enviornment. Thanks for the tutorial, I have followed all the step mentioned in the site and installed the new image of the linux kernel. Its showing in the grub.conf, but the new system its not showing in the boot time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/#comment-7074</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sat, 01 May 2010 11:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.avirtualhome.com/?p=486#comment-7074</guid>
		<description>Take a look at this one:
http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/2010/04/16/compile-and-run-the-ubuntu-lucid-kernel-on-ubuntu-karmic/

I don&#039;t think it has changed for compiling a Lucid kernel on Lucid but I haven&#039;t had the chance to upgrade yet, projects have been keeping me busy.</description>
		<content:encoded><![CDATA[<p>Take a look at this one:<br />
<a href="http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/2010/04/16/compile-and-run-the-ubuntu-lucid-kernel-on-ubuntu-karmic/">http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/2010/04/16/compile-and-run-the-ubuntu-lucid-kernel-on-ubuntu-karmic/</a></p>
<p>I don&#8217;t think it has changed for compiling a Lucid kernel on Lucid but I haven&#8217;t had the chance to upgrade yet, projects have been keeping me busy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thai Dang Vu</title>
		<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/#comment-7073</link>
		<dc:creator>Thai Dang Vu</dc:creator>
		<pubDate>Sat, 01 May 2010 11:04:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.avirtualhome.com/?p=486#comment-7073</guid>
		<description>Now Lucid was out there. Is anybody willing to write something like this for 10.04?

Let me start with this:

- debian.master/scripts/misc/kernelconfig doesn&#039;t exist, but debian/scripts/misc/kernelconfig does

- in kernelconfig, there&#039;s this line: bindir=&quot;`pwd`/${DROOT}/scripts/misc&quot; I had to change it to bindir=&quot;`pwd`/${DROOT}/debian/scripts/misc&quot;

-  debian.master/scripts/misc/getabis doesn&#039;t exist, but  debian/scripts/misc/getabis does and it doesn&#039;t contain any line like this getall i386 generic generic-pae 386. So I cannot make any change to that file.

- I had to install these packages: binutils-dev, libelf-dev, asciidoc (wow, Need to get 359MB of archives.
After this operation, 562MB of additional disk space will be used.)

And finally, I got 
linux-doc_2.6.32-22.33_all.deb
linux-headers-2.6.32-22_2.6.32-22.33_all.deb
linux-headers-2.6.32-22-core2_2.6.32-22.33_i386.deb
linux-image-2.6.32-22-core2_2.6.32-22.33_i386.deb
linux-source-2.6.32_2.6.32-22.33_all.deb
linux-tools-common_2.6.32-22.33_all.deb</description>
		<content:encoded><![CDATA[<p>Now Lucid was out there. Is anybody willing to write something like this for 10.04?</p>
<p>Let me start with this:</p>
<p>- debian.master/scripts/misc/kernelconfig doesn&#8217;t exist, but debian/scripts/misc/kernelconfig does</p>
<p>- in kernelconfig, there&#8217;s this line: bindir=&#8221;`pwd`/${DROOT}/scripts/misc&#8221; I had to change it to bindir=&#8221;`pwd`/${DROOT}/debian/scripts/misc&#8221;</p>
<p>-  debian.master/scripts/misc/getabis doesn&#8217;t exist, but  debian/scripts/misc/getabis does and it doesn&#8217;t contain any line like this getall i386 generic generic-pae 386. So I cannot make any change to that file.</p>
<p>- I had to install these packages: binutils-dev, libelf-dev, asciidoc (wow, Need to get 359MB of archives.<br />
After this operation, 562MB of additional disk space will be used.)</p>
<p>And finally, I got<br />
linux-doc_2.6.32-22.33_all.deb<br />
linux-headers-2.6.32-22_2.6.32-22.33_all.deb<br />
linux-headers-2.6.32-22-core2_2.6.32-22.33_i386.deb<br />
linux-image-2.6.32-22-core2_2.6.32-22.33_i386.deb<br />
linux-source-2.6.32_2.6.32-22.33_all.deb<br />
linux-tools-common_2.6.32-22.33_all.deb</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wrightflyer</title>
		<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/#comment-7025</link>
		<dc:creator>Wrightflyer</dc:creator>
		<pubDate>Fri, 30 Apr 2010 09:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.avirtualhome.com/?p=486#comment-7025</guid>
		<description>As I said &quot;apt-get source linux-image-2.6.31-20-generic&quot; so it should be EXACTLY the same source that builds the linux-image-2.6.31-20-generic.deb that is in the Karmic repository.</description>
		<content:encoded><![CDATA[<p>As I said &#8220;apt-get source linux-image-2.6.31-20-generic&#8221; so it should be EXACTLY the same source that builds the linux-image-2.6.31-20-generic.deb that is in the Karmic repository.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/#comment-7009</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Thu, 29 Apr 2010 16:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.avirtualhome.com/?p=486#comment-7009</guid>
		<description>Where are you getting your kernel source from?</description>
		<content:encoded><![CDATA[<p>Where are you getting your kernel source from?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

