RE: [squid-users] ip_wccp problems

From: Steve Fischer <sfischer@dont-contact.us>
Date: Fri, 7 Nov 2003 13:58:49 -0500

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:bakers@web-ster.com]
Sent: Friday, November 07, 2003 1:03 PM
To: squid-users@squid-cache.org
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.

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

[root@localhost 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

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

[root@localhost 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

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

[root@localhost 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
bakers@web-ster.com - 503.266.8253
Received on Fri Nov 07 2003 - 11:58:52 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:11 MST