<div dir="ltr"><b><i>sudo make install</i></b><div><b><i><br></i></b></div><div><b><i>reboot the OS</i></b></div><div><br></div><div>Don't use dpkg command. </div><div>I hope it will be useful. </div><div><br></div><div>
Br,</div><div>Norbi</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/8 Norbert Varga <span dir="ltr"><<a href="mailto:varga.norbert89@gmail.com" target="_blank">varga.norbert89@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Gábor!<br><br>I wrote a short HOWTO about the installation of the custom kernel. This is works fine for me on Ubuntu 12.04 (64 bit).<br>
<br>1. Download the kernel source<div><br><div> <i> <b>wget <a href="http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.x.tar.bz2" target="_blank">http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.x.tar.bz2</a></b></i></div>
<div><br></div>2. Copy the the current config contained in /boot directory<div><br></div><div> <b><i>wget <a href="http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.17.tar.bz2" target="_blank">http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.17.tar.bz2</a></i></b><br>
<div><br></div><div>3. You can configure the kernel with<b><i> make menuconfig</i></b></div></div></div><div><b><i><br></i></b></div>4. Patch the kernel <div> </div><div> <b><i> patch -p1 -d directory -i path_to_the_patch_file</i></b></div>
<div><i><br></i></div>5. Compile and install the kernel<div><br></div><div> sudo make</div><div> sudo make modules_install</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/8 Gábor Hegedüs <span dir="ltr"><<a href="mailto:hgabor1989@gmail.com" target="_blank">hgabor1989@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi!<div><br></div><div>I tried it again. Same error again.</div><div>I tried it without deb packeges (make,make modules, make headers_install, make install)</div>
<div>and i got the same error again: <a href="https://dl.dropboxusercontent.com/u/91011488/NG_makeall4.png" style="font-size:13px;font-family:arial,sans-serif" target="_blank">https://dl.dropboxusercontent.com/u/91011488/NG_makeall4.png</a></div>
<div>I copied the missing header file and I got other errors.</div><div><br></div><div>Here is what I type in the CLI:</div><div><br></div><div><div>git clone git://<a href="http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git" target="_blank">git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git</a></div>
<div>cd linux-stable/</div><div>git tag -l</div><div>git checkout 3.8.2</div><div>cd ..</div><div><br></div><div>patch -p1 -d linux-stable -i /home/mipv6/wakoond-mip6d-ng-e1627981bdcf/patches/kernel/3.8/kernel_xfrm6_raw.patch</div>
<div><br></div><div>cp /boot/config-3.5.0-17-generic .config</div><div>cd liux-stable/</div><div>yes '' | make oldconfig</div><div>make menuconfig</div><div><br></div><div>Networking support / Networking options</div>
<div><span style="white-space:pre-wrap"> </span>Transformation sub policy support ==><span style="white-space:pre-wrap"> </span>y/m</div><div>Networking support / Networking options / The IPv6 protocol</div><div>
<span style="white-space:pre-wrap"> </span>IPv6: Mobility ==><span style="white-space:pre-wrap"> </span>y/m</div><div><span style="white-space:pre-wrap"> </span>IPv6: XFRM raw IPv6 tunnel ==><span style="white-space:pre-wrap"> </span>y/m</div>
<div><br></div><div>make clean</div><div>make -j 5 deb-pkg LOCALVERSION=-mip6dng</div><div><br></div><div>sudo dpkg -i linux-image-3.8.2-mip6dng_3.8.2-mip6dng-*_i386.deb</div><div>sudo dpkg -i linux-headers-3.8.2-mip6dng_3.8.2-mip6dng-*_i386.deb</div>
</div><div><br></div><div>What is the problem with that?</div><div><br></div><div>Thanks,</div><div> Gábor</div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/6 BOKOR Laszlo <span dir="ltr"><<a href="mailto:goodzi@mcl.hu" target="_blank">goodzi@mcl.hu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi!<br>
<br>
Where have you performed the kernel setup in this workflow?<br>
<br>
Br,<br>
goodzi<br>
<br>
ps.: please choose reply all in order to always keep the list cc-d.<div><div><br>
<br>
--<br>
László BOKOR<br>
Budapest University of Technology and Economics (BME)<br>
Department of Networked Systems and Services (HIT)<br>
Tel: <a href="tel:%2B36-1-463-2048" value="+3614632048" target="_blank">+36-1-463-2048</a>, Fax: <a href="tel:%2B36-1-463-3263" value="+3614633263" target="_blank">+36-1-463-3263</a><br>
web: <a href="http://www.hit.bme.hu/~bokorl" target="_blank">http://www.hit.bme.hu/~bokorl</a><br>
<br>
On Fri, 6 Dec 2013, Gábor Hegedüs wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
I did not use make install.<br>
I followed the readme files and 5th and 6th<br>
steps are:<br>
<br>
5. Compiling kernel<br>
-------------------<br>
cd linux-stable<br>
make clean<br>
make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-mip6dng<br>
<br>
6. Installing the kernel<br>
------------------------<br>
sudo dpkg -i linux-image-<VERSION>-*_i386.<u></u>deb<br>
sudo dpkg -i linux-headers-<VERSION>-*_<u></u>i386.deb<br>
<br>
There is not make install so I did not use this.<br>
I thought it is not necessary because of the dpkg commands.<br>
I will start the kernel steps again and I will use make install before<br>
dpkg commands. Will it OK?<br>
<br>
Gábor<br>
<br>
<br>
<br>
<br>
2013/12/6 BOKOR Laszlo <<a href="mailto:goodzi@mcl.hu" target="_blank">goodzi@mcl.hu</a>><br>
<br>
Hi!<br>
<br>
Have you performed a make install after the kernel compilation? It seems that the new kernel's header files are not in<br>
their default place.<br>
<br>
Br,<br>
goodzi<br>
<br>
--<br>
László BOKOR<br>
Budapest University of Technology and Economics (BME)<br>
Department of Networked Systems and Services (HIT)<br>
Tel: <a href="tel:%2B36-1-463-2048" value="+3614632048" target="_blank">+36-1-463-2048</a>, Fax: <a href="tel:%2B36-1-463-3263" value="+3614633263" target="_blank">+36-1-463-3263</a><br>
web: <a href="http://www.hit.bme.hu/~bokorl" target="_blank">http://www.hit.bme.hu/~bokorl</a><br>
<br>
On Fri, 6 Dec 2013, Gábor Hegedüs wrote:<br>
<br>
<br>
Yes I find it in:/usr/scr/linux-3.8.2-<u></u>mip6dng/include/uapi/linux/<u></u>netconf.h<br>
<br>
What file can I overvrite to use this path?<br>
<br>
Thanks,<br>
Gábor<br>
<br>
<br>
2013/12/6 BOKOR Laszlo <<a href="mailto:goodzi@mcl.hu" target="_blank">goodzi@mcl.hu</a>><br>
<br>
Hello!<br>
<br>
Can you locate the questionable netconf.h file on your system?<br>
<br>
Br,<br>
goodzi<br>
<br>
--<br>
László BOKOR<br>
Budapest University of Technology and Economics (BME)<br>
Department of Networked Systems and Services (HIT)<br>
Tel: <a href="tel:%2B36-1-463-2048" value="+3614632048" target="_blank">+36-1-463-2048</a>, Fax: <a href="tel:%2B36-1-463-3263" value="+3614633263" target="_blank">+36-1-463-3263</a><br>
web: <a href="http://www.hit.bme.hu/~bokorl" target="_blank">http://www.hit.bme.hu/~bokorl</a><br>
<br>
On Fri, 6 Dec 2013, Gábor Hegedüs wrote:<br>
<br>
Hello Laci!<br>
It is already installed.<br>
<br>
Gabor<br>
<br>
<br>
2013/12/6 BOKOR Laszlo <<a href="mailto:goodzi@mcl.hu" target="_blank">goodzi@mcl.hu</a>><br>
<br>
Dear Gabor,<br>
<br>
try install linux-libc-dev.<br>
<br>
Best regards,<br>
goodzi<br>
<br>
--<br>
László BOKOR<br>
Budapest University of Technology and Economics (BME)<br>
Department of Networked Systems and Services (HIT)<br>
Tel: <a href="tel:%2B36-1-463-2048" value="+3614632048" target="_blank">+36-1-463-2048</a>, Fax: <a href="tel:%2B36-1-463-3263" value="+3614633263" target="_blank">+36-1-463-3263</a><br>
web: <a href="http://www.hit.bme.hu/~bokorl" target="_blank">http://www.hit.bme.hu/~bokorl</a><br>
<br>
On Fri, 6 Dec 2013, Gábor Hegedüs wrote:<br>
<br>
Hi All!<br>
I tryed ti install mip6d-ng with mak all install command after ./configuration.<br>
I get som errors. I linked the screenshots.<br>
<br>
The end od the ./configure command' output:<br>
<a href="https://dl.dropboxusercontent.com/u/91011488/NG_configure.png" target="_blank">https://dl.dropboxusercontent.<u></u>com/u/91011488/NG_configure.<u></u>png</a><br>
Make all install outputs:<br>
1: <a href="https://dl.dropboxusercontent.com/u/91011488/NG_makeall1.png" target="_blank">https://dl.dropboxusercontent.<u></u>com/u/91011488/NG_makeall1.png</a><br>
2: <a href="https://dl.dropboxusercontent.com/u/91011488/NG_makeall2.png" target="_blank">https://dl.<u></u>dropboxusercontent.com/u/<u></u>91011488/NG_makeall2.png</a><br>
3: <a href="https://dl.dropboxusercontent.com/u/91011488/NG_makeall3.png" target="_blank">https://dl.<u></u>dropboxusercontent.com/u/<u></u>91011488/NG_makeall3.png</a><br>
4: <a href="https://dl.dropboxusercontent.com/u/91011488/NG_makeall4.png" target="_blank">https://dl.<u></u>dropboxusercontent.com/u/<u></u>91011488/NG_makeall4.png</a><br>
<br>
I did not find netconf.h.<br>
<br>
What could be the problem?<br>
<br>
<br>
Thanks,<br>
Gábor<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>
</div></div><br></div></div>_______________________________________________<br>
Support mailing list<br>
<a href="mailto:Support@mip6d-ng.net" target="_blank">Support@mip6d-ng.net</a><br>
<a href="http://mcl.hu/mailman/listinfo/support" target="_blank">http://mcl.hu/mailman/listinfo/support</a><br></blockquote></div><br></div>
</blockquote></div><br></div>