[Openswan Users] openswan 2.4.4-1 on RHEL4

Patrick Hartemann patrick-hartemann at wanadoo.fr
Fri Feb 24 15:33:13 CET 2006


Hello,

we've modified, recompiled and installed openswan 2.4.4-1 on RHEL4 - 2.6.9-22.0.2.ELsmp - based on SRPM for fedora4.
All seems ok, recompilation and installation, we could modprobe the module ipsec but .... 
the start of ipsec userland freezes the system, and modprobe -r of module generates a panic.

/var/log/messages file :
########## modprobe ipsec ##########################################################
Feb 24 07:23:51 ch-dev-3 kernel: klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPsec stack version: 2.4.4
Feb 24 07:23:51 ch-dev-3 kernel: NET: Registered protocol family 15
Feb 24 07:23:51 ch-dev-3 kernel: klips_info:ipsec_alg_init: KLIPS alg v=0.8.1-0 (EALG_MAX=255, AALG_MAX=251)
Feb 24 07:23:51 ch-dev-3 kernel: klips_info:ipsec_alg_init: calling ipsec_alg_static_init()
Feb 24 07:23:51 ch-dev-3 kernel: ipsec_aes_init(alg_type=15 alg_id=12 name=aes): ret=0
Feb 24 07:23:51 ch-dev-3 kernel: ipsec_3des_init(alg_type=15 alg_id=3 name=3des): ret=0
########## modprobe -r ipsec ##########################################################
Feb 24 07:24:38 ch-dev-3 kernel: 
Feb 24 07:24:38 ch-dev-3 kernel: klips_info:pfkey_cleanup: shutting down PF_KEY domain sockets.
Feb 24 07:24:38 ch-dev-3 kernel: NET: Unregistered protocol family 15
Feb 24 07:24:38 ch-dev-3 kernel: ------------[ cut here ]------------
Feb 24 07:24:38 ch-dev-3 kernel: kernel BUG at fs/proc/generic.c:687!
Feb 24 07:24:38 ch-dev-3 kernel: invalid operand: 0000 [#1]
Feb 24 07:24:38 ch-dev-3 kernel: SMP 
Feb 24 07:24:38 ch-dev-3 kernel: Modules linked in: ipsec(U) md5 ipv6 button battery ac uhci_hcd snd_ens1371 snd_rawmidi snd_seq_dev
ice snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_ac97_codec snd soundcore pcnet32 mii floppy dm_snapshot dm_zero d
m_mirror ext3 jbd dm_mod mptscsih mptbase sd_mod scsi_mod
Feb 24 07:24:38 ch-dev-3 kernel: CPU:    0
Feb 24 07:24:38 ch-dev-3 kernel: EIP:    0060:[<c0187c50>]    Not tainted VLI
Feb 24 07:24:38 ch-dev-3 kernel: EFLAGS: 00010282   (2.6.9-22.0.2.ELsmp) 
Feb 24 07:24:38 ch-dev-3 kernel: EIP is at remove_proc_entry+0x92/0xe2
Feb 24 07:24:38 ch-dev-3 kernel: eax: 00000000   ebx: d0e90e91   ecx: 00000000   edx: c038de80
Feb 24 07:24:38 ch-dev-3 kernel: esi: cfdd33b4   edi: cd948900   ebp: 00000005   esp: cb9e7f48
Feb 24 07:24:38 ch-dev-3 kernel: ds: 007b   es: 007b   ss: 0068
Feb 24 07:24:38 ch-dev-3 kernel: Process modprobe (pid: 10462, threadinfo=cb9e7000 task=cf695330)
Feb 24 07:24:38 ch-dev-3 kernel: Stack: cfdd3380 d0e90e91 00000000 c03249a8 00000000 cb9e7000 d0e62196 d0eaad80 
Feb 24 07:24:38 ch-dev-3 kernel:        d0e621c3 c013622a 00000000 65737069 b7ff0063 cf7e5680 c014f711 cf7e56c4 
Feb 24 07:24:38 ch-dev-3 kernel:        cf6b29bc c014fa4b b7fff000 b8000000 b8000000 b8000000 cf6b2e8c cf7e5680 
Feb 24 07:24:38 ch-dev-3 kernel: Call Trace:
Feb 24 07:24:38 ch-dev-3 kernel:  [<d0e62196>] ipsec_cleanup+0xdc/0xea [ipsec]
Feb 24 07:24:38 ch-dev-3 kernel:  [<d0e621c3>] cleanup_module+0x19/0x26 [ipsec]
Feb 24 07:24:38 ch-dev-3 kernel:  [<c013622a>] sys_delete_module+0x137/0x180
Feb 24 07:24:38 ch-dev-3 kernel:  [<c014f711>] unmap_vma_list+0xe/0x17
Feb 24 07:24:38 ch-dev-3 kernel:  [<c014fa4b>] do_munmap+0x129/0x137
Feb 24 07:24:38 ch-dev-3 kernel:  [<c02d137f>] syscall_call+0x7/0xb
Feb 24 07:24:38 ch-dev-3 kernel: Code: 25 00 f0 00 00 3d 00 40 00 00 75 0c 8b 14 24 0f b7 42 0e 48 66 89 42 0e 89 f8 e8 94 fc ff ff 
83 7f 34 00 66 c7 47 0e 00 00 74 08 <0f> 0b af 02 01 6f 2e c0 8b 47 44 85 c0 75 09 89 f8 e8 21 ff ff 
Feb 24 07:24:38 ch-dev-3 kernel:  <0>Fatal exception: panic in 5 seconds
#########################################################################

Anyone could help us on this issue ?

Many thanks 
Bye,

patrick hartemann







More information about the Users mailing list