Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85904 - cisco-vpnclient-3des needs patch for working with kernel >=2.6.10
Summary: cisco-vpnclient-3des needs patch for working with kernel >=2.6.10
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Chris Gianelloni (RETIRED)
URL: http://www.linuxquestions.org/questio...
Whiteboard:
Keywords:
: 92000 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-19 07:45 UTC by Benjamin Greiner
Modified: 2005-06-02 07:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for kernel >=2.6.10 (changed_kernel_api.patch,678 bytes, patch)
2005-03-19 07:47 UTC, Benjamin Greiner
Details | Diff
ebuild to use the patch (cisco-vpnclient-3des-4.6.00.0045-r2.ebuild,2.21 KB, text/plain)
2005-03-19 07:49 UTC, Benjamin Greiner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Greiner 2005-03-19 07:45:10 UTC
There is a coplete system hang, when I try to start the Cisco vpn client with kernel 2.6.10 (gentoo-r6). 

This is because the kernel developers changed the API somehow in net/core/dev.c wher skb_checksum_helper requires different pointers than in older kernel versions.

There is a patch around the net, which solves the problem. vpnclient connect works fine, if applied.


Reproducible: Always
Steps to Reproduce:
1. # uname -r
2.6.10-gentoo-r6
2. # emerge =cisco-vpnclient-3des-4.6.00.0045-r1
3. # /etc/init.d/vpnclient start
4. $ vpnclient connect yourprofile
Actual Results:  
total system freeze on call

Expected Results:  
working vpnclient

cisco

# equery list cisco
[ Searching for package 'cisco' in all categories among: ]
 * installed packages
[I--] [  ] net-misc/cisco-vpnclient-3des-4.6.00.0045-r1 (2.6.10-gentoo-r6)

# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16

...
Comment 1 Benjamin Greiner 2005-03-19 07:47:46 UTC
Created attachment 53865 [details, diff]
Patch for kernel >=2.6.10
Comment 2 Benjamin Greiner 2005-03-19 07:49:40 UTC
Created attachment 53866 [details]
ebuild to use the patch

this ebuild applies the patch if KV >= 2.6.10
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-19 08:43:37 UTC
Strange.... I have no problems on my 5 machines with 2.6.10 and 2.6.11... I'll look into this, though and let you know.
Comment 4 Benjamin Greiner 2005-03-23 08:05:32 UTC
Your're right, The system doesn't freeze on my laptop even without the patch. There is only the compiler warning.

However it definitively does on my Desktop system. With the patch everything works ok and the compiler warning doesn't appear anymore.

...
CC [M]  /var/tmp/portage/cisco-vpnclient-3des-4.6.00.0045-r1/work/vpnclient/interceptor.o
/var/tmp/portage/cisco-vpnclient-3des-4.6.00.0045-r1/work/vpnclient/interceptor.c: In function `recv_ip_packet_handler':
/var/tmp/portage/cisco-vpnclient-3des-4.6.00.0045-r1/work/vpnclient/interceptor.c:608: warning: passing arg 1 of `skb_checksum_help' from incompatible pointer type
/var/tmp/portage/cisco-vpnclient-3des-4.6.00.0045-r1/work/vpnclient/interceptor.c: In function `do_cni_send':
/var/tmp/portage/cisco-vpnclient-3des-4.6.00.0045-r1/work/vpnclient/interceptor.c:733: warning: passing arg 1 of `skb_checksum_help' from incompatible pointer type
...
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-23 08:21:58 UTC
Well, I'll start looking into it.  If the patch doesn't seem to break anything, then I'll apply it.

Give me a couple days to get things under control with the 2005.0 release and I should have plenty of time to work on it.
Comment 6 Axel Straschil 2005-05-09 09:30:32 UTC
*** Bug 92000 has been marked as a duplicate of this bug. ***
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-02 07:26:01 UTC
Can you see if this is still an issue with 4.5.03.0190?

If it is, then please REOPEN this bug.