LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-13-2006, 01:47 PM   #1
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL 5
Posts: 220

Rep: Reputation: 31
Cisco VPN Client unable to load kernel module in FC5


Good Day!

1st off i have done about 6 hours of resarch over the last couple days trying to figure this out. I had a very similiar issue with FC2 or FC3 a year and a half back. Please let me know if I am just missing something easy.

First my company requires the use of the Cisco VPN client so vpnc is not an option. i am running FC5, 2.6.17-1.2187_FC5smp.

Hereis the installation utilizing Cisco's installation script:
Code:
[root@fedora vpnclient]# ./vpn_install
Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer
Copyright (C) 1998-2005 Cisco Systems, Inc. All Rights Reserved. 

By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.


Directory where binaries will be installed [/usr/local/bin]

Automatically start the VPN service at boot time [yes]

In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.

For RedHat 6.x users these files are installed in /usr/src/linux by default 
For RedHat 7.x users these files are installed in /usr/src/linux-2.4 by default
For Suse 7.3 users these files are installed in /usr/src/linux-2.4.10.SuSE by default

Directory containing linux kernel source code []/usr/src/kernels/2.6.17- 1.2187_FC5-i686/

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.17-1.2187_FC5smp/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time. 
* Kernel source from "/usr/src/kernels/2.6.17-1.2187_FC5-i686/" will be used to build the module.

Is the above correct [y]y

Making module
make -C /usr/src/kernels/2.6.17-1.2187_FC5-i686/ SUBDIRS=/data/software/vpn/vpnclient modules 
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686'
  CC [M]  /data/software/vpn/vpnclient/linuxcniapi.o
  CC [M]  /data/software/vpn/vpnclient/frag.o
  CC [M]  /data/software/vpn/vpnclient/IPSecDrvOS_linux.o 
  CC [M]  /data/software/vpn/vpnclient/interceptor.o
/data/software/vpn/vpnclient/interceptor.c: In function 'handle_vpnup':
/data/software/vpn/vpnclient/interceptor.c:310: warning: assignment from incompatible pointer type 
/data/software/vpn/vpnclient/interceptor.c:334: warning: assignment from incompatible pointer type
/data/software/vpn/vpnclient/interceptor.c:335: warning: assignment from incompatible pointer type
/data/software/vpn/vpnclient/interceptor.c: In function 'do_cleanup': 
/data/software/vpn/vpnclient/interceptor.c:378: warning: assignment from incompatible pointer type
  CC [M]  /data/software/vpn/vpnclient/linuxkernelapi.o
  LD [M]  /data/software/vpn/vpnclient/cisco_ipsec.o
  Building modules, stage 2.
  MODPOST
WARNING: /data/software/vpn/vpnclient/cisco_ipsec.o - Section mismatch: reference to .init.text: from .data between 'interceptor_dev' (at offset 0x54) and 'interceptor_notifier' 
WARNING: could not find /data/software/vpn/vpnclient/.libdriver.so.cmd for /data/software/vpn/vpnclient/libdriver.so
  CC      /data/software/vpn/vpnclient/cisco_ipsec.mod.o
  LD [M]  /data/software/vpn/vpnclient/cisco_ipsec.ko 
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686'
Copying module to directory "/lib/modules/2.6.17-1.2187_FC5smp/CiscoVPN".
Already have group 'bin'

Creating start/stop script "/etc/init.d/vpnclient_init". 
    /etc/init.d/vpnclient_init
Enabling start/stop script for run level 3,4 and 5.
Creating global config /etc/opt/cisco-vpnclient

Installing license.txt (VPN Client license) in "/opt/cisco-vpnclient/": 

Installing bundled user profiles in "/etc/opt/cisco-vpnclient/Profiles/":
* New Profiles     : Australia Boston_Dialup_VPN Boston_VPN Dallas_Dialup_VPN_International_Users Dallas_Dialup_VPN Dallas_VPN_International_Users Dallas_VPN Harlow_Dialup_VPN_International_users Harlow_VPN_International_Users_via_Internet LAX_Dialup_VPN LAX_VPN sample Tucson_VPN Waltham_Woods_(local) 

Copying binaries to directory "/opt/cisco-vpnclient/bin".
Adding symlinks to "/usr/local/bin".
    /opt/cisco-vpnclient/bin/vpnclient
    /opt/cisco-vpnclient/bin/cisco_cert_mgr
    /opt/cisco-vpnclient/bin/ipseclog 
Copying setuid binaries to directory "/opt/cisco-vpnclient/bin".
    /opt/cisco-vpnclient/bin/cvpnd
Copying libraries to directory "/opt/cisco-vpnclient/lib".
    /opt/cisco-vpnclient/lib/libvpnapi.so 
Copying header files to directory "/opt/cisco-vpnclient/include".
    /opt/cisco-vpnclient/include/vpnapi.h

Setting permissions.
    /opt/cisco-vpnclient/bin/cvpnd (setuid root)
    /opt/cisco-vpnclient (group bin readable) 
    /etc/opt/cisco-vpnclient (group bin readable)
    /etc/opt/cisco-vpnclient/Profiles (group bin readable)
    /etc/opt/cisco-vpnclient/Certificates (group bin readable)
* You may wish to change these permissions to restrict access to root. 
* You must run "/etc/init.d/vpnclient_init start" before using the client.
* This script will be run AUTOMATICALLY every time you reboot your computer
After it is complete and I get run the vpnclient_init script I get this error message
Code:
sh ./vpnclient_init start
Starting /opt/cisco-vpnclient/bin/vpnclient: insmod: error inserting '/lib/modules/2.6.17- 1.2187_FC5smp/CiscoVPN/cisco_ipsec.ko': -1 Invalid module format
Failed (insmod)
Off the top of my head dmesg shows:
Code:
cisco_ipsec: disagrees about version of symbol struct_module
I found many users with this problem with a few different distro's, but no real answers. Cisco has nothing on this. My employer says I should take my windows laptop home and use that instead.....

One user got his VPN client to work with Ubuntu pathcing the interceptor.c file but it did not work for my version of the VPN Client. The patch won't work at all.

Full Post here:
Ubuntu Forum Post


Anyhelp would be greatly appreciated!
 
Old 10-14-2006, 07:06 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
You migth want to follow the advice from;

http://www.mcmaster.ca/uts/network/v...ient_linux.htm

.
 
Old 10-15-2006, 11:52 PM   #3
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL 5
Posts: 220

Original Poster
Rep: Reputation: 31
Thanks for the link, but I had found this and it does not shed any light on this issue. Thanks again.
 
Old 10-19-2006, 11:11 AM   #4
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL 5
Posts: 220

Original Poster
Rep: Reputation: 31
Ok So, I moved to Ubuntu and I am having the same exact problem. I am starting to wonder if I am specifying the right headers/source dir? I dunno, this is very perplexing. I seem to have stumped the community!

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to load the kernel module 'nvidia.ko' in FC5! saquib Fedora 2 02-18-2007 08:12 PM
Cisco VPN client unable to attach to driver Baracuda Linux - Networking 3 06-22-2006 11:45 PM
Cisco VPN client for FC5 saravkrish Fedora 1 03-24-2006 10:50 PM
Cisco VPN Client unable to insert kernel module cuco76 Linux - Networking 2 04-14-2005 04:36 PM
cisco vpn client 4.6 on FC3 unknown symbol in module tvmaly Linux - Software 1 02-22-2005 12:09 AM


All times are GMT -5. The time now is 09:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration