Re: agpgart.ko can't be unloaded

From: Rusty Russell
Date: Fri Dec 16 2005 - 20:30:21 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/