[Openswan Users]
Paul Wouters
paul at xelerance.com
Wed Mar 2 00:02:13 CET 2005
On Tue, 1 Mar 2005, panos wrote:
> ===========================
> Unable to unload mod
> ===========================
> [root at kirk ~]# insmod
> /lib/modules/2.6.9-1.724_FC3/kernel/net/ipsec/ipsec.ko
> [root at kirk ~]# rmmod
> /lib/modules/2.6.9-1.724_FC3/kernel/net/ipsec/ipsec.ko
> Segmentation fault
>
> ..from syslog...
> Mar 1 11:45:32 kirk kernel: klips_info:pfkey_cleanup: shutting down
> PF_KEY domain sockets.
> Mar 1 11:45:32 kirk kernel: NET: Unregistered protocol family 15
> Mar 1 11:45:32 kirk kernel: ------------[ cut here ]------------
> Mar 1 11:45:32 kirk kernel: kernel BUG at fs/proc/generic.c:688!
> Mar 1 11:45:32 kirk kernel: invalid operand: 0000 [#1]
> Mar 1 11:45:32 kirk kernel: Modules linked in: ipsec(U) appletalk md5
> ipv6 parport_pc lp parport autofs4 sunrpc button battery ac ohci1394
> ieee1394 uhci_hcd ehci_hcd snd_intel8x0 snd_ac97_codec snd_pcm_oss
> snd_mixer_oss snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart
> snd_rawmidi snd_seq_device snd soundcore tg3 8139too mii floppy
> dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod
> Mar 1 11:45:32 kirk kernel: CPU: 0
> Mar 1 11:45:32 kirk kernel: EIP: 0060:[<c019d963>] Not tainted
> VLI
> Mar 1 11:45:32 kirk kernel: EFLAGS: 00010282 (2.6.9-1.724_FC3)
> Mar 1 11:45:32 kirk kernel: EIP is at remove_proc_entry+0x8d/0xde
> Mar 1 11:45:32 kirk kernel: eax: 00000001 ebx: e0777e30 ecx:
> 00000000 edx: 00000001
> Mar 1 11:45:32 kirk kernel: esi: df7e01b4 edi: dc8e9480 ebp:
> 00000005 esp: db143f48
> Mar 1 11:45:32 kirk kernel: ds: 007b es: 007b ss: 0068
> Mar 1 11:45:32 kirk kernel: Process rmmod (pid: 3348,
> threadinfo=db143000 task=db169970)
> Mar 1 11:45:32 kirk kernel: Stack: df7e0180 e0777e30 00000000 c0349620
> 00000000 db143000 e07471ab e0793200
> Mar 1 11:45:32 kirk kernel: e07471d8 c0137b45 00000000 65737069
> 00000063 00000202 00000000 de23c080
> Mar 1 11:45:32 kirk kernel: b7fff000 b8000000 c0152d08 de23c080
> db904954 c01530b7 db9048ac de23c080
> Mar 1 11:45:32 kirk kernel: Call Trace:
> Mar 1 11:45:32 kirk kernel: [<e07471ab>] ipsec_cleanup+0xdc/0xea
> [ipsec]
> Mar 1 11:45:32 kirk kernel: [<e07471d8>] cleanup_module+0x19/0x25
> [ipsec]
Yes, there are ipsec module unloading problems. They are likely happening in
the procfs code. These issues are unresolved so far. A workaround, which is
recommended in general for modules with 2.6, is to never unload modules to
begin with. I am not happy about that idea either.
Paul
More information about the Users
mailing list