Insmod Errors with cvfs.o

Hello Everyone:

I am trying to install a module that is part of the StorNext Filesystem, which is a part of Apple's new XSAN system.  The module is released by adic (www.adic.com), and was created for Red Hat 7.2 (it was originally an RPM), but we are running Debian Stable.  (A simple info/tutorial sheet can be found at: http://afs.caspur.it/slab2003b/adic-details.html  the official document, enclosed with the packages is available for reading at: http://people.aero.und.edu/~scottj/README.txt )  We have tried running it with a debian custom 2.4.27 kernel, but according to the manufacturer, it requires a kernel 2.4.21 or prior.  So, I installed 2.4.21, and still get errors.  

I can compile it fine (We transferred the RPM to a CPIO file, and extracted part of the source...some of it is precompiled).  The problem is when I go to load it with insmod, this happens:

servername:/usr/local/src/adic/cvfsdist/linux/usr/cvfs/install# insmod -f cvfs.o
Warning: kernel-module version mismatch
        cvfs.o was compiled for kernel version 2.4.21-9.0.1.ELsmp
        while this kernel is version 2.4.21
Warning: loading cvfs.o will taint the kernel: no license
Warning: loading cvfs.o will taint the kernel: forced load
cvfs.o: init_module: Invalid argument
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters

My dmesg looks like this:

CVFS: Linux Interface Verification
CVFS: Build   kernel level = "2.4.21"
CVFS: Install kernel level = "2.4.21"
CVFS: entry 4 MISMATCH! name KIO_STATIC_PAGES build: offset 0 size 4 system: offset 0 size 129

And, my messages looks like:

Nov 15 16:10:22 servername kernel: CVFS: Linux Interface Verification
Nov 15 16:10:22 servername kernel: CVFS: Build   kernel level = "2.4.21"
Nov 15 16:10:22 servername kernel: CVFS: Install kernel level = "2.4.21"

Currently, adic does not support debian.  Thus, I am having a TON of trouble getting any answers from the manufacturer.  I think that the init_module error is fairly common, so I am wondering if anyone out there might have some suggestions I could try in order to resolve this, and *hopefully* get this module to load.

Thanks in advance,

~ace
LVL 1
TopaceAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wesly_chenCommented:
> cvfs.o was compiled for kernel version 2.4.21-9.0.1.ELsmp
This kernel version looks like RedHat Enterprise Linux 3.0 upgrade 1.

So if you want to fool cvfs.o for the current running kernel version, then
you might need to compile the kernel.

Edit /usr/sr/linux/Makefile to modify as
--
EXTRAVERSION = -9.0.1.ELsmp
---
Then compile the kernel.

   You can check the following URL for how-to compile kernel:
http://www.desktop-linux.net/debkernel.htm

Regards,

Wesly
0
The--CaptainCommented:
>Edit /usr/sr/linux/Makefile to modify as
>--
>EXTRAVERSION = -9.0.1.ELsmp
>---
>Then compile the kernel.

I think that might help if the module was refusing to load, but I don't think that's the case:

>Warning: loading cvfs.o will taint the kernel: no license
>Warning: loading cvfs.o will taint the kernel: forced load
>cvfs.o: init_module: Invalid argument

It sounds like it's loading anyway, but something is failing after that...

I'm guessing that compiling/installing the original source for kernel 2.4.21-9.0.1.ELsmp might be the most likely fix for this problem.

Cheers,
-Jon

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wesly_chenCommented:
> I'm guessing that compiling/installing the original source for kernel 2.4.21-9.0.1.ELsmp
2.4.21-9.0.1.ELsmp (EL: Enterprise Linux) is Redhat's kernel version number. I don't think you can get the source of
this version which work for Debian.

Wesly
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.