Try putting it in 
/lib/modules/2.4.22 <or where the modules were installed>/kernel/net/ipv4

That's where my ip_wccp modules ended up when I compiled it during kernel
compilation...

The ip_wccp-2_4_18.patch this is available from
http://squid.visolve.com/developments/wccpv2.htm

can be applied to the kernel, and it makes this much, much easier.  At least
I've found it so.

Regards,

Steve Fischer

-----Original Message-----
From: Scott Baker [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 07, 2003 1:03 PM
To: [EMAIL PROTECTED]
Subject: [squid-users] ip_wccp problems

I compiled my own kernel (2.4.22) and the ip_wccp module on my RedHat 9 
system as follows

gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
-pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix 
include -DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -c -o ip_wccp.o 
ip_wccp.c

So now I have ip_wccp.o which I put in my /lib/modules/ directory, but it 
will NOT load to save my life.

-------------------------------------------

[EMAIL PROTECTED] linux]# modprobe ip_wccp
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o: couldn't find the kernel 
version the module was compiled for
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o: insmod 
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o failed
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o: insmod ip_wccp failed

-------------------------------------------

[EMAIL PROTECTED] linux]# insmod /lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o: couldn't find the kernel 
version the module was compiled for

-------------------------------------------

[EMAIL PROTECTED] linux]# uname -a
Linux localhost.localdomain 2.4.22 #5 Wed Nov 5 09:37:47 PST 2003 i686 i686 
i386 GNU/Linux

-------------------------------------------

Am I missing something here?


-----------------------------------
Scott Baker - Webster Internet
Network Engineer - RHCE
[EMAIL PROTECTED] - 503.266.8253 



Reply via email to