[Openswan Users] OpenSwan bug on OpenSuSE 11.3 ?

Danilo Godec danilo.godec at agenda.si
Wed Sep 29 08:52:28 EDT 2010


 Hello,

I'm building OpenSwan 2.6.28 (also tried 2.6.29) on OpenSuSE 11.3
x86_64. I want to use 'KLIPS' version...

It compiles fine, but when I try to run it (/etc/init.d/ipsec start), it
produces an 'Oops':

> [110671.518222] BUG: unable to handle kernel paging request at
> 0000000000697077
> [110671.518225] IP: [<ffffffffa114bac0>] pfkey_create+0xb0/0x2c0 [ipsec]
> [110671.518235] PGD 1b802a067 PUD 170da5067 PMD 147a22067 PTE 0
> [110671.518239] Oops: 0000 [#13] PREEMPT SMP
> [110671.518241] last sysfs file:
> /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map
> [110671.518244] CPU 0
> [110671.518245] Modules linked in: ipsec ccm serpent blowfish
> twofish_x86_64 twofish_common ecb xcbc cbc md5 sha256_generic
> sha512_generic des_generic cryptd aes_x86_64 aes_generic rfcomm
> vboxnetadp vboxnetflt nvidia(P) sco bridge stp llc bnep l2cap crc16
> vboxdrv snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device edd nfs lockd
> fscache nfs_acl auth_rpcgss sunrpc mperf fuse loop dm_mod
> firewire_ohci firewire_core crc_itu_t snd_hda_codec_realtek
> snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer sr_mod sg
> ohci1394 e1000 btusb bluetooth rfkill usb_storage cdrom ieee1394 snd
> soundcore snd_page_alloc pcspkr serio_raw i2c_i801 iTCO_wdt
> iTCO_vendor_support e1000e intel_agp button raid456 async_raid6_recov
> async_pq raid6_pq async_xor xor async_memcpy async_tx raid10 raid1
> raid0 sd_mod fan processor ahci libata scsi_mod thermal thermal_sys
> [last unloaded: preloadtrace]
> [110671.518280]
> [110671.518283] Pid: 20368, comm: spi Tainted: P      D   
> 2.6.34.7-0.3-desktop #1 Berkeley/        
> [110671.518284] RIP: 0010:[<ffffffffa114bac0>]  [<ffffffffa114bac0>]
> pfkey_create+0xb0/0x2c0 [ipsec]
> [110671.518291] RSP: 0018:ffff8801365dbec8  EFLAGS: 00010292
> [110671.518293] RAX: 0000000000697073 RBX: ffff88014b48c600 RCX:
> 0000000000000000
> [110671.518295] RDX: 000000000001e800 RSI: 7fffffffffffffff RDI:
> 7fffffffffffffff
> [110671.518296] RBP: ffff8801479b8c00 R08: 0000000000000000 R09:
> ffff8801479b8c00
> [110671.518298] R10: 0000000000000000 R11: 0000000000000000 R12:
> ffffffff81d908c0
> [110671.518300] R13: 0000000000000002 R14: ffffffff81d908c0 R15:
> ffff88014b48c600
> [110671.518302] FS:  00007f4b05c8b700(0000) GS:ffff880001e00000(0000)
> knlGS:0000000000000000
> [110671.518304] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [110671.518305] CR2: 0000000000697077 CR3: 00000001b80d3000 CR4:
> 00000000000006f0
> [110671.518307] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000
> [110671.518309] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
> 0000000000000400
> [110671.518310] Process spi (pid: 20368, threadinfo ffff8801365da000,
> task ffff880195550840)
> [110671.518312] Stack:
> [110671.518313]  000000000000000f ffff8801365dbf70 0000000000000003
> ffffffff813aee25
> [110671.518315] <0> ffff880100000000 ffffffffa1191d40 ffff8801365dbf58
> ffffffff814a5560
> [110671.518318] <0> 00007fff26abe330 0000000000000004 0000000000000001
> 0000000000000003
> [110671.518320] Call Trace:
> [110671.518347]  [<ffffffff813aee25>] __sock_create+0x1c5/0x4a0
> [110671.518352]  [<ffffffff813af5bd>] sys_socket+0x2d/0x70
> [110671.518357]  [<ffffffff81002ffb>] system_call_fastpath+0x16/0x1b
> [110671.518363]  [<00007f4b055ae937>] 0x7f4b055ae937
> [110671.518364] Code: 85 58 02 00 00 00 00 00 00 65 48 8b 04 25 40 b5
> 00 00 48 c7 43 40 60 1d 19 a1 c6 45 49 02 66 c7 45 1c 0f 00 48 8b 80
> 80 04 00 00 <8b> 40 04 89 85 98 01 00 00 44 8b 05 ec 95 04 00 45 85 c0
> 0f 85
> [110671.518393] RIP  [<ffffffffa114bac0>] pfkey_create+0xb0/0x2c0 [ipsec]
> [110671.518399]  RSP <ffff8801365dbec8>
> [110671.518401] CR2: 0000000000697077
> [110671.518406] ---[ end trace a0e948bd9fc95266 ]---

Kernel version on this system is '2.6.34.7'. It seems to work fine on
OpenSuSE 11.2 (kernel 2.4.31.14), though...

Any ideas? Workaradounds? Patches?

  Thanks, Danilo



More information about the Users mailing list