[squid-users] What else can I try? ip_wccp compilation / load issue

From: Richard Stern <richardstern@dont-contact.us>
Date: Mon, 04 Sep 2006 13:52:35 +0000

Hi All,
looking to do transparent caching using Squid and Cisco routers. Getting
hung up on setting up the wccp module. Not planning on using gre, although
would consider doing that way if ip wccp module does not work out.

I have read numerous posts / blogs etc on the subject, mostly by (Henrik
Nordstrom) but I cannot seem to get the ip_wccp module to work!

When I try to do modprobe ip_wccp I get:

Symptom: Fatal: Error inserting ip_wccp (/lib/modules/2.6.15-
1.2054_FC5/kernel/lib/ip_wccp.ko): Invalid Module Format

Environment:
Kernel 2.6.15-1.2054_FC5 (redhat fedora core 5)
ip_wccp-1.7 from http://www.squid-cache.org/WCCP-support/Linux/

Steps taken:
Downloaded and rebuilt kernel from source
Rebooted

Method A:
unpacked wccp tar
Used the Makefile that came with ip_wccp-1.7

cp ip_wccp.ko /lib/modules/2.6.8/kernel/net/ipv4 [substitute my path]

edit modules dep file (vi /lib/modules/2.6.8/modules.dep) and add the
following line: /lib/modules/2.6.8/kernel/net/ipv4/ip_wccp.ko:

Method B:
delete previous .ko files
unpack ip_wccp.tar to a folder
cd /usr/src/linux
replaced Makefile with "obj-m += ip_wccp.o"
make M=/path/to/above/directory modules modules_install [substitute my path]
depmod -a
modprobe ip_wccp
(FATAL Module not found)
copy files to above mentioned locations
error as above happens again

Any advice would be appreciated. Do I need to downgrade my kernel?

Rich
Received on Mon Sep 04 2006 - 07:52:49 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT