[Openswan Users]

John Morris openswan at butchwax.com
Tue Nov 8 21:07:17 CET 2005


Hi,

I've been trying to run Openswan for a while now with no success.
Here're the specifics of my setup:

* FC4
* kernel 2.6.11; a rebuild of the FC4 1.1532 RPM, with NAT-T patch added
(same things happens without this patch)
* Openswan 2.4.2rc1 (same thing with 2.4.0) from Openswan site's SRPM
(modified, of course, for 2.4.2rc1)

As will be seen below, starting the service results in segfaults of the
userland tools and kernel oopses.  Ouch!

Many thanks for any clues!

	John




[root at kugioga ~]# service ipsec start
ipsec_setup: Starting Openswan IPsec 2.4.2rc1...
ipsec_setup: /usr/lib/ipsec/_startklips: line 324:  2615 Segmentation fault      ipsec klipsdebug --none
ipsec_setup: /usr/lib/ipsec/_startklips: line 387:  2616 Segmentation fault      ipsec eroute --clear
ipsec_setup: /usr/lib/ipsec/_startklips: line 387:  2617 Segmentation fault      ipsec spi --clear
ipsec_setup: WARNING: changing route filtering on eth0 (changing /proc/sys/net/ipv4/conf/eth0/rp_filter from 1 to 0)

     /var/log/messages:

