Peter, It's not that you have the wrong kernel source, it's that you have a different .config file and/or Makefile. Take a look in your /boot directory. There should be/may be a file in there called image.config or something like that which contains the configuration options used when building your running kernel. Do a diff on that file against the /usr/src/linux.config and see what if any differences pop up. Also, take a look at the Makefile in /usr/src/linux. You should see some lines that start with: VERSION = PATCHLEVEL = SUBLEVEL = EXTRAVERSION =
I suspect that what you'll see is VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 7 EXTRAVERSION = SMP If you change that last line to EXTRAVERSION = SuSE-SMP and get the c7000 module to recompile, you'll be home free. To get the module to recompile, do a find . -type f -name c7000.o -exec rm c7000.o \; then "make modules" again, followed by "make modules_install", "depmod -a" and the insmod command. Mark Post -----Original Message----- From: Peter E. Abresch Jr. - at Pepco [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 11:30 AM To: [EMAIL PROTECTED] Subject: Re: Linux CLAW Woes I copied c7000.o into the original modules directory and ran a dep ?a. I get the following: ibm9672:/ # insmod -f c7000 base0=0x5100 lhost0=PEPC uhost0=PEPCOCEC noauto=1 Using /lib/modules/2.4.7-SuSE-SMP/net/c7000.o Warning: kernel-module version mismatch /lib/modules/2.4.7-SuSE-SMP/net/c7000.o was compiled for kernel version 2.4.7-SMP while this kernel is version 2.4.7-SuSE-SMP which is what I guess we all expected. I issued the following: ibm9672:/usr/src/linux # grep CONFIG_MODVERSIONS .config # CONFIG_MODVERSIONS is not set which I guess is good. So this problem stems from the wrong source tree. I got the SuSE source tree from YaST option "D Development (C, C++, LISP,ETC.)". I then selected "Kernel Source ? The source of the SuSE Kernel". Should I be pulling the SuSE Kernel source from somewhere else? Am I issuing the commands from UTS README.1ST from the wrong directory? Thanks for any more ideas? Peter
