[nandsim] how to rmmod nandsim or get to know who is using it

zheng shi neversetsun at gmail.com
Tue Apr 19 22:03:43 EDT 2011


Artem,
I can't rmmod mtdblock either since it's also in use but have no known user.
Please have a check of my lsmod result below.

Would you please have a try if nandsim can be rmmod after installation?
2.6.35 and mtd-2.6 git tree has such problem but 2.6.32 has no such problem.
Could it be caused by VFS change?

Thanks!

pc:~$ uname -a
Linux pc 2.6.35.9 #2 SMP Tue Mar 29 00:30:21 CST 2011 i686 GNU/Linux
pc:~$ lsmod
Module                  Size  Used by
mtdblock                2985  1
mtd_blkdevs             4787  1 mtdblock
mtdchar                 7514  0
nandsim                28682  1
nand                   34487  1 nandsim
nand_ecc                3938  1 nand
nand_ids                2903  2 nandsim,nand
mtd                    18747  7 mtd_blkdevs,mtdchar,nandsim,nand

On Mon, Apr 18, 2011 at 1:03 PM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Fri, 2011-04-15 at 01:11 +0800, zheng shi wrote:
>> Hi All,
>> After mtdblock is installed, someone is using nandsim module.
>> But I don't know who is using it.
>> I have used lsof to check if there's any possible user.
>> There's no such problem with linux-2.6.32.
>
> I think this is mtdblock. did you try to rmmod mtdblock?
>
> --
> Best Regards,
> Artem Bityutskiy (Артём Битюцкий)
>
>



-- 
Regards, Shizheng



More information about the linux-mtd mailing list