public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Krzysztof Halasa <khc@pm.waw.pl>
Cc: Dave Jones <davej@codemonkey.org.uk>, linux-kernel@vger.kernel.org
Subject: Re: agpgart.ko can't be unloaded
Date: Sat, 17 Dec 2005 12:31:12 +1100	[thread overview]
Message-ID: <1134783072.7402.2.camel@localhost.localdomain> (raw)
In-Reply-To: <m31x0ehz8m.fsf@defiant.localdomain>

On Thu, 2005-12-15 at 21:38 +0100, Krzysztof Halasa wrote:
> > I recently noticed that agpgart.ko (and corresponding hardware driver)
> > can't be unloaded:
> >
> > Module                  Size  Used by
> > intel_agp              19228  1 
> > agpgart                27592  1 intel_agp
> 
> BTW: "rmmod -w agpgart intel_agp" hangs in uninterruptible sleep state
> ("D") forever.

That can happen; "rmmod -w" will block until it's no longer used.  Still
used, still waiting.

Looks from these refcounts that intel_agp is being used.  Who is holding
the refcount?

Cheers,
Rusty.
-- 
 ccontrol: http://ozlabs.org/~rusty/ccontrol


  reply	other threads:[~2005-12-17  1:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-15 20:19 agpgart.ko can't be unloaded Krzysztof Halasa
2005-12-15 20:38 ` Krzysztof Halasa
2005-12-17  1:31   ` Rusty Russell [this message]
2005-12-17 15:16     ` Krzysztof Halasa
2005-12-15 20:52 ` Dave Jones
2005-12-15 22:58   ` Krzysztof Halasa
2005-12-16 22:28 ` Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1134783072.7402.2.camel@localhost.localdomain \
    --to=rusty@rustcorp.com.au \
    --cc=davej@codemonkey.org.uk \
    --cc=khc@pm.waw.pl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox