Re: new qla2xxx driver breaks SAN setup with 2 controllers

From: Christoph Hellwig
Date: Wed Aug 24 2005 - 05:02:08 EST


On Wed, Aug 24, 2005 at 11:55:20AM +0200, Frederik Schueler wrote:
> Hello,
>
> On Tue, Aug 23, 2005 at 01:00:40PM -0700, Patrick Mansfield wrote:
> > The use of scsiadd script implies that you are attaching or somehow
> > modifying the storage after the driver has loaded. Is that correct?
>
> yes exactly, only the bootdrive LUN is registered after bootup. I have
> to selectively scsiadd the other LUNs if there is a gap between the
> boot LUN (1-8 in our setup) and the shared storages (9-14). I don't
> consider this a bug though, I had to remove some devices otherwise,
> and old drivers had to be patched to allow this at all.

Actually this sounds like a bug in your storage system. It's probably
reporting to be only SCSI2 complicant, which doesn't make sense for
FC storage. Please try the patch below:

Index: scsi-misc-2.6/drivers/scsi/scsi_devinfo.c
===================================================================
--- scsi-misc-2.6.orig/drivers/scsi/scsi_devinfo.c 2005-08-13 13:53:53.000000000 +0200
+++ scsi-misc-2.6/drivers/scsi/scsi_devinfo.c 2005-08-24 12:00:22.000000000 +0200
@@ -162,6 +162,7 @@
{"IBM", "AuSaV1S2", NULL, BLIST_FORCELUN},
{"IBM", "ProFibre 4000R", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
{"IBM", "2105", NULL, BLIST_RETRY_HWERROR},
+ {"IFT", "A16F-R1211", NULL, BLIST_REPORTLUN2},
{"iomega", "jaz 1GB", "J.86", BLIST_NOTQ | BLIST_NOLUN},
{"IOMEGA", "Io20S *F", NULL, BLIST_KEY},
{"INSITE", "Floptical F*8I", NULL, BLIST_KEY},
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/