public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Ross Vandegrift <ross@kallisti.us>
Cc: Andreas Schwab <schwab@suse.de>, linux-kernel@vger.kernel.org
Subject: Re: why can't I remove a kernel module (or: what uses a given module)?
Date: Sun, 03 Dec 2006 20:59:10 +0100	[thread overview]
Message-ID: <45732C8E.4060801@wpkg.org> (raw)
In-Reply-To: <20061203154936.GB26669@kallisti.us>

Ross Vandegrift wrote:
> On Sun, Dec 03, 2006 at 12:58:24PM +0100, Tomasz Chmielewski wrote:
>> You mean the "Used by" column? No, it's not used by any other module 
>> according to lsmod output.
>>
>> Any other methods of checking what uses /dev/sda*?
> 
> There's a good chance that if it was loaded at system boot, hald or
> udev may be doing something with it.

This machine doesn't have hal; when I kill udevd still doesn't help.

Yes, something's using that drive, be it a program, a module (unlikely), 
or something that is compiled directly in the kernel (for example, 
md/raid1).
But what is it?

Kernel knows it, as it refuses to remove the module (via rmmod), but how 
to tell kernel to share this knowledge with me?


-- 
Tomasz Chmielewski
http://wpkg.org


  reply	other threads:[~2006-12-03 19:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-03 11:20 why can't I remove a kernel module (or: what uses a given module)? Tomasz Chmielewski
2006-12-03 11:34 ` Andreas Schwab
2006-12-03 11:58   ` Tomasz Chmielewski
2006-12-03 15:49     ` Ross Vandegrift
2006-12-03 19:59       ` Tomasz Chmielewski [this message]
2006-12-03 23:42         ` Jim Crilly
2006-12-04  8:02           ` Tomasz Chmielewski
2006-12-04 10:10         ` Tobias Oed
2006-12-04 10:39           ` Tomasz Chmielewski
2006-12-05  0:15           ` Michal Jaegermann

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=45732C8E.4060801@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ross@kallisti.us \
    --cc=schwab@suse.de \
    /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