RE: [squid-users] ip_wccp problems

This is a discussion on RE: [squid-users] ip_wccp problems within the Squid Users forums, part of the Web Server and Related Forums category; Try putting it in=20 /lib/modules/2.4.22 <or where the modules were = installed>/kernel/net/...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-07-2003
Steve Fischer
 
Posts: n/a
Default RE: [squid-users] ip_wccp problems

Try putting it in=20
/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]=20
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=20
system as follows

gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall =
-Wstrict-prototypes=20
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer =

-pipe -mpreferred-stack-boundary=3D2 -march=3Di686 -nostdinc =
-iwithprefix=20
include -DKBUILD_BASENAME=3Dsched -fno-omit-frame-pointer -c -o =
ip_wccp.o=20
ip_wccp.c

So now I have ip_wccp.o which I put in my /lib/modules/ directory, but =
it=20
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=20
version the module was compiled for
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o: insmod=20
/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=20
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=20
i386 GNU/Linux

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

Am I missing something here?


-----------------------------------
Scott Baker - Webster Internet
Network Engineer - RHCE
bakers@web-ster.com - 503.266.8253=20



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0