mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Olien <dmo@osdl.org>
To: linux-kernel@vger.kernel.org
Cc: mochel@osdl.org
Subject: [BUG] 2.5.46 reloading a block device module doesn't probe devices
Date: Thu, 7 Nov 2002 12:51:16 -0800	[thread overview]
Message-ID: <20021107125116.A16707@acpi.pdx.osdl.net> (raw)



I just converted the DAC960 driver in 2.5.46 to use the pci_register_driver()
to discover devices.

I've been experimenting loading the DAC960 driver module, unloading
the module, and then loading it again.  I get curious behavior.
The load, unload seem to work fine.

The reload also APPEARS to succeed. The insmod command completes
with a successful status.

But the second loading of the driver never calls the driver's probe routines.
I added printfs, and determined that the module_init() function
DOES get called the second time.  But a printf in the probe() routine
doesn't show up the second time.

Has there been a patch recently for this problem?

Thanks!

Dave Olien


             reply	other threads:[~2002-11-07 20:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-07 20:51 Dave Olien [this message]
2002-11-07 22:02 ` Mike Anderson

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=20021107125116.A16707@acpi.pdx.osdl.net \
    --to=dmo@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@osdl.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

all inboxes | Powered by JetHome®