kernel crash when trying to connect to vpn with 3G modem

Installation, configuration and troubleshooting of the Cisco VPN Client on Linux systems

kernel crash when trying to connect to vpn with 3G modem

Postby chrome » Tue Jan 19, 2010 3:27 am

Hello, I have a problem with vpnclient - it crashes the kernel when I try to connect with UMTS/3G/HSPA modem (Option GE0301).

I use Ubuntu 9.10 Karmic 32-bit with stock 2.6.31-18 kernel. I have vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz + patch from here: http://dl.dropbox.com/u/1289817/vpnclie ... .6.31.diff
(as described in http://ilapstech.blogspot.com/2009/09/c ... koala.html)

It crashes after I issue 'vpnclient connect xxx'. It doesn't completely freeze the computer instantly, but causes many strange problems eventually leading to complete OS lockup.

Result can be visible in 'dmesg':
Code: Select all
[ 2209.342959] Cisco Systems VPN Client Version 4.8.02 (0030) kernel module loaded
[ 2224.776600] BUG: unable to handle kernel paging request at c05aeab0
[ 2224.776614] IP: [<f9e55a9a>] add_netdev+0x9a/0xc0 [cisco_ipsec]
[ 2224.776655] *pde = 369eb063 *pte = 005ae161
[ 2224.776665] Oops: 0003 [#1] SMP
[ 2224.776673] last sysfs file: /sys/devices/platform/coretemp.1/temp1_input
[ 2224.776680] Modules linked in: cisco_ipsec(P) ppp_async crc_ccitt hidp binfmt_misc ppdev bridge stp bnep vboxnetflt vboxnetadp vboxdrv reiserfs snd_hda_codec_atihdmi snd_hda_codec_idt mxl5005s af9013 arc4 snd_hda_intel snd_hda_codec ecb snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi iwlagn snd_seq_midi_event snd_seq snd_timer snd_seq_device iwlcore fglrx(P) snd joydev mac80211 coretemp soundcore lirc_ene0100 snd_page_alloc cfg80211 dvb_usb_af9015 sdhci_pci uvcvideo sdhci hp_accel jmb38x_ms memstick iptable_filter lirc_dev lis3lv02d videodev ip_tables v4l1_compat dvb_usb lp x_tables parport input_polldev dvb_core led_class option psmouse btusb serio_raw usbserial ohci1394 ieee1394 r8169 mii intel_agp agpgart video output
[ 2224.776831]
[ 2224.776839] Pid: 5141, comm: cvpnd Tainted: P           (2.6.31-18-generic #55-Ubuntu) HP Pavilion dv6 Notebook PC
[ 2224.776846] EIP: 0060:[<f9e55a9a>] EFLAGS: 00210246 CPU: 1
[ 2224.776879] EIP is at add_netdev+0x9a/0xc0 [cisco_ipsec]
[ 2224.776885] EAX: c05aeaa0 EBX: e4bf4000 ECX: 000000b0 EDX: c0405d70
[ 2224.776891] ESI: 00000004 EDI: f9e55ca0 EBP: e637deac ESP: e637de98
[ 2224.776898]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 2224.776905] Process cvpnd (pid: 5141, ti=e637c000 task=e6246480 task.ti=e637c000)
[ 2224.776910] Stack:
[ 2224.776914]  e637defc e637dea4 c049d89d e637deac f9e55ca0 e637ded4 f9e55e87 f9ea5680
[ 2224.776930] <0> 00000000 00000370 c04a01b5 c08a9bc0 e637defc e637defc 000089f1 e637deec
[ 2224.776947] <0> c04a0cd7 000089f1 000089f1 c08a9bc0 0825f1e0 e637df2c c04a105b c01cb6d2
[ 2224.776967] Call Trace:
[ 2224.776979]  [<c049d89d>] ? synchronize_net+0xd/0x10
[ 2224.777014]  [<f9e55ca0>] ? interceptor_ioctl+0x0/0x290 [cisco_ipsec]
[ 2224.777048]  [<f9e55e87>] ? interceptor_ioctl+0x1e7/0x290 [cisco_ipsec]
[ 2224.777058]  [<c04a01b5>] ? __dev_get_by_name+0x85/0xb0
[ 2224.777067]  [<c04a0cd7>] ? dev_ifsioc+0xd7/0x260
[ 2224.777075]  [<c04a105b>] ? dev_ioctl+0x1fb/0x250
[ 2224.777085]  [<c01cb6d2>] ? do_wp_page+0xd2/0x7c0
[ 2224.777094]  [<c04909c2>] ? sock_ioctl+0x82/0x260
[ 2224.777102]  [<c0490940>] ? sock_ioctl+0x0/0x260
[ 2224.777112]  [<c01f532c>] ? vfs_ioctl+0x1c/0x90
[ 2224.777120]  [<c01f5651>] ? do_vfs_ioctl+0x71/0x310
[ 2224.777131]  [<c057622b>] ? do_page_fault+0x19b/0x380
[ 2224.777139]  [<c01f594f>] ? sys_ioctl+0x5f/0x80
[ 2224.777149]  [<c01033ac>] ? syscall_call+0x7/0xb
[ 2224.777154] Code: c3 6b c9 2c 89 81 80 56 ea f9 8b 90 cc 00 00 00 89 91 98 56 ea f9 8b 90 b4 00 00 00 8b 52 10 89 91 8c 56 ea f9 8b 80 b4 00 00 00 <c7> 40 10 30 65 e5 f9 a1 c0 6a ea f9 89 81 88 56 ea f9 a1 bc 6a
[ 2224.777251] EIP: [<f9e55a9a>] add_netdev+0x9a/0xc0 [cisco_ipsec] SS:ESP 0068:e637de98
[ 2224.777287] CR2: 00000000c05aeab0
[ 2224.777294] ---[ end trace 1925596a763ce9c4 ]---


And output from vpnclient:
Code: Select all
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.31-18-generic #55-Ubuntu SMP Fri Jan 8 14:55:26 UTC 2010 i686
Config file directory: /etc/opt/cisco-vpnclient

The application was unable to communicate with the VPN sub-system.


It seems to be same problem as in http://forum.tuxx-home.at/viewtopic.php?f=15&t=790&sid=086bc95958c3811814df8dfeecdd1302#p5395

Disabling second core doesn't change anything. Also I noticed that it probably doesn't even try to connect, because when I enter wrong (non-existing) vpn connection name, or just type 'vpnclient stat' it also crashes.

When I tried on WiFi connection with no modem inserted it worked ok (at least there was no crash).

My first conclusions are that the patch may not correctly support ppp devices, but it's my first try with kernel debugging and I'm not really sure what to do.

Best regards and thanks for any ideas.
chrome
Private
Private
 
Posts: 1
Joined: Mon Jan 18, 2010 1:02 am

Re: kernel crash when trying to connect to vpn with 3G modem

Postby kalamot » Tue Mar 02, 2010 6:05 pm

Exactly the same problem here
Any solution would be appreciated
kalamot
Private
Private
 
Posts: 1
Joined: Tue Mar 02, 2010 6:02 pm


Return to Cisco VPN Client on Linux systems

Who is online

Users browsing this forum: No registered users and 3 guests