Nov  8 20:46:52 kugioga kernel: klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPsec stack version: 2.4.2rc1
Nov  8 20:46:52 kugioga kernel: NET: Registered protocol family 15
Nov  8 20:46:52 kugioga kernel: klips_info:ipsec_alg_init: KLIPS alg v=0.8.1-0 (EALG_MAX=255, AALG_MAX=251)
Nov  8 20:46:52 kugioga kernel: klips_info:ipsec_alg_init: calling ipsec_alg_static_init()
Nov  8 20:46:52 kugioga kernel: ipsec_aes_init(alg_type=15 alg_id=12 name=aes): ret=0
Nov  8 20:46:52 kugioga kernel: ipsec_3des_init(alg_type=15 alg_id=3 name=3des): ret=0
Nov  8 20:46:52 kugioga ipsec_setup: KLIPS debug `none'
Nov  8 20:46:52 kugioga kernel: ------------[ cut here ]------------
Nov  8 20:46:52 kugioga kernel: kernel BUG at include/linux/module.h:360!
Nov  8 20:46:52 kugioga kernel: invalid operand: 0000 [#1]
Nov  8 20:46:52 kugioga kernel: SMP
Nov  8 20:46:52 kugioga kernel: Modules linked in: ipsec(U) parport_pc lp parport autofs4 ipv6 rfcomm l2cap sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables hci_usb bluetooth video button battery ac uhci_hcd i2c_piix4 i2c_core 3c59x mii floppy ext3 jbd dm_mod 3w_xxxx BusLogic sd_mod scsi_mod
Nov  8 20:46:52 kugioga kernel: CPU:    0
Nov  8 20:46:52 kugioga kernel: EIP:    0060:[<c02b2b40>]    Not tainted VLI
Nov  8 20:46:52 kugioga kernel: EFLAGS: 00010246   (2.6.13-2.bigusmp)
Nov  8 20:46:52 kugioga kernel: EIP is at sk_alloc+0x139/0x146
Nov  8 20:46:52 kugioga kernel: eax: 00000000   ebx: e0cb0180   ecx: 00000000   edx: e0cb1180
Nov  8 20:46:52 kugioga kernel: esi: df5dfa00   edi: df5dfb64   ebp: 00000000   esp: d9abdef0
Nov  8 20:46:52 kugioga kernel: ds: 007b   es: 007b   ss: 0068
Nov  8 20:46:52 kugioga kernel: Process klipsdebug (pid: 2615, threadinfo=d9abd000 task=db7d2aa0)
Nov  8 20:46:52 kugioga kernel: Stack: e0cad1e0 0000000f 00000001 00000001 00000000 da212e40 d9abd000 00000003
Nov  8 20:46:52 kugioga kernel:        e0c6a503 00000001 c15cd800 ffffff9f da212e6c c017c96d 00000002 00000002
Nov  8 20:46:52 kugioga kernel:        0000000f ffffff9f c02b0b2f 00000000 da8c4400 da212e40 db7d2aa0 d9abdf74
Nov  8 20:46:52 kugioga kernel: Call Trace:
Nov  8 20:46:52 kugioga kernel:  [<e0c6a503>] pfkey_create+0x6b/0x20d [ipsec]
Nov  8 20:46:52 kugioga kernel:  [<c017c96d>] new_inode+0x88/0x8d
Nov  8 20:46:52 kugioga kernel:  [<c02b0b2f>] __sock_create+0xfd/0x254
Nov  8 20:46:52 kugioga kernel:  [<c02b0c9e>] sock_create+0x18/0x1d
Nov  8 20:46:52 kugioga kernel:  [<c02b0cdc>] sys_socket+0x1c/0x44
Nov  8 20:46:52 kugioga kernel:  [<c02b1b2e>] sys_socketcall+0x86/0x292
Nov  8 20:46:52 kugioga kernel:  [<c0108065>] do_syscall_trace+0xef/0x123
Nov  8 20:46:52 kugioga kernel:  [<c010396d>] syscall_call+0x7/0xb
Nov  8 20:46:52 kugioga kernel: Code: 08 89 42 0c e9 19 ff ff ff 8b 14 24 8b 42 6c 89 da e8 90 b5 e9 ff 89 c6 e9 f9 fe ff ff 89 f0 e8 6c b7 e9 ff 31 f6 e9 3f ff ff ff <0f> 0b 68 01 c0 05 33 c0 e9 1b ff ff ff 56 53 83 ec 0c 89 c3 8b
Nov  8 20:46:52 kugioga kernel:  ------------[ cut here ]------------
Nov  8 20:46:52 kugioga ipsec_setup: KLIPS ipsec0 on eth0 192.168.3.253/255.255.255.0 broadcast 192.168.3.255 mtu 1410
Nov  8 20:46:52 kugioga kernel: kernel BUG at include/linux/module.h:360!
Nov  8 20:46:52 kugioga kernel: invalid operand: 0000 [#2]
Nov  8 20:46:52 kugioga kernel: SMP
Nov  8 20:46:52 kugioga kernel: Modules linked in: ipsec(U) parport_pc lp parport autofs4 ipv6 rfcomm l2cap sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables hci_usb bluetooth video button battery ac uhci_hcd i2c_piix4 i2c_core 3c59x mii floppy ext3 jbd dm_mod 3w_xxxx BusLogic sd_mod scsi_mod
Nov  8 20:46:52 kugioga kernel: CPU:    0
Nov  8 20:46:52 kugioga kernel: EIP:    0060:[<c02b2b40>]    Not tainted VLI
Nov  8 20:46:52 kugioga kernel: EFLAGS: 00010246   (2.6.13-2.bigusmp)
Nov  8 20:46:52 kugioga kernel: EIP is at sk_alloc+0x139/0x146
Nov  8 20:46:52 kugioga kernel: eax: 00000000   ebx: e0cb0180   ecx: 00000000   edx: e0cb1180
Nov  8 20:46:52 kugioga kernel: esi: df2bc800   edi: df2bc964   ebp: 00000000   esp: d9abdef0
Nov  8 20:46:52 kugioga kernel: ds: 007b   es: 007b   ss: 0068
Nov  8 20:46:52 kugioga kernel: Process eroute (pid: 2616, threadinfo=d9abd000 task=db7d2aa0)
Nov  8 20:46:52 kugioga kernel: Stack: e0cad1e0 0000000f 00000001 00000001 00000000 dbbdc580 d9abd000 00000003
Nov  8 20:46:52 kugioga kernel:        e0c6a503 00000001 c15cd800 ffffff9f dbbdc5ac c017c96d 00000002 00000002
Nov  8 20:46:52 kugioga kernel:        0000000f ffffff9f c02b0b2f 00000000 da8c4400 dbbdc580 db7d2aa0 d9abdf74
Nov  8 20:46:52 kugioga kernel: Call Trace:
Nov  8 20:46:52 kugioga kernel:  [<e0c6a503>] pfkey_create+0x6b/0x20d [ipsec]
Nov  8 20:46:52 kugioga kernel:  [<c017c96d>] new_inode+0x88/0x8d
Nov  8 20:46:52 kugioga kernel:  [<c02b0b2f>] __sock_create+0xfd/0x254
Nov  8 20:46:52 kugioga kernel:  [<c02b0c9e>] sock_create+0x18/0x1d
Nov  8 20:46:52 kugioga kernel:  [<c02b0cdc>] sys_socket+0x1c/0x44
Nov  8 20:46:52 kugioga kernel:  [<c02b1b2e>] sys_socketcall+0x86/0x292
Nov  8 20:46:52 kugioga kernel:  [<c0108065>] do_syscall_trace+0xef/0x123
Nov  8 20:46:52 kugioga kernel:  [<c010396d>] syscall_call+0x7/0xb
Nov  8 20:46:52 kugioga kernel: Code: 08 89 42 0c e9 19 ff ff ff 8b 14 24 8b 42 6c 89 da e8 90 b5 e9 ff 89 c6 e9 f9 fe ff ff 89 f0 e8 6c b7 e9 ff 31 f6 e9 3f ff ff ff <0f> 0b 68 01 c0 05 33 c0 e9 1b ff ff ff 56 53 83 ec 0c 89 c3 8b
Nov  8 20:46:52 kugioga kernel:  ------------[ cut here ]------------
Nov  8 20:46:52 kugioga ipsec_setup: ...Openswan IPsec started
Nov  8 20:46:53 kugioga kernel: kernel BUG at include/linux/module.h:360!
[...]




More information about the Users mailing list