[Openswan Users] Cause of kernel bug in AES_set_key

Paul Wouters paul at xelerance.com
Thu Apr 15 13:02:19 EDT 2010

On Thu, 15 Apr 2010, David McCullough wrote:

>> BUG: unable to handle kernel NULL pointer dereference at 00000000
>> IP: [<f865a6ad>] aes_32+0x3/0x496 [ipsec]

>> (last checked: kernel and openswan 2.6.24). I couldn't check
>> openswan 2.6.25 due to an other problem but never mind. Configuring
>> CONFIG_FRAME_POINTER=y always gave me the kernel bug and changing it to
>> disabled did the trick.
> Ok,  the problem is in the assembly, openswan only builds the assembler
> versions for i386 with CONFIG_FRAME_POINTER=y,  everything else uses the 'C'
> code.
> A simple patch that should allow you to use CONFIG_FRAME_POINTER=y is
> attached,

I could swear that this was already patched in the tree a long time ago when this
came up before?


More information about the Users mailing list