public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Trouble unloading a module..
Date: Mon, 31 Oct 2005 21:56:21 -0600	[thread overview]
Message-ID: <4366E765.9070603@shaw.ca> (raw)
In-Reply-To: <53LbV-6pW-21@gated-at.bofh.it>

James Hansen wrote:
> However, on a 64bit machine (unofficial amd/emt64 debian with 2.6.8), 
> even though it seems to unload corrrectly, I get a kernel oops if an 
> application that uses the driver attempts to connect to the device after 
> it's been unloaded.

I'm guessing the driver isn't properly unregistering itself from 
wherever it is it has registered with (block/character device). Anything 
where the driver is registering function pointers, references, etc. to 
itself needs to be cleaned up on module removal.

The oops stacktrace may point to what it is that has been left behind..

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/


       reply	other threads:[~2005-11-01  3:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <53LbV-6pW-21@gated-at.bofh.it>
2005-11-01  3:56 ` Robert Hancock [this message]
2005-10-31 16:49 Trouble unloading a module James Hansen
2005-11-02  8:11 ` Arjan van de Ven
2005-11-02 12:13   ` James Hansen
2005-11-02 12:39     ` Arjan van de Ven
2005-11-03 11:58       ` James Hansen

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=4366E765.9070603@shaw.ca \
    --to=hancockr@shaw.ca \
    --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