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:
giovanni bracco <[log in to unmask]>
Reply To:
giovanni bracco <[log in to unmask]>
Date:
Wed, 3 Nov 2004 16:16:33 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (58 lines)
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"
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

Giovanni
--
Giovanni Bracco
ENEA INFO
(Servizio Informatica e Reti)
Via E. Fermi 45
I-00044 Frascati (Roma) Italy
phone 00-39-06-9400-5597
FAX   00-39-06-9400-5735
E-mail  [log in to unmask]
WWW http://fusfis.frascati.enea.it/~bracco

ATOM RSS1 RSS2