Ah.. thanks. I also realized a potentially easier way to do all this. I simply compiled a kernel using the Makefile provided by Netkit. This generates the files I need in:<div><br></div><div>$NETKIT_HOME/kernel/modules/lib/modules/2.6.26.5-netkit-K2.8/build</div>

<div><br></div><div>and I don&#39;t have to apply the patches myself. However, my machines crash on boot up with this kernel. I guess that&#39;s a new thread.</div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br>

</span></div><div><br><div class="gmail_quote">On Wed, Sep 8, 2010 at 3:21 PM, Massimo Rimondini <span dir="ltr">&lt;<a href="mailto:rimondin@dia.uniroma3.it">rimondin@dia.uniroma3.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




  
  

<div bgcolor="#ffffff" text="#000000">
<tt>Dear Ashish,<br>
<br>
I meant a vanilla kernel, which is the clean package provided on the
official web site:<br>
<a href="http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.5.tar.bz2" target="_blank">http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.5.tar.bz2</a><br>
This is where the Netkit kernel actually starts from.<br>
<br>
Debian packages for kernel headers sometimes contain customizations and
may be restricted to specific version numbers, as you have noticed.<br>
<br>
Regards,<br><font color="#888888">
Massimo.<br>
<br>
</font></tt><div><div></div><div class="h5"><br>
On 09/08/2010 08:55 PM, Ashish Agarwal wrote:
<blockquote type="cite">I posted to the debian-users list, and apparently there is
no kernel with version 2.6.26.5. Indeed, this is apparently not even
the versioning scheme used by Debian. So I&#39;m confused. Can someone
please tell me exactly where to get the necessary header files? Thank
you.
  <div><br>
  <br>
  <div class="gmail_quote">On Wed, Sep 8, 2010 at 10:35 AM, Ashish
Agarwal <span dir="ltr">&lt;<a href="mailto:agarwal1975@gmail.com" target="_blank">agarwal1975@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
    <div>~# apt-get install linux-headers-2.6.26.5</div>
    <div>Reading package lists... Done</div>
    <div>Building dependency tree       </div>
    <div>Reading state information... Done</div>
    <div>E: Couldn&#39;t find package linux-headers-2.6.26.5</div>
    <div><br>
    </div>
    <div>Which package do I need?</div>
    <div>
    <div>
    <div><br>
    </div>
    <br>
    <div class="gmail_quote">On Wed, Sep 8, 2010 at 3:58 AM, Massimo
Rimondini <span dir="ltr">&lt;<a href="mailto:rimondin@dia.uniroma3.it" target="_blank">rimondin@dia.uniroma3.it</a>&gt;</span>
wrote:<br>
    <blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Dear
Ashish,<br>
      <br>
indeed, kernel headers are not distributed with Netkit.<br>
However, you can obtain them by getting a vanilla kernel package with<br>
matching version number (2.6.26.5) and by applying the patches from the<br>
applicable directory of the Netkit kernel package.<br>
      <br>
Regards,<br>
Massimo.<br>
      <br>
      <br>
      <br>
From: <a href="mailto:netkit.users-bounces@list.dia.uniroma3.it" target="_blank">netkit.users-bounces@list.dia.uniroma3.it</a><br>
[mailto:<a href="mailto:netkit.users-bounces@list.dia.uniroma3.it" target="_blank">netkit.users-bounces@list.dia.uniroma3.it</a>]
On Behalf Of Ashish<br>
Agarwal<br>
Sent: Tuesday, September 07, 2010 10:00 PM<br>
To: Users of the Netkit Network Emulation System<br>
Subject: Re: [Netkit.users] installing Open vSwitch in Netkit<br>
      <div>
      <div><br>
To clarify, uname -r on my netkit machine gives 2.6.26.5-netkit-K2.8.
Thus,<br>
I&#39;m assuming that the standard linux headers are not what I need.<br>
      <br>
On Tue, Sep 7, 2010 at 3:18 PM, Ashish Agarwal &lt;<a href="mailto:agarwal1975@gmail.com" target="_blank">agarwal1975@gmail.com</a>&gt;<br>
wrote:<br>
I am trying to install Open vSwitch [1] into a Netkit image. Their build<br>
script requires me to specify the path to the kernel build directory,<br>
usually /lib/modules/`uname -r`/build. However, there is no such
directory<br>
in the images distributed by Netkit. Does anyone know how I can get
these<br>
files? Thank you.<br>
      <br>
[1] <a href="http://openvswitch.org/" target="_blank">http://openvswitch.org/</a><br>
      <br>
      <br>
      <br>
      <br>
      </div>
      </div>
_______________________________________________<br>
Netkit.users mailing list<br>
      <a href="mailto:Netkit.users@list.dia.uniroma3.it" target="_blank">Netkit.users@list.dia.uniroma3.it</a><br>
      <a href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users" target="_blank">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a><br>
    </blockquote>
    </div>
    <br>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  </div>
  <pre><fieldset></fieldset>
_______________________________________________
Netkit.users mailing list
<a href="mailto:Netkit.users@list.dia.uniroma3.it" target="_blank">Netkit.users@list.dia.uniroma3.it</a>
<a href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users" target="_blank">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>
  </pre>
</blockquote>
</div></div></div>

</blockquote></div><br></div>