Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can I know what is using a specific module?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
houqp
n00b
n00b


Joined: 22 Feb 2011
Posts: 28
Location: China

PostPosted: Thu Mar 24, 2011 3:56 pm    Post subject: How can I know what is using a specific module? Reply with quote

Hi all,

I am currently playing with a kernel module but find myself cannot successfully remove it:
Code:
gentoo-tpm tmp # rmmod cipherflt
ERROR: Module cipherflt is in use


I tried the command lsmod:
Code:
gentoo-tpm tmp # lsmod |grep cipherflt
cipherflt              11705  1
redirfs                42644  1 cipherflt,[permanent]


It only tell me that there is something using that cipherflt module, but I cannot find out what is that. So I cannot use rmmod to remove cipherflt.
Are there other tools that I can use to get more information about the loaded module?

Thanks
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Thu Mar 24, 2011 4:12 pm    Post subject: Reply with quote

it's all here: cipherflt is used by redirfs (which cannot be unloaded, hence "permanent" marker)
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Thu Mar 24, 2011 6:16 pm    Post subject: Reply with quote

actually it is the other way around...
cipherflt depends on redirfs - which cannot be removed.

as for the original question - i do not know.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Thu Mar 24, 2011 7:11 pm    Post subject: Reply with quote

Judging from the name and what I read about RedirFS, cipherflt seems to be a
crypto "filter" module for redirfs. Do you have any volumes encrypted without
LVM/LUKS/other std. kernel infrastructure?
Back to top
View user's profile Send private message
houqp
n00b
n00b


Joined: 22 Feb 2011
Posts: 28
Location: China

PostPosted: Fri Mar 25, 2011 3:26 am    Post subject: Reply with quote

roarinelk wrote:
Judging from the name and what I read about RedirFS, cipherflt seems to be a
crypto "filter" module for redirfs. Do you have any volumes encrypted without
LVM/LUKS/other std. kernel infrastructure?


Yes, you are right. I actually, I don't have any volumes encrypted. I just apply the filter to a specific directory.

Thanks,
Houqp
Back to top
View user's profile Send private message
houqp
n00b
n00b


Joined: 22 Feb 2011
Posts: 28
Location: China

PostPosted: Fri Mar 25, 2011 3:28 am    Post subject: Reply with quote

Veldrin wrote:
actually it is the other way around...
cipherflt depends on redirfs - which cannot be removed.


I see, so the problem is redirfs. I suspect it is also used by redirfs .

Regards,

Houqp
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum