linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Re: [nandsim] how to rmmod nandsim or get to know who is using it
       [not found]   ` <BANLkTimYunfWMLejECBC5gCJzCtSv_bTCA@mail.gmail.com>
@ 2011-04-18  5:03     ` Artem Bityutskiy
  2011-04-20  2:03       ` zheng shi
  0 siblings, 1 reply; 4+ messages in thread
From: Artem Bityutskiy @ 2011-04-18  5:03 UTC (permalink / raw)
  To: zheng shi; +Cc: linux-mtd

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 (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [nandsim] how to rmmod nandsim or get to know who is using it
  2011-04-18  5:03     ` [nandsim] how to rmmod nandsim or get to know who is using it Artem Bityutskiy
@ 2011-04-20  2:03       ` zheng shi
  2011-04-20  3:08         ` Kevin Cernekee
  0 siblings, 1 reply; 4+ messages in thread
From: zheng shi @ 2011-04-20  2:03 UTC (permalink / raw)
  To: linux-mtd, dedekind1

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@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [nandsim] how to rmmod nandsim or get to know who is using it
  2011-04-20  2:03       ` zheng shi
@ 2011-04-20  3:08         ` Kevin Cernekee
  2011-04-20 17:22           ` zheng shi
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Cernekee @ 2011-04-20  3:08 UTC (permalink / raw)
  To: zheng shi; +Cc: linux-mtd, dedekind1

On Tue, Apr 19, 2011 at 7:03 PM, zheng shi <neversetsun@gmail.com> wrote:
> 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?

Might be this problem:

http://lists.infradead.org/pipermail/linux-mtd/2010-July/031029.html

Based on my reading of the history, it was fixed by commit 008c751e so
it would have affected 2.6.35 and 2.6.36.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [nandsim] how to rmmod nandsim or get to know who is using it
  2011-04-20  3:08         ` Kevin Cernekee
@ 2011-04-20 17:22           ` zheng shi
  0 siblings, 0 replies; 4+ messages in thread
From: zheng shi @ 2011-04-20 17:22 UTC (permalink / raw)
  To: Kevin Cernekee; +Cc: linux-mtd, dedekind1

Thanks. The patch works!

On Wed, Apr 20, 2011 at 11:08 AM, Kevin Cernekee <cernekee@gmail.com> wrote:
> On Tue, Apr 19, 2011 at 7:03 PM, zheng shi <neversetsun@gmail.com> wrote:
>> 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?
>
> Might be this problem:
>
> http://lists.infradead.org/pipermail/linux-mtd/2010-July/031029.html
>
> Based on my reading of the history, it was fixed by commit 008c751e so
> it would have affected 2.6.35 and 2.6.36.
>



-- 
Regards, Shizheng

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-20 17:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTin9=ADCP4OQH8Y=6ZKo6CGwTWODz95eUuRsT355@mail.gmail.com>
     [not found] ` <AANLkTimO9guyhUUk8D7i-K=Tt4wF8d+mfFoV29mOZoeD@mail.gmail.com>
     [not found]   ` <BANLkTimYunfWMLejECBC5gCJzCtSv_bTCA@mail.gmail.com>
2011-04-18  5:03     ` [nandsim] how to rmmod nandsim or get to know who is using it Artem Bityutskiy
2011-04-20  2:03       ` zheng shi
2011-04-20  3:08         ` Kevin Cernekee
2011-04-20 17:22           ` zheng shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).