LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-12-2005, 10:44 PM   #1
anacharya
LQ Newbie
 
Registered: Feb 2005
Location: USA
Distribution: Mandrake Linux
Posts: 16

Rep: Reputation: 0
insmod errors


Hi,

I am trying to install Cisco VPN client 4.0.4A on Mandrake Linux 10.1 with kernel 2.6.8
I followed all the instructions to make it work and one fine day it suddenly stopped working.

When I do vpnclient connect myvpn It gives me error:

Could not attach to driver. Is kernel module loaded?
The application was unable to communicate with the VPN sub-system.

I then tried to re-install it and when I perform the following action

/etc/init.d/vpnclient_init start to start the service, I get the insmod error saying
insmod: error inserting '/lib/modules/2.6.8.1-12mdk/CiscoVPN/cisco_ipsec.ko': -1 File exists

I am not getting now what to do. the module cisco_ipsec does not show up in lsmod or in modprobe -l command.

Please help.

Thanks,
Anand.
 
Old 03-13-2005, 12:51 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Try running the insmod command directly from your shell. With any luck there will be an error message that states what the problem is. Have you perhaps updated your kernel recently but not updated that particular module?
 
Old 03-13-2005, 01:54 AM   #3
anacharya
LQ Newbie
 
Registered: Feb 2005
Location: USA
Distribution: Mandrake Linux
Posts: 16

Original Poster
Rep: Reputation: 0
Hi,

I tried running the insmod command from shell and here is the output :

insmod: error inserting '/lib/modules/2.6.8.1-12mdk/CiscoVPN/cisco_ipsec.ko': -1 File exists

It is same as the error I get while running the script.

I did not update my kernel, however, I re-installed the complete package and still I am getting the same error.

Anand.
 
Old 03-13-2005, 07:50 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

After trying the module insertion does "dmesg' command give you more info about what's wrong?
you can also try 'modinfo /lib/modules/2.6.8.1-12mdk/CiscoVPN/cisco_ipsec.ko' to see if the module accepts a debug option

Oliv'
 
Old 03-17-2005, 02:15 PM   #5
anacharya
LQ Newbie
 
Registered: Feb 2005
Location: USA
Distribution: Mandrake Linux
Posts: 16

Original Poster
Rep: Reputation: 0
There is no debug option provided with the module itself.
Is there any other way to check what might be going wrong? any log messgeses for system activities or so?

Anand.
 
Old 03-21-2005, 05:20 PM   #6
anacharya
LQ Newbie
 
Registered: Feb 2005
Location: USA
Distribution: Mandrake Linux
Posts: 16

Original Poster
Rep: Reputation: 0
Hey guys,

good news !! I got it to work finally.

It was the order of starting of the service at boot-up. the networking service should start after the vpn service starts. I changed the order in /etc/rc5.d/. Now the vpn service starts before the network service.

And now its working for me !!

I received few responses saying they were facing the same issue. Lets hope the solution will help them as well.

thanks,
Anand.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do insmod errors matter? arubin Slackware 2 11-10-2005 03:24 PM
breezy insmod errors flebber Ubuntu 0 09-29-2005 09:44 AM
New 2.4.25 kernel, insmod errors davidsrsb Slackware 3 02-27-2004 05:55 AM
2.6.2 fglrx insmod errors zigmund555 Slackware 16 02-11-2004 10:36 PM
insmod errors Dr.Swing Linux - Networking 5 10-09-2002 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration