public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* SUN Universal Xport no attach blacklist
@ 2009-01-12 14:45 ILLES, Marton
  2009-01-13 16:47 ` James Bottomley
  0 siblings, 1 reply; 2+ messages in thread
From: ILLES, Marton @ 2009-01-12 14:45 UTC (permalink / raw)
  To: linux-scsi

Hi,

I was using a Sun ST2510 device (iSCSI) and a special "block device"
appeared which is used by SUN Common Array Manager in-band management.

However it also appeared as a block device and caused some IO error:

[  716.868000] scsi 15:0:0:31: Direct-Access     SUN      Universal Xport  0735 PQ: 0 ANSI: 5
[  716.868000] qla4xxx 0000:04:01.1: scsi(15:0:0:31): Enabled tagged queuing, queue depth 32.
[  716.868000] sd 15:0:0:31: [sdf] 40960 512-byte hardware sectors (21 MB)
[  716.868000] sd 15:0:0:31: [sdf] Write Protect is off
[  716.868000] sd 15:0:0:31: [sdf] Mode Sense: 77 00 10 08
[  716.868000] sd 15:0:0:31: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA
[  716.868000] sd 15:0:0:31: [sdf] 40960 512-byte hardware sectors (21 MB)
[  716.868000] sd 15:0:0:31: [sdf] Write Protect is off
[  716.868000] sd 15:0:0:31: [sdf] Mode Sense: 77 00 10 08
[  716.872000] sd 15:0:0:31: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA
[  716.872000]  sdf: unknown partition table
[  716.932000] sd 15:0:0:31: [sdf] Attached SCSI disk
[  716.932000] sd 15:0:0:31: Attached scsi generic sg6 type 0
[  717.412000] end_request: I/O error, dev sdf, sector 40
[  717.412000] Buffer I/O error on device sdf, logical block 5
[  717.412000] Buffer I/O error on device sdf, logical block 6
[  717.412000] Buffer I/O error on device sdf, logical block 7
[  717.412000] Buffer I/O error on device sdf, logical block 8
[  717.412000] Buffer I/O error on device sdf, logical block 9
[  717.412000] Buffer I/O error on device sdf, logical block 10
[  717.412000] Buffer I/O error on device sdf, logical block 11
[  717.412000] Buffer I/O error on device sdf, logical block 12
[  717.412000] Buffer I/O error on device sdf, logical block 13
[  717.412000] Buffer I/O error on device sdf, logical block 14

After some googling it appeared that similar issue has been solved for
SGI/IBM devices in 4869040512082b761de2d7c35975d01044f8bfea, so here is
the patch for SUN, please apply.

diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c
index 18dd5cc..fb95b86 100644
--- a/drivers/scsi/scsi_devinfo.c
+++ b/drivers/scsi/scsi_devinfo.c
@@ -219,6 +219,7 @@ static struct {
        {"SGI", "TP9100", "*", BLIST_REPORTLUN2},
        {"SGI", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},
        {"IBM", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},
+       {"SUN", "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 */

Thanks,

Marton

PS: In case of reply, I am off the list.
-- 
Key fingerprint = F78C 25CA 5F88 6FAF EA21 779D 3279 9F9E 1155 670D


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: SUN Universal Xport no attach blacklist
  2009-01-12 14:45 SUN Universal Xport no attach blacklist ILLES, Marton
@ 2009-01-13 16:47 ` James Bottomley
  0 siblings, 0 replies; 2+ messages in thread
From: James Bottomley @ 2009-01-13 16:47 UTC (permalink / raw)
  To: ILLES, Marton; +Cc: linux-scsi

On Mon, 2009-01-12 at 15:45 +0100, ILLES, Marton wrote:
> Hi,
> 
> I was using a Sun ST2510 device (iSCSI) and a special "block device"
> appeared which is used by SUN Common Array Manager in-band management.
> 
> However it also appeared as a block device and caused some IO error:
> 
> [  716.868000] scsi 15:0:0:31: Direct-Access     SUN      Universal Xport  0735 PQ: 0 ANSI: 5
> [  716.868000] qla4xxx 0000:04:01.1: scsi(15:0:0:31): Enabled tagged queuing, queue depth 32.
> [  716.868000] sd 15:0:0:31: [sdf] 40960 512-byte hardware sectors (21 MB)
> [  716.868000] sd 15:0:0:31: [sdf] Write Protect is off
> [  716.868000] sd 15:0:0:31: [sdf] Mode Sense: 77 00 10 08
> [  716.868000] sd 15:0:0:31: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA
> [  716.868000] sd 15:0:0:31: [sdf] 40960 512-byte hardware sectors (21 MB)
> [  716.868000] sd 15:0:0:31: [sdf] Write Protect is off
> [  716.868000] sd 15:0:0:31: [sdf] Mode Sense: 77 00 10 08
> [  716.872000] sd 15:0:0:31: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA
> [  716.872000]  sdf: unknown partition table
> [  716.932000] sd 15:0:0:31: [sdf] Attached SCSI disk
> [  716.932000] sd 15:0:0:31: Attached scsi generic sg6 type 0
> [  717.412000] end_request: I/O error, dev sdf, sector 40
> [  717.412000] Buffer I/O error on device sdf, logical block 5
> [  717.412000] Buffer I/O error on device sdf, logical block 6
> [  717.412000] Buffer I/O error on device sdf, logical block 7
> [  717.412000] Buffer I/O error on device sdf, logical block 8
> [  717.412000] Buffer I/O error on device sdf, logical block 9
> [  717.412000] Buffer I/O error on device sdf, logical block 10
> [  717.412000] Buffer I/O error on device sdf, logical block 11
> [  717.412000] Buffer I/O error on device sdf, logical block 12
> [  717.412000] Buffer I/O error on device sdf, logical block 13
> [  717.412000] Buffer I/O error on device sdf, logical block 14
> 
> After some googling it appeared that similar issue has been solved for
> SGI/IBM devices in 4869040512082b761de2d7c35975d01044f8bfea, so here is
> the patch for SUN, please apply.
> 
> diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c
> index 18dd5cc..fb95b86 100644
> --- a/drivers/scsi/scsi_devinfo.c
> +++ b/drivers/scsi/scsi_devinfo.c
> @@ -219,6 +219,7 @@ static struct {
>         {"SGI", "TP9100", "*", BLIST_REPORTLUN2},
>         {"SGI", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},
>         {"IBM", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},
> +       {"SUN", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},

OK, I have applied this with difficulty: your email tool has converted
all the tabs in the patch to spaces.

James



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-13 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12 14:45 SUN Universal Xport no attach blacklist ILLES, Marton
2009-01-13 16:47 ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox