[Openswan Users] OpenSwan bug on OpenSuSE 11.3 ?

Danilo Godec danilo.godec at agenda.si
Wed Sep 29 13:03:16 EDT 2010


 On 29.9.2010 16:29, Paul Wouters wrote:
> On Wed, 29 Sep 2010, Danilo Godec wrote:
>
>>
>> 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':
>
> Do you get no warnings during klips compile?

Yes, sure there are warning - but not much different then warnings on a
working OpenSuSE 11.2 compile...

There are warnings on both distros, but the following are found only on
the 11.3:

    * /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
    * /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
    * /usr/src/packages/BUILD/openswan-2.6.29/lib/libipsecconf/parser.l:2:1:
      warning: this is the location of the previous definition
    * /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
    * /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
    * /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
    * /usr/src/packages/BUILD/openswan-2.6.29/modobj26/pfkey_v2.c:135:
      warning: initialization from incompatible pointer type


I'm no coder so above doesn't tell me much, really...

    Danilo


>
>>> [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:
>
>>> [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.518310] Process spi (pid: 20368, threadinfo ffff8801365da000,
>
>>> [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?
>
> Hmm, no idea based on this strace. Sorry....
>
> Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20100929/87f3d64f/attachment.html 


More information about the Users mailing list