SCIENTIFIC-LINUX-USERS Archives

November 2004

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Wed, 3 Nov 2004 13:10:48 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (62 lines)
giovanni bracco wrote:
> We use SL on a IBM x445, 4 cpu, 8 G RAM, kernel, 2.4.21-15.0.4.ELsmp and it
> works nicely.
> I have added the support of the "802.1d Ethernet Bridging" (kernel module
> "bridge") and "Universal TUN/TAP device driver support" (kernel module "tun")
> and they work nicely too, but when the module is loaded the following message
> appears:
>
> /usr/src/linux-2.4> /sbin/insmod bridge
> Using /lib/modules/2.4.21-15.0.4.ELsmp/kernel/net/bridge/bridge.o
> Warning: kernel-module version mismatch
>         /lib/modules/2.4.21-15.0.4.ELsmp/kernel/net/bridge/bridge.o was
> compiled for kernel version 2.4.21-15.0.4.ELsmp
>         while this kernel is version 2.4.21-15.0.4.ELsmp
> Warning: loading /lib/modules/2.4.21-15.0.4.ELsmp/kernel/net/bridge/bridge.o
> will taint the kernel: forced load
>   See http://www.tux.org/lkml/#export-tainted for information about tainted
> modules
> Module bridge loaded, with warnings
>
> As you can see the message is not so clear:
>
> "....compiled for kernel version 2.4.21-15.0.4.ELsmp
>       while this kernel is version 2.4.21-15.0.4.ELsmp..."
>
> Any suggestion to get rid of it?
>
> To add the modules I followed this (in the case of bridge module):
>
> 1) install the source rpm: kernel-source-2.4.21-15.0.4.EL.i386.rpm
> 2) cd /usr/scr/linux-2.4
> 3) cp  configs/kernel-2.4.21-i686-smp.config .config
> 4) make distclean
> 5) make mrproper
> 6) make menuconfig, where I have selected "Neworking options" on then "802.1d
> Ethernet Bridging" [m]
> 7) Edit Makefile : EXTRAVERSION=-15.0.4smp, that is I have removed "custom"
> and added "smp"

Just two comments to make sure.
1) Don't you mean EXTRAVERSION=-15.0.4.ELsmp
2) Do you by any chance have a space after EXTRAVERSION=-15.0.4.ELsmp ?  I'm
just wondering if somewhere along the line, a space is getting into the equation.

> 8) make dep
> 9) make modules SUBDIRS=net/bridge
> 10) mkdir /lib/modules/2.4.21-15.0.4.ELsmp/kernel/net/bridge
> 11) cp net/bridge/bridge.o  /lib/modules/2.4.21-15.0.4.ELsmp/kernel/net/bridge
> 12) chmod 0644 /lib/modules/2.4.21-15.0.4.ELsmp/kernel/net/bridge/bridge.o
> 13) depmod -a
>
> Bye
>

Troy Dawson

--
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/CSS  CSI Group
__________________________________________________

ATOM RSS1 RSS2