LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-07-2013, 10:53 AM   #1
hege1989
LQ Newbie
 
Registered: Dec 2013
Posts: 1

Rep: Reputation: Disabled
Kernel patchelés Ubuntu


Hi All!

I would like to install a program on Ubuntu 12.10.
I have to patch the kernel and I follow the guide at the buttom of the page.
I made all of steps but something wrong.
I get this output when I run ./configure command:
https://dl.dropboxusercontent.com/u/...G_makeall4.png

netconf.h is not at the right place. I found it at:
/usr/scr/linux-3.8.2-mip6dng/include/uapi/linux/netconf.h

Wat could be the problem?

Where can I type the commands os the 4th step? In linux-stable/ directory?

Thanks!

1. Tools you'll need
--------------------
sudo apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge kernel-package
sudo apt-get build-dep linux
sudo apt-get install git-core libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev

2. Getting the kernel source
-----------------------------
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git tag -l
git checkout

3. Patching
-----------
patch -p1 -d linux-stable -i /patches/kernel//*

4. Configuration
----------------
cp /boot/config-`uname -r` .config
yes '' | make oldconfig
make menuconfig
Networking support / Networking options
Transformation sub policy support ==> y/m
Networking support / Networking options / The IPv6 protocol
IPv6: Mobility ==> y/m
IPv6: XFRM raw IPv6 tunnel ==> y/m

5. Compiling kernel
-------------------
cd linux-stable
make clean
make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-mip6dng

6. Installing the kernel
------------------------
sudo dpkg -i linux-image--*_i386.deb
sudo dpkg -i linux-headers--*_i386.deb
 
Old 12-08-2013, 10:02 AM   #2
ProtossPn
Member
 
Registered: Dec 2013
Location: /dev/Paracin
Distribution: Fedora 20
Posts: 31

Rep: Reputation: Disabled
Why you don't try to install newest kernel? It's very easy if you follow this tutorial. http://www.upubuntu.com/2013/12/inst...l-3123-in.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can i add another kernel 2.4 in grub while kernel 2.6.31 of ubuntu 9.10 presence!!! baxzius Linux - Newbie 10 07-01-2010 04:21 PM
Kernel Booting Slow - initramfs - Ubuntu 7.04 Kernel 2.6.20 bench Linux - Kernel 3 09-11-2007 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration