[3276] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: devfs - SCSI - ZIP test

daemon@ATHENA.MIT.EDU (Richard Gooch)
Mon Feb 9 02:09:39 1998

Date: 	Mon, 9 Feb 1998 17:56:20 +1100
From: Richard Gooch <rgooch@atnf.CSIRO.AU>
To: "Leonard N. Zubkoff" <lnz@dandelion.com>
Cc: Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>,
        linux-scsi@vger.rutgers.edu
In-Reply-To: <199802090650.WAA27191@dandelion.com>

Leonard N. Zubkoff writes:
>   Date: Mon, 9 Feb 1998 12:32:53 +1100
>   From: Richard Gooch <rgooch@atnf.CSIRO.AU>
> 
>   Just to give background for people on linux-scsi: the original problem
>   which prompted this was that when a SCSI driver is loaded/unloaded
>   many times, the SCSI host number increases without each time (until it
>   wraps). This is particularly unhelpful with devfs.
> 
>   To solve this, a simple patch to decrement the host counter when a
>   module with the last allocated SCSI number is unloaded would do
>   nicely, I think.
> 
> Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl> just made an interesting
> suggestion privately.  In a nutshell, he suggested that once a driver has been
> loaded, the host number assigned become sticky so that upon an unload and
> subsequent reload, the same number will be assigned.  While more work to
> implement, this sounds like a more intuitive strategy.  Comments?

I think this is a very good idea. Now to find someone to code it.

				Regards,

					Richard....

home help back first fref pref prev next nref lref last post