wiki:Software/fImages/cBuildingDrivers

Version 1 (modified by (none), 17 years ago) ( diff )

Go back —> Documentation

BuildingDrivers

This section will explain how you can build your own drivers using our baseline images. First, to save image space we have not provided the linux-headers package installed on the image. You can obtain this using apt. So first, determine your debian's kernel image:

node1-1:/usr/src# dpkg -l| grep image
ii  linux-image-2.6-686        2.6.18+5                        Linux kernel 2.6 image on PPro/Celeron/PII/P
ii  linux-image-2.6.18-3-686   2.6.18-7                        Linux 2.6.18 image on PPro/Celeron/PII/PIII/

Then, proceed to install the kernel headers and kbuild for this package:

apt-get install linux-headers-2.6.18-3-686 linux-kbuild-2.6.18
Note: See TracWiki for help on using the wiki.