insmod: ... wrong version or undefined

Michael Collins (mcollins@alpha.cs.uttyl.edu)
Tue, 3 Feb 1998 13:46:23 -0600 (CST)


I am running Red Hat 4.1 which I orginally installed from CDRom.

I tried to add a ppp connection to my machine, and in the process
I copied some files to my machine and rebuilt the kernel. Well I never
did get the ppp to work. I kept getting messages along the lines of ...
Feb 3 13:52 insmod: ... wrong version or undefined
and
Loading failed The module symbols (linux-2.0.27) don't match Linux 2.0.27.

So, I decided to go back to all modules and lib's from the CD. (I thought)
I used the
rpm -ivh /mnt/cdrom/SRPMS/*
instead of the CD's install program.

Then I built the kernel with:
make mrproper
make dep
make clean
make
make zImage
make modules
make modules_install
cp zImage and ran lilo.

Problem is this new kernel still gives me the same type messages when
loading and when I run ifconfig.

Can someone explain what is going on. Why do the modules and perhaps
lib routines not match the kernel.

Thanks,
Michael.