| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
From: campbell@tirian.che.curtin.edu.au
To: linux-scsi@vger.rutgers.edu
Date: Mon, 12 May 1997 08:45:54 +0000
> > I can' t remove in any way scsi_mod.
>
> I think you need to apply this patch:
>
> --- linux/drivers/scsi/scsi_module.c~ Sat May 10 17:50:02 1997
> +++ linux/drivers/scsi/scsi_module.c Sat May 10 17:50:03 1997
> @@ -34,6 +34,8 @@
> int init_module(void) {
> driver_template.module = &__this_module;
> scsi_register_module(MODULE_SCSI_HA, &driver_template);
> + if (driver_template.present == 0)
> + scsi_unregister_module(MODULE_SCSI_HA, &driver_template);
> return (driver_template.present == 0);
> }
>
> David originally included this in the old "parbus" distribution and I'd
> assumed it had been merged in, but it looks like it hasn't.
>
> I've cc'd the SCSI people to let them know.
Ah yes...
The old "scsi driver module failed and scsi_mod locked problem".
This occurs when a scsi driver is loaded as a module and fails to
detect the hardware, the host template is left lying arround and such
the scsi_mod has a module count 1 higher that it should.
David Campbell.
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |