Linux and Modules

Linux and Modules

Post by Jack Downe » Fri, 10 Jan 1997 04:00:00



Hi,
        To anyone who is familiar with modules in Linux, I've got a questions for
you.

I have an i486DX4 100Mhz cpu, PCI bus, S3 Trio 64V+ w/2meg, 32 meg fast
page ram,  and a 2gig EIDE hd.  I originally put Debian 1.2 on with with
the standard kernel it comes with.  I decided to recompile because the
kernel seemed to me to be bloated and searched for far to much hardware
which I didn't have.  I compiled with a few modules - vfat & dos, iso9660,
and sound.  I compiled and installed th modules correctly.  I then ran
depmod -a and recieved about 50 lines with messages similar to this:   ***
Unresolved symbols in module /lib/modules/2.0.27/cdrom/sbpcd.o, with the
only differences being that the actual modules were different, eg. instead
of sbpcd.o it would be something like hpfs.o with the appropriate path.  I
figured that this was okay, because all the errors looked as if they were
in modules that I had said No to in the kernel config.  So I then ran the
next program (I can't remember the name of it, its right at the top of the
page when you type man depmod...) with a -l and it gave a bunch of nice
names corresponding mostly to the modules I had selected.  Good.  So I
restarted the machine and during boot up, after the message "Loading
Modules..." about 10 lines spring up similar to this:      January 8,
1997:insmod:Loading failed! The module symbols (from linux-2.0.27) don't
match your linux-2.0.27.  Although the messages were disconcerting,
everything that I wanted to work, did(pppd, all Internet stuff...ftp, etc).
 So later on I try to fix the prob and recompile with everything I can get
as a module, except the base file system and the first part of the
msdos/vfat fs stuff.
Again, I compiled and installed the modules according to directions. Still
got the same messages at boot-up, but now when I try any typ of internet
stuff, I get this message:  Sorry, this machine not PPP ready (something
similar anyway).  So i typed pppd just to see and got these messages:

slhc_ undefined
slhc_init undefined
slhc_toss undefined
slhc_uncompress undefined
slhc_remember undefined
slhc_compress undefined
Loading failed! The module symbols (from linux-2.0.27) don't match your
linux-2.0.27

I run depmod -a again, and get the same ***Unresolved symbols.... stuff
again

Only now most of the good Internet stuff no longer works.
The sound module still works and I can acces my Win95 drives btw.

Any help with this problem would be greatly appreciated!

Thanks in advance

Jack Downes