Vladimir Konrad <[EMAIL PROTECTED]> writes:

> Package: openafs-modules-source
> Version: 1.3.81
> Distro: Testing/Sarge (up to date as of 2005-05-15)
> Kernel version: 2.4.30

> When building OpenAFS modules for SMP kernel (2 processors) using
> "make-kpkg modules_image", the package gets built but none of the
> module(s) (openafs.o and openafs.mp.o) work in SMP kernel (in the single
> processor the openafs.o works). They load OK but afsd fails to start
> (error in basic initialisation). Also, both modules are the same size...

> When doing "./configure" + "make libafs" in /usr/src/modules/openafs,
> the modules get built and the MP version loads and works (afsd starts)
> in SMP kernel.

> My guess is that the "make-kpkg modules_image" incorrectly copies the SP
> module as MP module.

Only one module is supposed to be built by openafs-modules-source, namely
the module for the kernel that you're currently running, whether that's SP
or MP.  The other name is just a link to unconfuse old init scripts.

make only_libafs is what make-kpkg modules_image does.

Unless there's something changed just in 2.4.30, I have no idea what would
be causing your problem; I've done exactly what you've described on
multiple 2.4.x kernels, both SP and MP, and never had a problem.  I can
try later on a 2.4.30 kernel.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to