Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 03-22-2010, 06:36 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 19

Rep: Reputation: 0
[ECRYPTFS] ecryptfs_init_miscdev: Error whilst attempting to open [/dev/ecryptfs]

Hello All,

I am trying to port ecryptfs on mips target.
But when I run ecryptfsd it gives me the following error.

ecryptfs_init_miscdev: Error whilst attempting to open [/dev/ecryptfs]; errno msg = [No such device]
./ecryptfsd[528]: ecryptfs_init_miscdev: Error whilst attempting to open [/dev/misc/ecryptfs]; errno msg = [No such device]

main: Failed to initialize messaging; rc = [-5]
Failed to send eCryptfs miscdev message; errno msg = [Bad file descriptor]
ecryptfs_send_message: Failed to register miscdev daemon with the eCryptfs kernel module; rc = [-5]
ecryptfsd_exit: Error attempting to send quit message to kernel; rc = [-5]
ecryptfsd_exit: Closing eCryptfs userspace daemon

It runs fine on the the desktop.
I have created the /dev/ecryptfs using the mknod command as mentioned below.
mknod /dev/ecryptfs c 10 58

But it still reports the same error.
Target conatains a read only file system so I have to create the device file separately and then burn the file system image on the target.

Please suggest any solution whoever has faced such problem and solved it.

Thanks in advance


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while compiling ecryptfs utils : undefined reference to `PK11_ImportSymKey' nitinarora Linux - Kernel 3 11-24-2009 05:21 AM
Use ecryptfs for FTP login security? epolanco Linux - Security 4 08-27-2009 03:53 PM
Can't "make config" whilst attempting wifi card install on Debian Sarge. Keychain Linux - Hardware 3 09-19-2008 12:24 PM
ecryptfs installation problem nkd Linux - Security 3 10-02-2007 04:30 PM
Error whilst intalling 'libgtk2.0-dev', 'Broken Pipe'?! Eerath MEPIS 4 08-15-2005 10:47 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration