[7551] in linux-scsi channel archive

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

Re: FWD: Yamaha 4416S CONFIG_SCSI_MULTI_LUN problem

daemon@ATHENA.MIT.EDU (Dan Hollis)
Tue Nov 16 17:48:34 1999

Date:   Tue, 16 Nov 1999 14:43:22 -0800 (PST)
From: Dan Hollis <goemon@anime.net>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
cc: bobf@advansys.com, Gadi Oxman <gadio@netvision.net.il>,
        Linux SCSI List <linux-scsi@vger.rutgers.edu>
In-Reply-To: <E11npOI-0003Av-00@the-village.bc.nu>
Message-ID: <Pine.LNX.4.10.9911161440540.25354-100000@anime.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 16 Nov 1999, Alan Cox wrote:
> > Not only that but MULTI_LUN jacks up the ide-scsi driver. At least I am
> > quite certain I don't have 7 CDRW's, 7 DVDROM's, and 7 CDROM's connected
> > to my machine.
> From: Gadi Oxman <gadio@netvision.net.il>
> If anybody is interested in testing this, add something like:
> 	if (drive->id)
> 		printk("%s: last-lun: %d\n", drive->name,
> 			drive->id->word126 & 0x7);
> to idescsi_setup in drivers/scsi/ide-scsi.c. To know if we can use this
> field, we need test results both from users of multi-lun IDE devices
> (such as PD-CD drives), and from users of single-lun IDE devices.

Ok, I just tried this.

hdc: last-lun: 0
hdg: last-lun: 0
hdh: last-lun: 0
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
  Vendor: ATAPI     Model: CD-R/RW 4X4X32    Rev: 3.DS
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: E-IDE     Model: CD-ROM 40X/AKU    Rev: U31
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: DVS       Model: DVD-ROM DSR-520H  Rev: A115
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
Detected scsi CD-ROM sr2 at scsi0, channel 0, id 2, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.56
sr1: scsi3-mmc drive: 0x/40x xa/form2 cdda tray
sr2: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray

-Dan


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

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