[Netkit.users] installing Open vSwitch in Netkit

Julien Iguchi-Cartigny julien.cartigny at unilim.fr
Thu Sep 9 06:24:55 CEST 2010


Forgot one thing: kernel and fs are compiled with a lot of MPLS stuff,
which can complicate your task (with tc for instance). I build a lenny
fs free for MPLS, could be a good idea:

http://kartoch.msi.unilim.fr/blog/?p=30

Cheers,

Julien.

On 09/09/2010 06:22 AM, Julien Iguchi-Cartigny wrote:
> On 09/09/2010 12:02 AM, Ashish Agarwal wrote:
>> 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:
>>
>> $NETKIT_HOME/kernel/modules/lib/modules/2.6.26.5-netkit-K2.8/build
>>
>> and I don't have to apply the patches myself. However, my machines crash on
>> boot up with this kernel. I guess that's a new thread.
> 
> You mean netkit + open vswitch patches or just the kernel compiled with
> the Makefile.devel from kernel/ directory ?
> 
> BTW, did you see that open vswitch has a user space implementation, less
> efficient but which should be OK for teaching ?
> 
> I'm very interested by using open vswitch in netkit. Please keep posting
> news about it...
> 
> Cheers,
> 
> Julien.
> 
>  
>>
>> On Wed, Sep 8, 2010 at 3:21 PM, Massimo Rimondini
>> <rimondin at dia.uniroma3.it>wrote:
>>
>>>  Dear Ashish,
>>>
>>> I meant a vanilla kernel, which is the clean package provided on the
>>> official web site:
>>> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.5.tar.bz2
>>> This is where the Netkit kernel actually starts from.
>>>
>>> Debian packages for kernel headers sometimes contain customizations and may
>>> be restricted to specific version numbers, as you have noticed.
>>>
>>> Regards,
>>> Massimo.
>>>
>>>
>>> On 09/08/2010 08:55 PM, Ashish Agarwal wrote:
>>>
>>> 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'm confused. Can someone please tell me exactly where to
>>> get the necessary header files? Thank you.
>>>
>>>
>>> On Wed, Sep 8, 2010 at 10:35 AM, Ashish Agarwal <agarwal1975 at gmail.com>wrote:
>>>
>>>> ~# apt-get install linux-headers-2.6.26.5
>>>> Reading package lists... Done
>>>> Building dependency tree
>>>> Reading state information... Done
>>>> E: Couldn't find package linux-headers-2.6.26.5
>>>>
>>>>  Which package do I need?
>>>>
>>>>
>>>> On Wed, Sep 8, 2010 at 3:58 AM, Massimo Rimondini <
>>>> rimondin at dia.uniroma3.it> wrote:
>>>>
>>>>> Dear Ashish,
>>>>>
>>>>> indeed, kernel headers are not distributed with Netkit.
>>>>> However, you can obtain them by getting a vanilla kernel package with
>>>>> matching version number (2.6.26.5) and by applying the patches from the
>>>>> applicable directory of the Netkit kernel package.
>>>>>
>>>>> Regards,
>>>>> Massimo.
>>>>>
>>>>>
>>>>>
>>>>> From: netkit.users-bounces at list.dia.uniroma3.it
>>>>> [mailto:netkit.users-bounces at list.dia.uniroma3.it] On Behalf Of Ashish
>>>>> Agarwal
>>>>> Sent: Tuesday, September 07, 2010 10:00 PM
>>>>> To: Users of the Netkit Network Emulation System
>>>>> Subject: Re: [Netkit.users] installing Open vSwitch in Netkit
>>>>>
>>>>> To clarify, uname -r on my netkit machine gives 2.6.26.5-netkit-K2.8.
>>>>> Thus,
>>>>> I'm assuming that the standard linux headers are not what I need.
>>>>>
>>>>> On Tue, Sep 7, 2010 at 3:18 PM, Ashish Agarwal <agarwal1975 at gmail.com>
>>>>> wrote:
>>>>> I am trying to install Open vSwitch [1] into a Netkit image. Their build
>>>>> script requires me to specify the path to the kernel build directory,
>>>>> usually /lib/modules/`uname -r`/build. However, there is no such
>>>>> directory
>>>>> in the images distributed by Netkit. Does anyone know how I can get these
>>>>> files? Thank you.
>>>>>
>>>>> [1] http://openvswitch.org/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  _______________________________________________
>>>>> Netkit.users mailing list
>>>>> Netkit.users at list.dia.uniroma3.it
>>>>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Netkit.users mailing listNetkit.users at list.dia.uniroma3.ithttp://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Netkit.users mailing list
>> Netkit.users at list.dia.uniroma3.it
>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
> 
> 
> 
> _______________________________________________
> Netkit.users mailing list
> Netkit.users at list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: julien_cartigny.vcf
Type: text/x-vcard
Size: 328 bytes
Desc: not available
URL: <http://list.dia.uniroma3.it/pipermail/netkit.users/attachments/20100909/20d91eed/attachment.vcf>


More information about the Netkit.users mailing list