[7545] in linux-scsi channel archive
FWD: Yamaha 4416S CONFIG_SCSI_MULTI_LUN problem
daemon@ATHENA.MIT.EDU (Robert Frey)
Tue Nov 16 14:52:18 1999
Message-Id: <m11nnOK-00000JC@deneb.advansys.com>
Date: Tue, 16 Nov 1999 10:31:44 -0800 (PST)
From: bobf@advansys.com (Robert Frey)
To: linux-scsi@vger.rutgers.edu
Date: Mon, 15 Nov 1999 15:49:22 -0800 (PST)
From: bobf (Robert Frey)
To: axboe@image.dk, dgilbert@interlog.com, redwards@golgotha.net
Subject: Yamaha 4416S/Linux SCSI LUN scanning
Bcc:
Status: R
> /proc/scsi/scsi reports it's a model CRW4416S, Rev: 1.0f, ANSI SCSI
> revision: 02
Hi Randy,
I reproduced the hang problem at boot time you reported with a Yamaha
4416S; Mine had FW 1.0b. I found that the drive does not handle LUN scanning.
First the drive incorrectly reports that it actually has multiple LUNs
and then after a number of LUN 1 commands it hangs the SCSI bus.
There are two workarounds you can use that I've noted below.
Doug you have the 1.0g FW and haven't seen this problem. Do you have
CONFIG_SCSI_MULTI_LUN enabled? If we agree the Yamaha should be blacklisted
maybe Jens <axboe@image.dk> (SCSI CDROM DRIVER) can handle submitting it?
BTW It seems in the v2.3 kernels CONFIG_SCSI_MULTI_LUN is turned on
by default making this sort of problem more common in v2.3.
Bob Frey
bobf@advansys.com
Yamaha 4416S Boot Hang Workarounds
==================================
1. Turn off the CONFIG_SCSI_MULTI_LUN option in your kernel configuration.
2. Patch drivers/scsi/scsi.c to not LUN scan the Yamaha 4416S. This patch
is for v2.3.28.
--- v2.3.28/drivers/scsi/scsi.c Mon Nov 15 16:09:59 1999
+++ linux/drivers/scsi/scsi.c Mon Nov 15 16:12:03 1999
@@ -255,6 +255,7 @@
{"HP", "C1790A", "", BLIST_NOLUN}, /* scanjet iip */
{"HP", "C2500A", "", BLIST_NOLUN}, /* scanjet iicx */
{"YAMAHA", "CDR102", "1.00", BLIST_NOLUN}, /* extra reset */
+ {"YAMAHA", "CRW4416S", "1.0*", BLIST_NOLUN}, /* Locks sometimes if polled for lun != 0 */
{"RELISYS", "Scorpio", "*", BLIST_NOLUN}, /* responds to all LUN */
/*
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu