Building your own Kernel

Building your own - Building your own Kernel In the Linux Kernel 2.6 and above the system call table is not exported Also the size of the system

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Building your own Kernel In the Linux Kernel 2.6 and above, the system call table is not exported. Also, the size of the system call table is fixed and cannot be expanded from a KLM (Kernel Loadable Module) You will need to modify and build your own kernel.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Steps to build your own Kernel. See the instructions in: http://www.howopensource.com/2011/08/how-to-compile They are summarized next. 1. Become root and download the development and gcc packages if you don’t have them: % sudo bash % apt-get install gcc % apt-get install libncurses5-dev % sudo apt-get update && sudo apt-get upgrade
Background image of page 2
Steps to build your own Kernel. 2. Download the Ubuntu sources so you can compile them locally and untar them. %cd /usr/src % wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.bz2 %tar -xvf linux-3.0.tar.bz2 -C /usr/src/ % cd /usr/src/linux-3.0/ The Linux sources should be in /usr/src/linux-3.0 3. Configure UNIX Kernel. This tells UNIX what hardware modules to compile and other options. You may use the old configuration: % make oldconfig If this does not work. Use the menuconfig that is a GUI for all the
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Steps to build your own Kernel. 4. Now type make to build the kernel. It will take ~2hrs.
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/30/2012 for the course CS 354 taught by Professor Staff during the Fall '08 term at Purdue University-West Lafayette.

Page1 / 11

Building your own - Building your own Kernel In the Linux Kernel 2.6 and above the system call table is not exported Also the size of the system

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online