[BUG] 2.5.46 reloading a block device module doesn't probe devices

From: Dave Olien (dmo@osdl.org)
Date: Thu Nov 07 2002 - 15:51:16 EST


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

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



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:49 EST