[Openswan Users] - kernel panic (follow-up)
mario.lobo at ipad.com.br
mario.lobo at ipad.com.br
Tue Mar 1 14:30:03 CET 2005
Hello Paul;
First, forgive me for disturbing you like this, but I still can´t get it to work.
you told me to:
> export KERNELSRC=/your/linux/tree
> cd openswan-2
> make module
> make minstall
Here is the result:
[/usr/src/openswan-2test]>make module
Building module for a 2.6 kernel
make[1]: Entering directory `/usr/src/openswan-2test'
make[2]: Entering directory `/usr/src/openswan-2test'
make[2]: `/usr/src/openswan-2test//Makefile' is up to date.
make[2]: Leaving directory `/usr/src/openswan-2test'
make -C /usr/src/linux-2.6.11-test BUILDDIR=/usr/src/openswan-2test/ SUBDIRS=/usr/src/openswan-
2test/ MODULE_DEF_INCLUDE=/usr/src/openswan-2test/packaging/linus/config-all.h ARCH=i386 modules
make[2]: Entering directory `/usr/src/linux-2.6.11-test'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.11-test'
=========================================================
KLIPS26 module built successfully.
ipsec.ko is in /usr/src/openswan-2test/
ls: ipsec.ko: No such file or directory
make[1]: *** [module26] Error 1
make[1]: Leaving directory `/usr/src/openswan-2test'
make: *** [module] Error 2
------------------------
I also tried:
[/usr/src/openswan-2test]>make module26
make[1]: Entering directory `/usr/src/openswan-2test'
make[1]: `/usr/src/openswan-2test//Makefile' is up to date.
make[1]: Leaving directory `/usr/src/openswan-2test'
make -C /usr/src/linux-2.6.11-test BUILDDIR=/usr/src/openswan-2test/ SUBDIRS=/usr/src/openswan-
2test/ MODULE_DEF_INCLUDE=/usr/src/openswan-2test/packaging/linus/config-all.h ARCH=i386 modules
make[1]: Entering directory `/usr/src/linux-2.6.11-test'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.11-test'
=========================================================
KLIPS26 module built successfully.
ipsec.ko is in /usr/src/openswan-2test/
ls: ipsec.ko: No such file or directory
make: *** [module26] Error 1
--------------------
I used a clean kernel (2.6.11) with none of the openswan files copied to the kernel tree and no
patches applied.
As you saw on my previous post, I tried the same thing WITH the openswan KLIPS code inside the
kernel tree and results were like I posted. A bunch of .ko files, no ipsec.ko and those undefined
symbol errors.
Could you point me a direction (iptables rules-wise) on how to make it work with NETKEY. Although I
really wanted it to work, I am kinda prone to give up KLIPS. What ever I try (kernel versions), it
either compiles and doesn´t work (inline) or it doesn´t compile (module) :(.
Again, thank you for your kind attention,
Best regards,
//| //||
// | // ||
-//--//---|| ARIO LOBO
// // ||
---------------------------------
mario.lobo at ipad.com.br
http://www.ipad.com.br
More information about the Users
mailing list