Skip to contentSkip to conversation

Patch for linux 2.5.32

TRIVIAL Rusty Trivial Russell 2 participants 2 messages Sep 10, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

[ This patch had no attached comment: is it sane? --RR ]
From: Josef <[email protected]>

--
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize
-- T. Pratchett--- linux-2.5.32/drivers/scsi/scsi_scan.c Thu Aug 29 10:37:55 2002

drivers/scsi/scsi_scan.c renamed from drivers/scsi/scsi_scan.c.orig +6 -2
@@ -162,8 +162,8 @@
 	{"TOSHIBA", "CDROM", NULL, BLIST_ISROM},
 	{"TOSHIBA", "CD-ROM", NULL, BLIST_ISROM},
 	{"MegaRAID", "LD", NULL, BLIST_FORCELUN},
-	{"DGC", "RAID", NULL, BLIST_SPARSELUN},	/* Dell PV 650F, storage on LUN 0 */
-	{"DGC", "DISK", NULL, BLIST_SPARSELUN},	/* Dell PV 650F, no storage on LUN 0 */
+        {"DGC", "DISK", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
+        {"DGC", "RAID ", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
 	{"DELL", "PV660F", NULL, BLIST_SPARSELUN},
 	{"DELL", "PV660F   PSEUDO", NULL, BLIST_SPARSELUN},
 	{"DELL", "PSEUDO DEVICE .", NULL, BLIST_SPARSELUN},	/* Dell PV 530F */
@@ -183,6 +183,10 @@
 	{"COMPAQ", "MSA1000", NULL, BLIST_FORCELUN},
 	{"HP", "C1557A", NULL, BLIST_FORCELUN},
 	{"IBM", "AuSaV1S2", NULL, BLIST_FORCELUN},
+        {"EUROLOGC", "FC2502", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
+        {"FSC FC47", "DISK", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
+        {"FSC FC47", "RAID ", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
+        {"MYLEX", "DACARMRB", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
 };
 
 #define ALLOC_FAILURE_MSG	KERN_ERR "%s: Allocation failure during" \
Signature · 6 lines
  Don't blame me: the Monkey is driving
  File: Josef =?iso-8859-1?Q?M=F6llers?= <[email protected]>: Patch for linux 2.5.32
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

It is sane, but Josef -

Do devices that are adding BLIST_LARGELUN have a way to configure their scsi level? Most disk arrays built in the last 3 years (or more) can modify the scsi level they report. Changing the scsi level to 3 or higher is preferable to adding a BLIST_LARGELUN.

Do devices that are adding BLIST_SPARSELUN or BLIST_FORCELUN have SCSI REPORT LUNS support? If so SCSI REPORT LUN probing/scanning is preferable and neither flag is needed; also, a SCSI REPORT LUN will only be used if the scsi level is greater than 2.

-- Patrick Mansfield

Quoted 35 lines · Rusty Trivial Russell

[ This patch had no attached comment: is it sane? --RR ]
From: Josef <[email protected]>

--
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize
-- T. Pratchett--- linux-2.5.32/drivers/scsi/scsi_scan.c Thu Aug 29 10:37:55 2002

drivers/scsi/scsi_scan.c renamed from drivers/scsi/scsi_scan.c.orig +6 -2
@@ -162,8 +162,8 @@
 	{"TOSHIBA", "CDROM", NULL, BLIST_ISROM},
 	{"TOSHIBA", "CD-ROM", NULL, BLIST_ISROM},
 	{"MegaRAID", "LD", NULL, BLIST_FORCELUN},
-	{"DGC", "RAID", NULL, BLIST_SPARSELUN},	/* Dell PV 650F, storage on LUN 0 */
-	{"DGC", "DISK", NULL, BLIST_SPARSELUN},	/* Dell PV 650F, no storage on LUN 0 */
+        {"DGC", "DISK", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
+        {"DGC", "RAID ", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
 	{"DELL", "PV660F", NULL, BLIST_SPARSELUN},
 	{"DELL", "PV660F   PSEUDO", NULL, BLIST_SPARSELUN},
 	{"DELL", "PSEUDO DEVICE .", NULL, BLIST_SPARSELUN},	/* Dell PV 530F */
@@ -183,6 +183,10 @@
 	{"COMPAQ", "MSA1000", NULL, BLIST_FORCELUN},
 	{"HP", "C1557A", NULL, BLIST_FORCELUN},
 	{"IBM", "AuSaV1S2", NULL, BLIST_FORCELUN},
+        {"EUROLOGC", "FC2502", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
+        {"FSC FC47", "DISK", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
+        {"FSC FC47", "RAID ", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
+        {"MYLEX", "DACARMRB", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN },
 };
 
 #define ALLOC_FAILURE_MSG	KERN_ERR "%s: Allocation failure during" \
Signature · 2 lines
  Don't blame me: the Monkey is driving
  File: Josef =?iso-8859-1?Q?M=F6llers?= <[email protected]>: Patch for linux 2.5.32

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html