nnpfs invalid module format

Tomas Olsson tol at stacken.kth.se
Wed Jan 26 09:51:01 CET 2005


Andrew Walters <awalter1 at nd.edu> writes:
> insmod: error inserting '/usr/arla/bin/nnpfs.ko': -1 Invalid module format
>
Generalizing slightly, nnpfs needs to be linked against the exact same
kernel that you are running, with the same compiler and .config etc. This
is due to the Linux insmod trying to avoid modules possibly built in ways
incompatible with the kernel itself. So you need to get a (sufficiently)
full kernel tree for for each kernel you'll run and point configure at it
using
  --with-sys=dir          use dir as your kernel source code directory
                          default $default_sys
and rebuild. It normally tries to build against the running kernel. The sad
part is that one needs to keep kernel, gcc, and arla in sync.

Any luck?

/t





More information about the Arla-drinkers mailing list