Re: [RESEND] [PATCH 1/1] ses: Retry UNIT ATTENTION for receive diagnostics

2016-09-19 Thread Ewan D. Milne
On Mon, 2016-09-19 at 09:20 -0700, James Bottomley wrote: > On Mon, 2016-09-19 at 11:57 -0400, Martin K. Petersen wrote: > > > > > > > "Brian" == Brian King writes: > > > > Brian> If the ses driver receives a UNIT ATTENTION when issuing a > > Brian> receive diagnostics while probing a SES device,

Re: [RESEND] [PATCH 1/1] ses: Retry UNIT ATTENTION for receive diagnostics

2016-09-19 Thread James Bottomley
On Mon, 2016-09-19 at 11:57 -0400, Martin K. Petersen wrote: > > > > > > "Brian" == Brian King writes: > > Brian> If the ses driver receives a UNIT ATTENTION when issuing a > Brian> receive diagnostics while probing a SES device, it fails to > Brian> attach with messages such as: > > Brian> scsi

Re: [RESEND] [PATCH 1/1] ses: Retry UNIT ATTENTION for receive diagnostics

2016-09-19 Thread Martin K. Petersen
> "Brian" == Brian King writes: Brian> If the ses driver receives a UNIT ATTENTION when issuing a Brian> receive diagnostics while probing a SES device, it fails to Brian> attach with messages such as: Brian> scsi 1:0:7:0: Failed to get diagnostic page 0x802 scsi Brian> 1:0:7:0: Failed t

Re: [RESEND] [PATCH 1/1] ses: Retry UNIT ATTENTION for receive diagnostics

2016-09-16 Thread Gabriel Krisman Bertazi
Brian King writes: > If the ses driver receives a UNIT ATTENTION when issuing > a receive diagnostics while probing a SES device, it > fails to attach with messages such as: > > scsi 1:0:7:0: Failed to get diagnostic page 0x802 > scsi 1:0:7:0: Failed to bind enclosure -19 > > Fix this by eati

[RESEND] [PATCH 1/1] ses: Retry UNIT ATTENTION for receive diagnostics

2016-09-16 Thread Brian King
If the ses driver receives a UNIT ATTENTION when issuing a receive diagnostics while probing a SES device, it fails to attach with messages such as: scsi 1:0:7:0: Failed to get diagnostic page 0x802 scsi 1:0:7:0: Failed to bind enclosure -19 Fix this by eating unit attentions for these comma