[Openswan Users] Openswan 2.4.0 + Linux 2.6.12 + Klips?

Martin Bene martin.bene at icomedias.com
Mon Oct 31 14:56:42 CET 2005


Hi, trying to get the above combination to work;

* Kernel.org kernel 2.6.12.6
* Openswan 2.4.0
* Kernel patched for nat-t
* klips module compiles and loads without problems (make module26)
* /etc/init.d/ipsec start fails with segemtation faults and kernel "BUG"
messages:

kernel BUG at include/linux/module.h:352!

------------[ cut here ]------------
kernel BUG at include/linux/module.h:352!
invalid operand: 0000 [#1]
SMP
Modules linked in: ipsec ppp_async ppp_generic slhc crc_ccitt arc4 sha1
ipmi_devintf ipmi_si ipmi_msghandler 3c59x e1000
CPU:    0
EIP:    0060:[<c02cc4c5>]    Not tainted VLI
EFLAGS: 00010246   (2.6.12.6)
EIP is at sk_alloc+0xd5/0x100
eax: 00000000   ebx: dfa4e600   ecx: 00000008   edx: e09e0380
esi: e09ddc40   edi: e09dff80   ebp: 00000000   esp: dce47eec
ds: 007b   es: 007b   ss: 0068
Process klipsdebug (pid: 10057, threadinfo=dce46000 task=c1604020)
Stack: e09dff80 000000d0 00000000 dbadee00 dce46000 dce46000 e099822b
0000000f
       000000d0 e09ddc40 00000001 c1549a00 0000000f 0000000f dbadee00
ffffff9f
       c02ca5f5 dbadee00 00000002 00000001 00000003 00000002 c02ca73d
0000000f
Call Trace:
 [<e099822b>] pfkey_create+0x7b/0x200 [ipsec]
 [<c02ca5f5>] __sock_create+0xc5/0x1e0
 [<c02ca73d>] sock_create+0x2d/0x40
 [<c02ca7bb>] sys_socket+0x2b/0x60
 [<c02cb638>] sys_socketcall+0x68/0x260
 [<c0114290>] do_page_fault+0x0/0x5d5
 [<c0102e19>] syscall_call+0x7/0xb
Code: 00 e0 ff ff 21 e0 8b 40 10 c1 e0 07 8d 04 38 ff 80 00 01 00 00 89
d8 8b 74 24 0c 8b 5c 24 08 8b 7c 24 10 8b 6c 24 14 83 c4 18 c3 <0f> 0b
60 01 12 98 36 c0 eb ca 90 8b 46 6c 89 54 24 04 89 04 24
 ------------[ cut here ]------------

Commandline: 

relay3 ipsec # /etc/init.d/ipsec start
ipsec_setup: Starting Openswan IPsec 2.4.0...
ipsec_setup: /usr/local/lib/ipsec/_startklips: line 324: 14481
Segmentation fault      ipsec klipsdebug --none
ipsec_setup: /usr/local/lib/ipsec/_startklips: line 387: 14482
Segmentation fault      ipsec eroute --clear
ipsec_setup: /usr/local/lib/ipsec/_startklips: line 387: 14483
Segmentation fault      ipsec spi --clear

Am I just jusing a bad kernel/openswan combination or what should I do
to get this up & running?

Thanks, Martin


More information about the Users mailing list