Building your own Kernel

Building your own Kernel - Building your own Kernel In the...

Info icon This 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.
Image of page 1

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

View Full Document Right 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
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 options you can configure.
Image of page 3

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

View Full Document Right Arrow Icon
Steps to build your own Kernel.
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern