LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error: No such device !! what does that mean? (https://www.linuxquestions.org/questions/linux-software-2/error-no-such-device-what-does-that-mean-570984/)

ankit4u1 07-20-2007 01:33 PM

Error: No such device !! what does that mean?
 
Hi, I am trying to configure/install Openswan on my linux box using RHEL 5.

when I do

service ipsec start, i get the following

root@localhost openswan-3.0.06]# service ipsec start
ipsec_setup: Starting Openswan IPsec 3.0.06GITGITGIT...
ipsec_setup: FATAL: Error inserting ipsec (/lib/modules/2.6.18.8/kernel/net/ipsec/ipsec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
ipsec_setup: calcgoo: warning: 2.6 kernel with kallsyms not supported yet
ipsec_setup: insmod /lib/modules/2.6.18.8/kernel/drivers/crypto/padlock.ko
ipsec_setup: FATAL: Error inserting padlock (/lib/modules/2.6.18.8/kernel/drivers/crypto/padlock.ko): No such device
ipsec_setup: insmod /lib/modules/2.6.18.8/kernel/net/ipsec/ipsec.ko
ipsec_setup: FATAL: Error inserting ipsec (/lib/modules/2.6.18.8/kernel/net/ipsec/ipsec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
ipsec_setup: kernel appears to lack IPsec support (neither CONFIG_KLIPS or CONFIG_NET_KEY are set)




What does " Error inserting ipsec", "Error inserting padlock" , "No such device" mean?

I am newbie to linux, so please explain from scratch !! I would appreciate it !! thanks..


Ankit

lazlow 07-20-2007 01:52 PM

From: http://www.openswan.org/code/

Quote:

The Openswan 2 branch supports Linux Kernels 2.4 via KLIPS, and Linux Kernel 2.6 with the NETKEY (aka "26sec" or "native") IPsec stack. Openswan 2.x is the only version which supports the Linux 2.6 Kernel.

I would guess that you will need a custom kernel.

ankit4u1 07-20-2007 01:57 PM

Quote:

I would guess that you will need a custom kernel.
Yes, dat's right !! I already recompiled kernel 2.6.18.8 and then installed openswan 3.0.06. I am using the 3.x.x version as I need OCF support !! I want to build OCF with Openswan

If I use 2.x.x version, then openswan runs fine and service ipsec start runs fine ! But then it creates problems in OCF.

I guess, if i solve those "no such device errors", everything should be fine , but i don't have much idea, what does these errors mean !!

slimm609 07-21-2007 11:46 PM

The VIA padlock that is in your dmesg is a hardware device that is part of certain chipsets. Thats why it says device not found.

ankit4u1 07-23-2007 11:07 PM

Hey, great that you posted in this thread ..u found out another thread of mine. Thanks man !! The moderator was a little bit harsh on me as he closed the thread which had more posts in it !!

Anyways, I think, I committed some mistake in recompiling the kernel only. I solved the error of KLIPS !!!

Now I need to integrate Openswan with OCF, which I have no idea about !!!! If you know, I would appreciate it !! Thank you.

Regards,
Ankit


All times are GMT -5. The time now is 07:07 AM.