Re: ide-scsi bug in 2.2.[3-9]

Jorge Gonzalez Villalonga (jorgegv@icai.upco.es)
Thu, 20 May 1999 09:05:57 +0200


Gadi Oxman wrote:
>
> On Tue, 18 May 1999, Bernhard Rosenkraenzer wrote:
>
> > On Tue, 18 May 1999, Jorge Gonzalez Villalonga wrote:
> >
> > > > [ide-scsi detecting all devices several times]
> > >
> > > Turn off "Probe all LUNs on each SCSI device" (CONFIG_SCSI_MULTI_LUN
> > > option) in the kernel and you'll be happy. Each one will be detected
> > > just once.
> >
> > Thanks - I still think the bug needs fixing though. It'll cause problems
> > on boxes with, for example, an SCSI CD-Changer and an IDE CD-Writer
> > (multi-lun required for the changer, but has to be turned off for the
> > writer).
> >
> > LLaP
> > bero
>
> It's definitely not a bug; it's a feature, and there by design.
> multi-lun ATAPI devices do exist, and it's amazing how over the last
> two or three years so many people consider this to be a bug.
>
> Gadi

I think it should be a selectable option based on the SCSI adapter, or
even more, the SCSI target.

I mean, some option which I could feed to the driver, something like

ide-scsi=singlelun aha1542=multilun

for the adapter oriented selection, or

ide-scsi="t0=singlelun" aha1542="t01=multilun"

for the target oriented selection.

This is supposing I had to use ide-scsi and I had an Adaptec 1542.

I also think these problems would be more easily solved if we had a SCSI
naming convention that directly addressed the controller, a la Sun:

c0t1d3s6

SCSI controller 0, SCSI target 1, SCSI LUN 3, partition (slice) number
6, for a disk.

-- 
Jorge Gonzalez  <jorgegv@icai.upco.es>       -o)
ICAI - Universidad Pontificia Comillas       /\\
Administrador de Sistemas                   _\_v

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