IPv6 readyNote: This archive passes through spamassassin. Every mail marked with the subject "*****SPAM*****" has exceed a certain threshold of spam-like behaviour.

Re: [Users] Info on Error: *** IPsec not in kernel config (/usr/src/linux/.config)!!

From: TechnoSF (technosf_at_speakeasy.net)
Date: Sun Jul 28 2002 - 22:41:54 CEST


Yep, I had a similar idea... I took the .config and used it with menugo on a different machine to get the IPSEC config in.

The problem appears to be after the IPSEC changes are applied to .config as menuconfig (or menugo for that matter) starts. Once in menuconfig the .config reverts back to its previous state, sans IPSEC config - no IPSEC config options appear in "networking--->". I double checked as per your instructions and the result is the same.

Taking a wildly uniformed guess, I'd say that the kernel "make ***config" is stripping out the IPSEC config params, and assuming that Freeswan links into this make to absorb the IPSEC configs, that this link between kernel make and FS make is not being applied post uninstall_freeswan.

Although I've tried reextracting either of both the kernel sources and Freeswan and rebuilding from scrath, I'm going to scrub them both and try building from pristine source.

Thanks Sam

BTW, no errors in out.kpatch

TSF

*********** REPLY SEPARATOR ***********

On 7/27/2002 at 05:05 Sam Sgro wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>
>
>On Sat, 27 Jul 2002, TechnoSF wrote:
>
>> Hey Sam,
>>
>> thanks for the pointer to the RPM's.
>>
>> I did the make insert but no IPSEC config's were inserted into the
>.config. The make insert output is below:
>>
>>
>>
>> [root_at_www freeswan-1.98b]# make insert
>*snip*
>> + cp -a /usr/src/linux/.config /usr/src/linux/.config.orig
>> + chmod u+w /usr/src/linux/.config
>> + cat /usr/src/linux/.config /usr/src/linux/net/ipsec/defconfig
>> + rm -f /usr/src/linux/.config
>> + cp -a /usr/src/linux/.config.tmp /usr/src/linux/.config
>> + rm -f /usr/src/linux/.config.tmp
>> [root_at_www freeswan-1.98b]#
>
>That output is what you SHOULD see on a successful patch attempt.
>Can you check "out.kpatch" to see if it shows any further error messages?
>
>The line that really matters in this process isn't fully displayed when
>you
>run the script like this.
>
>cat /usr/src/linux/.config /usr/src/linux/net/ipsec/defconfig >
>/usr/src/linux/.config.tmp
>
>... is the crucial line. All it does is tack the contents of
>"/usr/src/linux/net/ipsec/defconfig/" onto the end of
>"/usr/src/linux/.config.tmp", which then gets copied into place as
>".config".
>
>Perhaps if you issue the commands manually (taking into account the
>addition of "> /usr/src/linux/.config.tmp" to the "cat" line) you can find
>out
>directly what is causing the problem. As long as you accomplish what the
>script is trying to do (eg tack on "defconfig" to the end of ".config")
>you
>should be able to get past this stage.
>
>Sam Sgro
>sam_at_freeswan.org
>
>-----BEGIN PGP SIGNATURE-----
>Version: 2.6.3ia
>Charset: noconv
>Comment: For the matching public key, finger the Reply-To: address.
>
>iQCVAwUBPUJiXkOSC4btEQUtAQECHAQAsbQvGefCUmUEWbY/+tq0Mp6mdRmPTh2s
>aWqBAcbEANNPQEvRKNVyjlECowL4Hv62iPA5VJZuTeQSnbZeILzQpxOp9mgHUy/k
>hI1ro0XXfxCI1pYwMmQmMW8uwyZTmz7Bm/6UM46oYCLE8lBEQhNEf2F97uWBko8M
>K2OchNAKVU0=
>=PUEo
>-----END PGP SIGNATURE-----

_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users



This archive was generated by hypermail 2.1.3 : Mon Jul 29 2002 - 05:20:28 CEST