0% found this document useful (0 votes)
37 views1 page

Lore. It Serves As A Textbook, A Manual For Self-Study, and As A Reference and

There are many ways to compile the kernel (casi una per cada distribucion) debemos documentarnos muy bien antes de comenzar tan importante tarea, porque si se nos queda algun modulo excluido o incluido sin necesidad podria generar conflictos e incluso no funcionar correctamente. This tutorial assumes no previous knowledge of scripting or programming, but progresses rapidly toward an intermediate

Uploaded by

Toratti
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views1 page

Lore. It Serves As A Textbook, A Manual For Self-Study, and As A Reference and

There are many ways to compile the kernel (casi una per cada distribucion) debemos documentarnos muy bien antes de comenzar tan importante tarea, porque si se nos queda algun modulo excluido o incluido sin necesidad podria generar conflictos e incluso no funcionar correctamente. This tutorial assumes no previous knowledge of scripting or programming, but progresses rapidly toward an intermediate

Uploaded by

Toratti
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Existen muchas maneras de compilar el kernel (casi una por cada distribucin).

Esto significa que para cada distro, ya sea basada en Red Hat, Debian o Slackware, debemos documentarnos muy bien antes de comenzar tan importante tarea, porque si se nos queda algn mdulo excluido o incluido sin necesidad podra generar conflictos e incluso no funcionar correctamente.

Occasionally you may experience problems in a specific kernel module that requires a patch. Once patched, you can follow these directions to compile only the module affected, saving a bunch of time. Assume the following, for this example:

You are building a module for Ubuntu 3.2.0-21-generic kernel. Your source tree with the patched module is located in /usr/src/linuxsource-3.2.0 Your linux header source is located in /usr/src/linux-headers-3.2.0-21generic Your working folder ( where you are building the new module ) is /usr/src/mytree In this case, your EXTRAVERSION is -21-generic ( this is the specific flavor of the 3.2.0 kernel we are building ) this is important to note, and will be used later in this example. Now to create your working folder and change into it:
1 2
mkdir /usr/src/mytree cd /usr/src/mytree

This tutorial assumes no previous knowledge of scripting or programming, but progresses rapidly toward an intermediate/advanced level of instruction . . . all the while sneaking in little nuggets of UNIX wisdom and lore. It serves as a textbook, a manual for self-study, and as a reference and source of knowledge on shell scripting techniques. The exercises and heavilycommented examples invite active reader participation, under the premise that the only way to really learn scripting is to write scripts.

You might also like