[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Module Errors!!



On Thu, 6 Mar 1997, Kael Rowan - CPTS666 wrote:

> I just installed a fresh version of Debian 1.2 on my Pentium 166 with
> hardly any modifications to the recommended setup in dselect, (except I
> chose to install the kernel source), and I just recompiled the kernel
> using it's default options almost exactly (except no SCSI support, etc),
> and keep getting these messages:
> 
> Running /etc/init.d/boot...
> 
> Activating swap...
> Checking root file system...
> Parallelizing fsck version 1.06 (7-Oct-96)
> /dev/hda2: clean, 15323/104040 files, 147108/415296 blocks
> Loading modules: vfat Initialization of vfat failed
> psaux kill_fasync: wrong version or undefined
> Loading failed! The module symbols (from linux-2.0.27) don't match your
> linux-2.0.27
> serial Serial driver version 4.13 with no serial options enabled
> tty00 at 0x03f8 (irq = 4) is a 16550A
> tty01 at 0x02f8 (irq = 3) is a 16550A
> 3c59x ether_setup: wrong version or undefined
> register_netdev: wrong version or undefined
> dev_kfree_skb: wrong version or undefined
> dev_alloc_skb: wrong version or undefined
> eth_type_trans: wrong version or undefined
> netif_rx: wrong version or undefined
> unregister_netdev: wrong version or undefined
> Loading failed! The module symbols (from linux-2.0.27) don't match your
> linux-2.0.27
> 
> I got those "wrong version or undefined" errors on another system as well
> so I just ended up removing all the lines in all my startup scripts that
> had the word module in them :)  What do I do???
> 

I assume in the compilation of the kernel you did basically the following 
steps,

        make config
        make dep
        make clean
        make zImage or make zlilo

followed by

        make modules
        make modules_install
        /sbin/depmod -a

You must make sure and complete the process by recompiling and installing 
the modules.  The depmod command at the end creates the dependencies file 
at /lib/modules/Kernel_Version/modules.dep  

The depmod should be run automatically by one of the startup scripts.  
But nice to do it by hand....

A better explanation of this is given in the file

/usr/src/kernel-source-2.0.27/Documentation/modules.txt


Scott


> 
> 


Reply to: