Skip to contentSkip to conversation

2.5.51 + fastT FC disk

DISCUSSION Anton Blanchard 1 participant 2 messages Dec 12, 2002 – Sep 6, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

Hi,

We tested 2.5.51 on a ppc64 box, qlogic 2312 and a fastt700 array. I had CONFIG_SCSI_REPORT_LUNS and unfortunately it thought the management LUN was a disk:

Vendor: IBM Model: Universal Xport Rev: 0520
Type: Direct-Access ANSI SCSI revision: 03

...

SCSI device sdaj: drive cache: write through SCSI device sdaj: 40960 512-byte hdwr sectors (21 MB)
sdaj: unknown partition table
Attached scsi disk sdaj at scsi2, channel 0, id 0, lun 31

...

end_request: I/O error, dev sdaj, sector 0

Anton

#1 lore raw
Quoted 9 lines · Anton Blanchard

We tested 2.5.51 on a ppc64 box, qlogic 2312 and a fastt700 array. I had CONFIG_SCSI_REPORT_LUNS and unfortunately it thought the management LUN was a disk:

Vendor: IBM Model: Universal Xport Rev: 0520
Type: Direct-Access ANSI SCSI revision: 03

...

Quoted 8 lines

SCSI device sdaj: drive cache: write through SCSI device sdaj: 40960 512-byte hdwr sectors (21 MB)
sdaj: unknown partition table
Attached scsi disk sdaj at scsi2, channel 0, id 0, lun 31

...

end_request: I/O error, dev sdaj, sector 0

Three years later...

It looks like SGI use the same FC vendor and they already have a workaround for this issue. The following patch adds the IBM version of it.

drivers/scsi/scsi_devinfo.c +1 -0
Index: linux-2.6.git-work/drivers/scsi/scsi_devinfo.c
===================================================================
@@ -191,6 +191,7 @@
 	{"SGI", "RAID5", "*", BLIST_SPARSELUN},
 	{"SGI", "TP9100", "*", BLIST_REPORTLUN2},
 	{"SGI", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},
+	{"IBM", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},
 	{"SMSC", "USB 2 HS-CF", NULL, BLIST_SPARSELUN | BLIST_INQUIRY_36},
 	{"SONY", "CD-ROM CDU-8001", NULL, BLIST_BORKEN},
 	{"SONY", "TSL", NULL, BLIST_FORCELUN},		/* DDS3 & DDS4 autoloaders */