[24] in linux-scsi channel archive

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

Re: Probing luns > 0 (fwd)

daemon@ATHENA.MIT.EDU (Andrew Walker)
Wed Jan 25 05:37:38 1995

From: andy@eng.kvaerner.no (Andrew Walker)
To: linux-scsi@vger.rutgers.edu
Date: Wed, 25 Jan 1995 10:54:41 +0100 (MET)

Forwarded message:
> From andy Wed Jan 25 10:23:42 1995
> Subject: Re: Probing luns > 0
> > 
> > Another thing that nobody has mentioned (yet) is that we can then throw the
> > huge blacklist table in the garbage, which will de-bloat scsi.c
> > That is a major plus IMHO. Go for it.
> > 
> > Paul.
> 
> Yeah, that's fine until the 'whitelist' of units which *should* be probed
> for multiple LUNs gets as long as (or longer than) the current 'blacklist'.
> Now, I'm not saying this will happen, and maybe folks will be happy to use
> a  'max_scsi_luns=' command line (what do you say Pioneer owners? :-) so we
> wouldn't need a new list. In principle I'm very much *for* Drew's suggestion.
> 
> The problem with a simple command line option is that you still couldn't
> mix, for example, a Pioneer CD changer and one of the duff Maxtor disks.
> Of course, the command line syntax could be made a bit more complicated than
> just setting the max LUN to probe for. So maybe we're back to a table.
> 
> One suggestion is a command line like:
> 
> 	max_scsi_luns=07007070
> 
> where each digit is the max. LUN for devices 0-7, but this basically codes
> in all the devices on the bus and makes on the fly reconfiguration slightly
> trickier.
> 
> Alternatively, pair the options for a slightly more dynamic solution:
> 
> 	max_scsi_luns=3757
> 
> saying that max. LUN is 7 for SCSI id's 3 and 5.
> 
> Now we just have to find out what's most acceptable to most of the people.
> Just being a wet blanket as usual :-(
> 
It just dawned on me that another option is a command line parameter which
just indicates which SCSI id's to probe for multiple LUNs:
	
	scsi_multi_luns=35

i.e. probe id's 3 and 5 for multiple LUNs.

-Andy

-- 
Andy Walker                              Kvaerner Engineering a.s.
Andrew.Walker@eng.kvaerner.no            P.O. Box 222, N-1324 Lysaker, Norway

   ......if the answer isn't violence, neither is it silence......


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