Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128045 - net-misc/cisco-vpnclient-3des 4.6.* incompatible with >=2.6.14 kernels
Summary: net-misc/cisco-vpnclient-3des 4.6.* incompatible with >=2.6.14 kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-29 16:38 UTC by Dan Check
Modified: 2006-04-11 05:00 UTC (History)
0 users

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


Attachments
update_sk_buff.patch (update_sk_buff.patch,1.04 KB, patch)
2006-03-29 16:39 UTC, Dan Check
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Check 2006-03-29 16:38:31 UTC
Due to changes in skbuff implemented in kernel 2.6.14, the attached patch is necessary to compile the 4.6 series of the client.

Even after applying the patch, I had problems with v. 4.6.00.0045-r1, but 4.6.02.0030 seems to work fine.

I haven't submitted an updated ebuild because I'm not sure how to conditionally add a patch based on kernel version...

More here:
http://www.linu-z.net/e107_plugins/content/content.php?content.27

Compile results w/out the patch:

  CC [M]  /var/tmp/portage/cisco-vpnclient-3des-4.6.02.0030/work/vpnclient/linuxcniapi.o
/var/tmp/portage/cisco-vpnclient-3des-4.6.02.0030/work/vpnclient/linuxcniapi.c: In function `CniInjectReceive':
/var/tmp/portage/cisco-vpnclient-3des-4.6.02.0030/work/vpnclient/linuxcniapi.c:312: error: structure has no member named `stamp'
/var/tmp/portage/cisco-vpnclient-3des-4.6.02.0030/work/vpnclient/linuxcniapi.c: In function `CniInjectSend':
/var/tmp/portage/cisco-vpnclient-3des-4.6.02.0030/work/vpnclient/linuxcniapi.c:452: error: structure has no member named `stamp'
make[2]: *** [/var/tmp/portage/cisco-vpnclient-3des-4.6.02.0030/work/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/var/tmp/portage/cisco-vpnclient-3des-4.6.02.0030/work/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r1'
make: *** [default] Error 2

---

dmesg output from 4.6.00.0045-r1, after a clean compile with the patch (still broken):

Badness in local_bh_enable at kernel/softirq.c:140
 [<c011b870>] local_bh_enable+0x25/0x68
 [<e2401c2a>] handle_vpnup+0x87/0x183 [cisco_ipsec]
 [<e2401a42>] interceptor_ioctl+0xed/0x11d [cisco_ipsec]
 [<c03f29a0>] dev_ifsioc+0x412/0x41e
 [<c03f2cf3>] dev_ioctl+0x347/0x3e5
 [<c03e9c46>] sock_ioctl+0x31/0x1ca
 [<c015b91c>] do_ioctl+0x28/0x65
 [<c015bbe8>] vfs_ioctl+0x180/0x18e
 [<c015bc21>] sys_ioctl+0x2b/0x46
 [<c0102b43>] sysenter_past_esp+0x54/0x75
Badness in local_bh_enable at kernel/softirq.c:140
 [<c011b870>] local_bh_enable+0x25/0x68
 [<c03f0c41>] dev_remove_pack+0x9/0xf
 [<e2401c7d>] handle_vpnup+0xda/0x183 [cisco_ipsec]
 [<e2401a42>] interceptor_ioctl+0xed/0x11d [cisco_ipsec]
 [<c03f29a0>] dev_ifsioc+0x412/0x41e
 [<c03f2cf3>] dev_ioctl+0x347/0x3e5
 [<c03e9c46>] sock_ioctl+0x31/0x1ca
 [<c015b91c>] do_ioctl+0x28/0x65
 [<c015bbe8>] vfs_ioctl+0x180/0x18e
 [<c015bc21>] sys_ioctl+0x2b/0x46
 [<c0102b43>] sysenter_past_esp+0x54/0x75
scheduling while atomic: cvpnd/0x00000001/13198
 [<c045dc59>] schedule+0x43/0x52c
 [<c011b8dc>] irq_exit+0x29/0x34
 [<c01041db>] do_IRQ+0x1e/0x24
 [<c0102d6a>] common_interrupt+0x1a/0x20
 [<c045e271>] wait_for_completion+0x87/0xca
 [<c0114879>] default_wake_function+0x0/0x12
 [<c0114879>] default_wake_function+0x0/0x12
 [<c0125a69>] __kernel_text_address+0x1b/0x27
 [<c0125681>] synchronize_rcu+0x31/0x36
 [<c01030c3>] dump_stack+0x12/0x16
 [<c0125644>] wakeme_after_rcu+0x0/0xc
 [<c03f0c41>] dev_remove_pack+0x9/0xf
 [<e2401c7d>] handle_vpnup+0xda/0x183 [cisco_ipsec]
 [<e2401a42>] interceptor_ioctl+0xed/0x11d [cisco_ipsec]
 [<c03f29a0>] dev_ifsioc+0x412/0x41e
 [<c03f2cf3>] dev_ioctl+0x347/0x3e5
 [<c03e9c46>] sock_ioctl+0x31/0x1ca
 [<c015b91c>] do_ioctl+0x28/0x65
 [<c015bbe8>] vfs_ioctl+0x180/0x18e
 [<c015bc21>] sys_ioctl+0x2b/0x46
 [<c0102b43>] sysenter_past_esp+0x54/0x75
Comment 1 Dan Check 2006-03-29 16:39:42 UTC
Created attachment 83404 [details, diff]
update_sk_buff.patch

Patch to update calls to the 2.6.14+ kernel.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-11 04:56:26 UTC
Check out cisco-vpnclient-3des-4.7.00.0640.ebuild for how to conditionally apply the patch.

I'm going to go ahead and add this, I was just letting you know for the future.

Also, there is already a patch in CVS for 4.6.03 and 4.7.00, I just never backported them to all of the versions.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-11 05:00:38 UTC
Fixed in CVS...  Thanks for the bug report and the patch!