[OpenAFS] building openafs-modules on debian
Sun, 27 Jun 2010 20:24:35 -0700
david l goodrich <firstname.lastname@example.org> writes:
> It exists:
> # cat /usr/src/linux-headers-2.6.34-linode26/include/config/kernel.release
> But I don't know what that means for me. Use 1.4.12? Use an older
> kernel? Curl up in a ball and sob uncontrollably?
The kernel-version Perl script in the OpenAFS module package directory is
failing to extract a kernel version from your kernel headers. I'd try
running it by hand to see what it outputs and try to figure out why it's
failing. You could also add warn statements to it to make it more obvious
what it's doing.
The relevant code of the current Debian packages is:
# Find kernel build information.
KSRC = /usr/src/linux
KPKG_DEST_DIR = ..
KVERS := $(shell perl debian/kernel-version $(KSRC))
I don't know of anything that's specifically been fixed in later versions
of the OpenAFS packaging that may be related to what you're running into.
Usually when the module won't build against a custom kernel, it ends up
being something that wasn't built properly in the custom kernel build that
causes it to not look enough like the regular kernel headers.
Russ Allbery (email@example.com) <http://www.eyrie.org/~eagle/>