Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while inserting ecryptfs module #2

Open
KrishnaPrasadBV opened this issue Feb 22, 2012 · 5 comments
Open

Error while inserting ecryptfs module #2

KrishnaPrasadBV opened this issue Feb 22, 2012 · 5 comments

Comments

@KrishnaPrasadBV
Copy link

Hi,
I was able to install KGPU framework. But when I tried using insmod ./ecryptfs.ko, it always gives an error -1 Device busy. I tried to trace the insertion through strace, the ecryptfs fails in __init_module as EBUSY is returned. I also checked dmesg output, it indicates Failed to register File System.
I am on Ubuntu 11.04 2.6.39.4. What may be going wrong?

@wbsun
Copy link
Owner

wbsun commented Feb 22, 2012

Not quite sure about Ubuntu 11.04, but did you checked with lsmod whether the system's default ecryptfs module was already been loaded? Then please rmmod ecryptfs to remove it. And if you are using any encrypted folder feature on Ubuntu, then you may have to umount it to remove the ecryptfs module.

@KrishnaPrasadBV
Copy link
Author

Hi,

I checked lsmod, and the ecryptfs module was not loaded.


From: Weibin Sun [[email protected]]
Sent: 22 February 2012 23:25:33
To: Krishna Prasad BV (MT2011066)
Subject: Re: [kgpu] Error while inserting ecryptfs module (#2)

Not quite sure about Ubuntu 11.04, but did you checked with lsmod whether the system's default ecryptfs module was already been loaded? Then please rmmod ecryptfs to remove it. And if you are using any encrypted folder feature on Ubuntu, then you may have to umount it to remove the ecryptfs module.


Reply to this email directly or view it on GitHub:
#2 (comment)

@wbsun
Copy link
Owner

wbsun commented Feb 27, 2012

Can you try 'sudo modprobe ecryptfs' to load the system's default ecryptfs, see what happens?

@KrishnaPrasadBV
Copy link
Author

Hi,
I tried 'sudo modprobe ecryptfs', it did not give any error. So, I tried creating private directory using ecryptfs, and it is working fine. Also, I had a doubt, to add a new module, what are the steps to be followed? Should the .cu files also be compiled to kernel modules for the new program?

@KrishnaPrasadBV
Copy link
Author

Hi,
I could not load ecryptfs module, but I was able to load the test module, and use callgpu, and other kernel modules. I wanted to pass some parameters to the code running on GPU, and I do not know how to pass them. I was checking the kgpu_map_page() function? Is this the one to be used, to pass parameters? Can you tell me how to go about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants