LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   [ECRYPTFS] ecryptfs_init_miscdev: Error whilst attempting to open [/dev/ecryptfs] (http://www.linuxquestions.org/questions/linux-kernel-70/%5Becryptfs%5D-ecryptfs_init_miscdev-error-whilst-attempting-to-open-%5B-dev-ecryptfs%5D-797020/)

nitinarora 03-22-2010 05:36 AM

[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


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