<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Youri,<br>
<br>
what you are trying to achieve is not very easy, considering that
some of the Netkit components are, unfortunately yet undoubtedly,
a bit outdated, and this applies also to the kernel.<br>
<br>
It is a good choice to build your custom module by relying on an
already installed kernel source tree but, as you see, you may
encounter two mismatches:<br>
- on the kernel release<br>
- on the kernel target architecture (supposedly the host's)<br>
<br>
Instead, I suggest you to download the correct version of the
kernel sources from
<a class="moz-txt-link-freetext" href="https://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.tar.xz">https://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.tar.xz</a>,
recompile it for the User Mode architecture (see the instructions
at <a class="moz-txt-link-freetext" href="http://wiki.netkit.org/download/netkit-kernel/README">http://wiki.netkit.org/download/netkit-kernel/README</a>), then add
your custom module to this build.<br>
<br>
Regards,<br>
Massimo<br>
<br>
</tt><br>
<div class="moz-cite-prefix">Il 14/02/2017 10:56, Youri Korostelev
ha scritto:<br>
</div>
<blockquote
cite="mid:CAAN830rHETPeQM-y7DyCFvGfiJHY==0T=-faB_ip4NWjWsLt8A@mail.gmail.com"
type="cite">
<div dir="ltr"><br clear="all">
<div>Hello,<br>
<br>
I am currently working on netkit for a project,on a ubuntu
virtualbox with the 2.6.32-74 version.<br>
I've written a kernel module to hook packets with netfilter,
and i'd like to load it on my netkit routers.<br>
However, i get the following error: (Version magic
'2.6.32-74-generic SMP mod_unload modversions 586 ' should be
'2.6.26.5-netkit-K2.8 mod_unload") whenever i try the insmod
command, since the kernel versions are different.<br>
I am looking for a way to build my kernel module for the
netkit kernel, from my host machine. <br>
Is it possible and how can i do so ? i've tried modifying the
makefile in usr/src/ but it did not change the issue, maybe i
haven't tried the right things.<br>
<br>
Thanks for you advice and help.<br>
<br>
<br>
The error:<br>
<img src="cid:part1.7699F714.E9D3A8F6@dia.uniroma3.it"
alt="Images intégrées 1" height="68" width="508"></div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div style="font-size:small">-------------------------------------------------------------<br>
</div>
<div style="font-size:small"><font face="tahoma, sans-serif">Youri
Korostelev<br>
</font></div>
<div style="font-size:12.8px">
<div dir="ltr" style="font-size:small">
<div><font face="tahoma, sans-serif"><font size="2">Élève
Ingénieur 3</font><sup><span
style="line-height:12.2667px"><font size="2">ème</font></span></sup> année
<div style="display:inline"></div>
<div style="display:inline">, spécialisé en
logiciel embarqué</div>
</font></div>
<span style="font-size:13px"><font face="tahoma,
sans-serif">Telecom Nancy - Université de Lorraine<br>
Responsable Bar & Staff - Club Intégration
(2015)</font></span></div>
<div dir="ltr" style="font-size:small"><font face="tahoma,
sans-serif">Responsable Communication - Club Cinéma
(2015)<br>
</font></div>
<div><font style="font-size:small" face="tahoma,
sans-serif">Responsable Partenariats - Bureau des
élèves <br>
</font><font face="tahoma, sans-serif"><span
style="font-size:13px">Responsable Communication
-Club Événements </span></font><font
style="font-size:small" face="tahoma, sans-serif"><br>
</font></div>
<div style="font-size:small"><font face="tahoma,
sans-serif"><br>
</font></div>
<div dir="ltr" style="font-size:small"><font face="tahoma,
sans-serif"><span style="font-size:10pt">Tél : 06 14
07 95 08</span></font></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Netkit.users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a>
<a class="moz-txt-link-freetext" href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>
</pre>
</blockquote>
<br>
</body>
</html>