(If you're using the Debian pre-built kernels, you need
to install the appropriate kernel-tree package to get the source tree.)
Uh, no. The right package to install to get the files for a pre-built debian kernel is the corresponding kernel-headers package. It is not always the case that the kernel-source and kernel-patch-debian packages contain the exact kernel source that the kernel-image packages contain. Especially on non-i386 arches, the kernel-image package can contain additional patches.

(so if you have kernel-image-2.4.27-2-386 installed, you install kernel-headers-2.4.27-2-386 and use /usr/src/kernel-headers-2.4.27-2-386 as the "kernel source" directory)

I would actually recommend the use of the module-assistant package for building modules fore pre-built kernels.

aptitude install module-assistant
module-assistant update
module-assistant prepare
module-assistant auto-install openafs

should build and install an appropriate openafs-modules package for the running kernel.

Attachment: p7sDrq1vIFAJL.p7s
Description: S/MIME cryptographic signature



Reply via email to