Results 1 to 4 of 4
I am looking to get a patch for the cisco vpnclient-linux for kernel version 2.6
.33
the latest patch I found was for kernel 2.6.31.
I have tried several things, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-19-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 6
cisco vpnclient-linux Patch for kernel 2.6.33
I am looking to get a patch for the cisco vpnclient-linux for kernel version 2.6
.33
the latest patch I found was for kernel 2.6.31.
I have tried several things, lastly these patches:
vpnclient-linux-2.6.19.diff
vpnclient-linux-2.6.22.diff
vpnclient-linux-2.6.24.diff
vpnclient-linux-2.6.31-final.diff
vpnclient-linux-4.8.02-64bit.patch
Here is the last error I am getting?
Making module
make -C /lib/modules/2.6.33-gentoo-r2/build SUBDIRS=/sfw/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.33-gentoo-r2'
CC [M] /sfw/vpnclient/linuxcniapi.o
/sfw/vpnclient/linuxcniapi.c:14:28: error: linux/autoconf.h: No such file or directory
make[2]: *** [/sfw/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/sfw/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33-gentoo-r2'
Any help would be greatly appreciated...
Thanks!!
- 07-19-2010 #2
I'm not too sure about the error but you could try creating a fake /usr/src/linux/autoconf.h file with this command as root.
You could also emerge/downgrade to the 2.6.31 kernel, since you already have a patch for that version.Code:touch /usr/src/linux/autoconf.h
Also, be sure that you use these commands to set your kernel version.
Code:eselect kernel list
Code:eselect kernel set (number)
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.
- 07-20-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 6
Cisco VPN client built with kernel 2.6.33 but crashing
I was able to build it by doing the following:
# tar xzf vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
# patch < ../vpnclient-linux-2.6.31-final.diff
patching file interceptor.c
# patch < ../vpnclient-linux-4.8.02-64bit.ge.2.6.31.patch
patching file interceptor.c
# patch < ../vpnclient-linux-4.8.02-64bit.patch
patching file Makefile
patching file frag.c
patching file interceptor.c
Hunk #1 succeeded at 657 (offset 20 lines).
Hunk #2 succeeded at 695 (offset 20 lines).
Hunk #3 succeeded at 815 (offset 20 lines).
patching file linuxcniapi.c
patching file linuxkernelapi.c
# make
make -C /lib/modules/2.6.33-gentoo-r2/build SUBDIRS=/sfw/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.33-gentoo-r2'
CC [M] /sfw/vpnclient/linuxcniapi.o
CC [M] /sfw/vpnclient/frag.o
CC [M] /sfw/vpnclient/IPSecDrvOS_linux.o
CC [M] /sfw/vpnclient/interceptor.o
/sfw/vpnclient/interceptor.c: In function 'interceptor_init':
/sfw/vpnclient/interceptor.c:140: warning: assignment discards qualifiers from pointer target type
CC [M] /sfw/vpnclient/linuxkernelapi.o
LD [M] /sfw/vpnclient/cisco_ipsec.o
Building modules, stage 2.
MODPOST 1 modules
CC /sfw/vpnclient/cisco_ipsec.mod.o
LD [M] /sfw/vpnclient/cisco_ipsec.ko
make[1]: Leaving directory `/usr/src/linux-2.6.33-gentoo-r2'
beast vpnclient # ./vpn_install
Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 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 [no]
In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.
Directory containing linux kernel source code [/lib/modules/2.6.33-gentoo-r2/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.33-gentoo-r2/CiscoVPN".
* The VPN service will *NOT* be started automatically at boot time.
* Kernel source from "/lib/modules/2.6.33-gentoo-r2/build" will be used to build the module.
Is the above correct [y]
Making module
make -C /lib/modules/2.6.33-gentoo-r2/build SUBDIRS=/sfw/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.33-gentoo-r2'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-2.6.33-gentoo-r2'
Create module directory "/lib/modules/2.6.33-gentoo-r2/CiscoVPN".
Copying module to directory "/lib/modules/2.6.33-gentoo-r2/CiscoVPN".
Already have group 'bin'
Creating start/stop script "/etc/init.d/vpnclient_init".
/etc/init.d/vpnclient_init
Creating global config /etc/opt/cisco-vpnclient
Installing license.txt (VPN Client license) in "/opt/cisco-vpnclient/":
/opt/cisco-vpnclient/license.txt
Installing bundled user profiles in "/etc/opt/cisco-vpnclient/Profiles/":
* New Profiles : sample
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.
* You will need to run this script every time you reboot your computer.
But when I try to run it, I get the following:
# /usr/local/bin/vpnclient connect ixx
Cisco Systems VPN Client Version 4.8.01 (0640)
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.33-gentoo-r2 #7 SMP Sat Jul 17 11:39:10 EDT 2010 x86_64
Config file directory: /etc/opt/cisco-vpnclient
The application was unable to communicate with the VPN sub-system.
beast Desktop # dcvpnd: timeout; process not responding, exiting.
^C
beast Desktop #
beast jblake # ^C
beast jblake # ^C
beast jblake # ^C
beast jblake # cvpnd: timeout; process not responding, exiting.
^C
beast jblake # ^C
beast jblake #
log file:
101.170528] BUG: unable to handle kernel paging request at ffffffff8165e3f0
[ 101.170544] IP: [<ffffffffa0af6972>] add_netdev+0x7e/0xcc [cisco_ipsec]
[ 101.170579] PGD 1a0a067 PUD 1a0e063 PMD 80000000016001e1
[ 101.170590] Oops: 0003 [#1] SMP
[ 101.170596] last sysfs file:
/sys/devices/pci0000:00/0000:00:1c.5/0000:09:00.0/net/eth0/carrier
[ 101.170604] CPU 0
[ 101.170614] Pid: 5226, comm: cvpnd Tainted: P 2.6.33-gentoo-r2
#7 0JM680/Precision M6300
[ 101.170621] RIP: 0010:[<ffffffffa0af6972>] [<ffffffffa0af6972>]
add_netdev+0x7e/0xcc [cisco_ipsec]
[ 101.170647] RSP: 0018:ffff88011fb03d18 EFLAGS: 00010202
[ 101.170653] RAX: 0000000000000010 RBX: ffff88011eaa0000 RCX:
ffffffff8165e3d0
[ 101.170659] RDX: 0000000000000000 RSI: ffffffff81326d4d RDI:
00000000000005dc
[ 101.170666] RBP: ffff88011fb03d18 R08: ffffffffa0b37470 R09:
00000000ffc31b28
[ 101.170672] R10: ffff88011fb02000 R11: ffff88011fb03d18 R12:
0000000000000000
[ 101.170678] R13: 00000000000089f1 R14: ffff88011fb03dc8 R15:
ffff88011fb03e88
[ 101.170686] FS: 0000000000000000(0000) GS:ffff880028200000(0063)
knlGS:00000000f7648b10
[ 101.170693] CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b
[ 101.170699] CR2: ffffffff8165e3f0 CR3: 0000000119dce000 CR4:
00000000000006f0
[ 101.170705] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 101.170712] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
0000000000000400
[ 101.170719] Process cvpnd (pid: 5226, threadinfo ffff88011fb02000, task
ffff88011fb7c4a0)
[ 101.170724] Stack:
[ 101.170727] ffff88011fb03d48 ffffffffa0af6d06 ffff88011fb03d58
ffff88011fb03dc8
[ 101.170736] <0> ffff88011fb03dc8 00000000ffc31ad0 ffff88011fb03d78
ffffffff8140abbb
[ 101.170745] <0> ffff88011fb03d78 ffffffff000089f1 ffff88011fb03d78
ffffffff81bfd8e0
[ 101.170756] Call Trace:
[ 101.170780] [<ffffffffa0af6d06>] interceptor_ioctl+0x1b1/0x2ab
[cisco_ipsec]
[ 101.170794] [<ffffffff8140abbb>] dev_ifsioc+0x271/0x28d
[ 101.170802] [<ffffffff8140b1ae>] dev_ioctl+0x5d7/0x65f
[ 101.170812] [<ffffffff810bf155>] ? do_wp_page+0x5a5/0x661
[ 101.170821] [<ffffffff813f7dc7>] ? might_fault+0x9/0xb
[ 101.170830] [<ffffffff813f8bea>] compat_sock_ioctl+0x933/0xa56
[ 101.170839] [<ffffffff813f969a>] ? sock_alloc_file+0xcd/0x12e
[ 101.170848] [<ffffffff810de1f4>] ? fd_install+0x31/0x5d
[ 101.170859] [<ffffffff81115923>] compat_sys_ioctl+0x1cf/0x3a0
[ 101.170869] [<ffffffff8102b0cf>] sysenter_dispatch+0x7/0x2e
[ 101.170874] Code: 89 8a 70 74 b3 a0 8b b9 7c 01 00 00 89 ba 98 74 b3 a0
48 8b b1 58 01 00 00 48 8b 76 20 48 89 b0 78 74 b3 a0 48 8b 89 58 01 00 00
<48> c7 41 20 39 73 af a0 48 8b 0d 57 21 04 00 48 89 88 70 74 b3
[ 101.170941] RIP [<ffffffffa0af6972>] add_netdev+0x7e/0xcc [cisco_ipsec]
[ 101.170965] RSP <ffff88011fb03d18>
[ 101.170969] CR2: ffffffff8165e3f0
[ 101.170976] ---[ end trace 12c7b495614805bc ]---
I am assuming something didn't build properly.
Can anyone help?
Thanks
Jamie
- 08-29-2010 #4Just Joined!
- Join Date
- Aug 2010
- Posts
- 2
Jamie you find a fix for this? I running a m6300 as well and getting the exact same paging fault


Reply With Quote
