<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 29.9.2010 16:29, Paul Wouters wrote:
<blockquote
cite="mid:alpine.LFD.1.10.1009291027010.5719@newtla.xelerance.com"
type="cite">On Wed, 29 Sep 2010, Danilo Godec wrote:
<br>
<br>
<blockquote type="cite">
<br>
I'm building OpenSwan 2.6.28 (also tried 2.6.29) on OpenSuSE
11.3
<br>
x86_64. I want to use 'KLIPS' version...
<br>
<br>
It compiles fine, but when I try to run it (/etc/init.d/ipsec
start), it
<br>
produces an 'Oops':
<br>
</blockquote>
<br>
Do you get no warnings during klips compile?
<br>
</blockquote>
<br>
Yes, sure there are warning - but not much different then warnings
on a working OpenSuSE 11.2 compile...<br>
<br>
There are warnings on both distros, but the following are found only
on the 11.3:<br>
<br>
<ul>
<li>/usr/src/packages/BUILD/openswan-2.6.29/lib/libopenswan/initsubnet.c:39:
warning: new qualifiers in middle of multi-level non-const cast
are unsafe</li>
<li>/usr/src/packages/BUILD/openswan-2.6.29/lib/libopenswan/oswtime.c:39:
warning: passing argument 1 of ‘time’ makes pointer from integer
without a cast</li>
<li>/usr/src/packages/BUILD/openswan-2.6.29/lib/libipsecconf/parser.l:2:1:
warning: this is the location of the previous definition</li>
<li>/usr/src/packages/BUILD/openswan-2.6.29/programs/pluto/myid.c:178:
warning: new qualifiers in middle of multi-level non-const cast
are unsafe</li>
<li>/usr/src/packages/BUILD/openswan-2.6.29/programs/pluto/myid.c:189:
warning: new qualifiers in middle of multi-level non-const cast
are unsafe</li>
<li>/usr/src/packages/BUILD/openswan-2.6.29/programs/pluto/ikev1_main.c:2434:
warning: passing argument 1 of ‘time’ makes pointer from integer
without a cast</li>
<li>/usr/src/packages/BUILD/openswan-2.6.29/modobj26/pfkey_v2.c:135:
warning: initialization from incompatible pointer type</li>
</ul>
<br>
I'm no coder so above doesn't tell me much, really...<br>
<br>
Danilo<br>
<br>
<br>
<blockquote
cite="mid:alpine.LFD.1.10.1009291027010.5719@newtla.xelerance.com"
type="cite">
<br>
<blockquote type="cite">
<blockquote type="cite">[110671.518222] BUG: unable to handle
kernel paging request at
<br>
0000000000697077
<br>
[110671.518225] IP: [<ffffffffa114bac0>]
pfkey_create+0xb0/0x2c0 [ipsec]
<br>
[110671.518235] PGD 1b802a067 PUD 170da5067 PMD 147a22067 PTE
0
<br>
[110671.518239] Oops: 0000 [#13] PREEMPT SMP
<br>
[110671.518241] last sysfs file:
<br>
</blockquote>
</blockquote>
<br>
<blockquote type="cite">
<blockquote type="cite">[110671.518283] Pid: 20368, comm: spi
Tainted: P D
<br>
2.6.34.7-0.3-desktop #1 Berkeley/
<br>
[110671.518284] RIP: 0010:[<ffffffffa114bac0>]
[<ffffffffa114bac0>]
<br>
pfkey_create+0xb0/0x2c0 [ipsec]
<br>
</blockquote>
</blockquote>
<br>
<blockquote type="cite">
<blockquote type="cite">[110671.518310] Process spi (pid: 20368,
threadinfo ffff8801365da000,
<br>
</blockquote>
</blockquote>
<br>
<blockquote type="cite">
<blockquote type="cite">[110671.518320] Call Trace:
<br>
[110671.518347] [<ffffffff813aee25>]
__sock_create+0x1c5/0x4a0
<br>
[110671.518352] [<ffffffff813af5bd>]
sys_socket+0x2d/0x70
<br>
[110671.518357] [<ffffffff81002ffb>]
system_call_fastpath+0x16/0x1b
<br>
[110671.518363] [<00007f4b055ae937>] 0x7f4b055ae937
<br>
[110671.518364] Code: 85 58 02 00 00 00 00 00 00 65 48 8b 04
25 40 b5
<br>
00 00 48 c7 43 40 60 1d 19 a1 c6 45 49 02 66 c7 45 1c 0f 00 48
8b 80
<br>
80 04 00 00 <8b> 40 04 89 85 98 01 00 00 44 8b 05 ec 95
04 00 45 85 c0
<br>
0f 85
<br>
[110671.518393] RIP [<ffffffffa114bac0>]
pfkey_create+0xb0/0x2c0 [ipsec]
<br>
[110671.518399] RSP <ffff8801365dbec8>
<br>
[110671.518401] CR2: 0000000000697077
<br>
[110671.518406] ---[ end trace a0e948bd9fc95266 ]---
<br>
</blockquote>
<br>
Kernel version on this system is '2.6.34.7'. It seems to work
fine on
<br>
OpenSuSE 11.2 (kernel 2.4.31.14), though...
<br>
<br>
Any ideas? Workaradounds? Patches?
<br>
</blockquote>
<br>
Hmm, no idea based on this strace. Sorry....
<br>
<br>
Paul
<br>
</blockquote>
<br>
</body>
</html>