<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=US-ASCII" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Paul Wouters wrote:
<blockquote cite="midPine.LNX.4.63.0602242039060.2063@tla.xelerance.com"
type="cite">
<pre wrap="">On Fri, 24 Feb 2006, Patrick Hartemann wrote:
</pre>
<blockquote type="cite">
<pre wrap="">we've modified, recompiled and installed openswan 2.4.4-1 on RHEL4 - 2.6.9-22.0.2.ELsmp - based on SRPM for fedora4.
All seems ok, recompilation and installation, we could modprobe the module ipsec but ....
the start of ipsec userland freezes the system, and modprobe -r of module generates a panic.
</pre>
</blockquote>
<pre wrap=""><!---->
How have you "modified" it?
</pre>
<blockquote type="cite">
<pre wrap="">Feb 24 07:24:38 ch-dev-3 kernel: kernel BUG at fs/proc/generic.c:687!
Feb 24 07:24:38 ch-dev-3 kernel: invalid operand: 0000 [#1]
Feb 24 07:24:38 ch-dev-3 kernel: SMP
Feb 24 07:24:38 ch-dev-3 kernel: Modules linked in: ipsec(U) md5 ipv6 button battery ac uhci_hcd snd_ens1371 snd_rawmidi snd_seq_dev
</pre>
</blockquote>
<pre wrap=""><!---->
Can you check out the 2_4_X CVS branch and try that? It has a fix that might
fix this SMP crasher you are observing.
Paul
---------------------------------------------------------------------------------------
Wanadoo vous informe que cet e-mail a ete controle par l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
</pre>
</blockquote>
Hello Paul,<br>
<br>
I've tried your suggest (I'm using 2.4.5rc5 vers), and it's working
fine with a non smp kernel(2.6.9-22.0.2EL) .... <span
class="moz-smiley-s5"><span> :-D </span></span><br>
With smp kernel(2.6.9-22.0.2ELsmp), we're getting always same issue ...
<span class="moz-smiley-s6"><span> :-[ </span></span><br>
During ipsec service start these messages appear on the console :<br>
ipsec_aes_init(alg_type=15 alg_id=12 name=aes): ret=0<br>
ipsec_3des_init(alg_type=15 alg_id=3 name=3des): ret=0<br>
and afterward the system is freezed.<br>
<br>
The changes we've made in spec file ,between the original fedora4 specs
file and own, are :<br>
<pre wrap="">root@ch-dev-3 SPECS]# diff openswan.spec rhel4.openswan.spec
3c3
< Version: 2.4.4
---<span class="moz-txt-citetags">
> </span>Version: 2.4.5rc5
</pre>
<pre wrap=""><!---->5c5
< %{!?buildklips: %{expand: %%define buildklips 0}}
---<span class="moz-txt-citetags">
> </span>%{!?buildklips: %{expand: %%define buildklips 1}}
</pre>
<pre wrap=""><!---->11c11
< %define defkv %(rpm -q kernel kernel-smp| grep -v "not installed" | sed
"s/kernel-smp-\\\(.\*\\\)$/\\1smp/"| sed "s/kernel-//"| sort | tail -1)
---<span class="moz-txt-citetags">
> </span>%define defkv %(rpm -q kernel kernel-smp| grep -v "not installed" | sed
</pre>
<pre wrap=""><!---->"s/kernel-smp-\\\(.\*\\\)$/\\1smp/"| sed "s/kernel-//"| tail -1)
12a13,14<span class="moz-txt-citetags">
> </span>%define ksource <i class="moz-txt-slash"><span
class="moz-txt-tag">/</span>usr/src/kernels<span class="moz-txt-tag">/</span></i>%(echo %{kversion} | sed
</pre>
<pre wrap=""><!---->"s/\\\(.\*\\\)smp$/\\1-smp/")-%{_target_cpu}<span
class="moz-txt-citetags">
></span>
</pre>
<pre wrap=""><!---->17c19
< %define ourrelease 1
---<span class="moz-txt-citetags">
> </span>%define ourrelease 1.el4.act
</pre>
<pre wrap=""><!---->81a84<span class="moz-txt-citetags">
> </span>echo %{ksource} - %{kversion}
</pre>
<pre wrap=""><!---->100c103
< KERNELSRC=<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>lib/modules<span
class="moz-txt-tag">/</span></i>%{kversion}/build \
---<span class="moz-txt-citetags">
> </span> KERNELSRC=%{ksource} \
</pre>
<pre wrap=""><!---->[root@ch-dev-3 SPECS]#
---------------------------------------------------------------------------------------------------
In fact these are just the right directories def to get the kernel source.
Have you an other idea or experience with a smp kernel ?
Best regards
patrick hartemann
</pre>
<br>
<br>
<br>
</body>
</html>