kernel 2.6.6 - was Re: [plug] Sound card problem

Matt Kemner zombie at penguincare.com.au
Thu Jun 17 20:23:58 WST 2004


On Thu, 17 Jun 2004, quoth nofixed:

> I think the README file for debian 2.6.6 is a bit lacking.  There is
> no mention of 'make dep' as there was in previous releases.
>
> Also, according to the output from 'make help', dep is not listed as
> a target, and 'all' does vmlinuz, modules, and bzImage.

Since you are running Debian, you can make your life much easier by
apt-installing kernel-package and running

make-kpkg kernel_image

from your kernel source dir (after running "make menuconfig" or similar)

It will run the required make dep/clean/bzImage/modules etc commands and
build a nice neat little .deb package that you can then (if needed) copy
from machine to machine, and use "dpkg -i kernel-image-2.x.x....deb" to
install it - it includes the kernel, system map and modules, and will
automatically update lilo/grub for you (provided you haven't changed them
too much from Debian default)

You also have the added benefit that if you install one of the Debian
"external modules" packages (eg nvidia-kernel-source, cipe-source etc) you
can create debian packages of those to suit your kernel by typing

make-kpkg modules_image

after the make-kpkg kernel_image stage.

(you will need to untar the (eg) /usr/src/nvidia-kernel-source.tar.gz
first, so it creates a /usr/src/modules/nvidia-kernel)

Hope this helps

Regards,

 - Matt




More information about the plug mailing list