[Openswan dev] Re: [Users] Pluto crashes when using 2.6 native stack (fwd)

Paul Wouters paul at xtdnet.nl
Thu Mar 4 16:05:01 CET 2004


See attached ksymoops. I find it a bit strange, since Christian claimed it to
be a 2.6 kernel, but it is a 2.4 kernel, and I think a superfreeswan version,
since the crash happens in the ALG patch code.

JuanJo, can you see if this is an old fixed problem, or some new obscure
problem we also need to fix for ALG in openswan?

Christian says he couldn't reproduce it either, so this is all we got :(

Paul

---------- Forwarded message ----------
Date: Tue, 2 Mar 2004 09:15:30 +0100
From: Christian Welzel <gawain at camlann.de>
To: Paul Wouters <paul at xtdnet.nl>
Subject: Re: [Users] Pluto crashes when using 2.6 native stack

--Boundary-01=_iKERA3pqfwkQcIl
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Description: body text
Content-Disposition: inline

Am Dienstag, 2. M=E4rz 2004 00:28 schrieb Paul Wouters:

> Can you run this through ksymoops ?

I have attached the output to this mail.

> And could you enable dumpdir=3D/tmp in ipsec.conf and run gdb on the core=
 and
> the file with the "backtrace" command?

Hm. I inserted the line "dumpdir=3D/tmp" into the setup section and restart=
ed
freeswan on the router. Then i started freeswan/linux2.6 on my client, and =
all
works fine. i rebooted the client machine (just in case) and it also worked
without crash.
Strange.

=2D-=20
 MfG, Christian Welzel
  (Sektionsvorsitzender und Admin AG DSN Gerokstrasse)

  GPG-Key:     http://www.wh9.tu-dresden.de/~gawain/www.camlann.de/key.asc
  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15

--Boundary-01=_iKERA3pqfwkQcIl
Content-Type: text/plain;
  charset="iso-8859-15";
  name="oops.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="oops.txt"

ksymoops 2.4.5 on i686 2.4.24-grsec.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.24-grsec/ (default)
     -m /boot/System.map-2.4.24-grsec (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Error (regular_file): read_ksyms stat /proc/ksyms failed
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Error (regular_file): Oops_next_file stat debug failed
=46eb 29 20:31:36 black-hole kernel: Unable to handle kernel paging request=
 at virtual address 082172e8
=46eb 29 20:31:36 black-hole kernel: 000aeba7
=46eb 29 20:31:36 black-hole kernel: *pde =3D 1f920067
=46eb 29 20:31:36 black-hole kernel: Oops: 0000
=46eb 29 20:31:36 black-hole kernel: CPU:    0
=46eb 29 20:31:36 black-hole kernel: EIP:    0010:[crypto_exit_ops+7/96]   =
 Not tainted
=46eb 29 20:31:36 black-hole kernel: EFLAGS: 00010286
=46eb 29 20:31:36 black-hole kernel: eax: 082172e0   ebx: da5b99c0   ecx: d=
a5b99c0   edx: da5b99c0
=46eb 29 20:31:36 black-hole kernel: esi: c0116654   edi: daa86d94   ebp: 0=
0000014   esp: deb7dd80
=46eb 29 20:31:36 black-hole kernel: ds: 0018   es: 0018   ss: 0018
=46eb 29 20:31:36 black-hole kernel: Process pluto (pid: 30100, stackpage=
=3Ddeb7d000)
=46eb 29 20:31:36 black-hole kernel: Stack: 000aecbb da5b99c0 da5b99c0 0011=
fe26 da5b99c0 00000014 df51f400 00109a2a=20
=46eb 29 20:31:36 black-hole kernel:        c0116654 da5b99c0 0000006c deb7=
ddf8 0000001b deb7de70 30707365 33646178=20
=46eb 29 20:31:36 black-hole kernel:        65326466 34314031 36372e31 3032=
312e 3137312e 00000000 001153c6 de968f80=20
=46eb 29 20:31:36 black-hole kernel: Call Trace:    [crypto_free_tfm+11/48]=
 [_capi_destroy_key+70/80] [ipsec_sa_wipe+410/755] [pfkey_msg_interp+262/33=
6] [pfkey_msg_interp+285/336]
=46eb 29 20:31:36 black-hole kernel: Code: 0f b6 40 08 83 f8 02 74 21 77 0e=
 83 f8 01 74 10 eb 37 8d b4=20
Using defaults from ksymoops -t elf32-i386 -a i386


>>eax; 082172e0 <_etext+80d73a9/bffc00e9>
>>ebx; da5b99c0 <_end+19db99c0/3f5b6c60>
>>ecx; da5b99c0 <_end+19db99c0/3f5b6c60>
>>edx; da5b99c0 <_end+19db99c0/3f5b6c60>
>>esi; c0116654 <alg_capi_carray+10/2bc>
>>edi; daa86d94 <_end+1a286d94/3f5b6c60>
>>esp; deb7dd80 <_end+1e37dd80/3f5b6c60>

Code;  00000000 Before first symbol
00000000 <_EIP>:
Code;  00000000 Before first symbol
   0:   0f b6 40 08               movzbl 0x8(%eax),%eax
Code;  00000004 Before first symbol
   4:   83 f8 02                  cmp    $0x2,%eax
Code;  00000007 Before first symbol
   7:   74 21                     je     2a <_EIP+0x2a> 0000002a Before fir=
st symbol
Code;  00000009 Before first symbol
   9:   77 0e                     ja     19 <_EIP+0x19> 00000019 Before fir=
st symbol
Code;  0000000b Before first symbol
   b:   83 f8 01                  cmp    $0x1,%eax
Code;  0000000e Before first symbol
   e:   74 10                     je     20 <_EIP+0x20> 00000020 Before fir=
st symbol
Code;  00000010 Before first symbol
  10:   eb 37                     jmp    49 <_EIP+0x49> 00000049 Before fir=
st symbol
Code;  00000012 Before first symbol
  12:   8d b4 00 00 00 00 00      lea    0x0(%eax,%eax,1),%esi


1 warning and 2 errors issued.  Results may not be reliable.

--Boundary-01=_iKERA3pqfwkQcIl--

--Boundary-01=_iKERA3pqfwkQcIl
Content-Type: TEXT/PLAIN; CHARSET=iso-8859-15; NAME="oops.txt"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <Pine.LNX.4.44.0403021207283.19858 at expansionpack.xtdnet.nl>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME="oops.txt"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAREKnwmhtJHChrRURAiLKAJ9UVEvYQ/XOPded03X5LghJlFTqYwCcD/u6
/MRtT5GQoUe/ug1TfTKTrqg=
=6zuF
-----END PGP SIGNATURE-----




More information about the Dev mailing list