[Bug 7968] Cisco vpnclient crashes the kernel
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Wed Apr 13 19:59:44 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=7968
Ubuntu | linux
------- Additional Comments From venky_here at yahoo.com 2005-04-13 20:59 UTC -------
i tried the workarounds mentioned here:
http://www.linuxquestions.org/questions/history/270805
the ones by "urr" (on incompatible pointer type warnings) and a patch by
slacker775. i applied both these fixes and it's working cool!
btw, i'm running the latest 2.6.10-686 on hoary and am using 4.6.00.0045-k9
(In reply to comment #0)
> I tried compiling the Cisco vpnclient (4.6.00.0045-k9) as a module for
> 2.6.10-5-686 (2.6.10-28), and the module loads fine but when trying to use it by
> running "vpnclient" the machine dies. If I add the module in /etc/modules,
> modprobe segfaults on boot and machine dies. I've been using the module on
> Debian with 2.6 kernels since 2.6.8 (hand built from vanilla sources, latest
> being 2.6.11-rc2) without such problems.
>
> I built the module by first installing linux-kernel-headers, then copied
> /boot/config... as /usr/src/linux-headers../.config (otherwise the module
> wouldn't load because of version-string mismatch) and then ran vpn_install from
> the client tarball. The build process went like this
>
> ---
>
> Making module
> make -C /usr/src/linux SUBDIRS=/home/tjaalton/vpnclient modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.10-5'
> CC [M] /home/tjaalton/vpnclient/linuxcniapi.o
> CC [M] /home/tjaalton/vpnclient/frag.o
> CC [M] /home/tjaalton/vpnclient/IPSecDrvOS_linux.o
> CC [M] /home/tjaalton/vpnclient/interceptor.o
> /home/tjaalton/vpnclient/interceptor.c: In function `recv_ip_packet_handler':
> /home/tjaalton/vpnclient/interceptor.c:607: warning: passing arg 1 of
> `skb_checksum_help' from incompatible pointer type
> /home/tjaalton/vpnclient/interceptor.c: In function `do_cni_send':
> /home/tjaalton/vpnclient/interceptor.c:732: warning: passing arg 1 of
> `skb_checksum_help' from incompatible pointer type
> LD [M] /home/tjaalton/vpnclient/cisco_ipsec.o
> Building modules, stage 2.
> MODPOST
> Warning: could not find /home/tjaalton/vpnclient/.libdriver.so.cmd for
> /home/tjaalton/vpnclient/libdriver.so
> CC /home/tjaalton/vpnclient/cisco_ipsec.mod.o
> LD [M] /home/tjaalton/vpnclient/cisco_ipsec.ko
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.10-5'
> Copying module to directory "/lib/modules/2.6.10-5-686/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.
>
> Installing license.txt (VPN Client license) in "/opt/cisco-vpnclient/":
>
> Installing bundled user profiles in "/etc/opt/cisco-vpnclient/Profiles/":
> * Replaced 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 (permissions not changed)
> * 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.
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the kernel-bugs
mailing list