From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:55122 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751296AbcIPVZz (ORCPT ); Fri, 16 Sep 2016 17:25:55 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u8GLMknr088077 for ; Fri, 16 Sep 2016 17:25:54 -0400 Received: from e24smtp03.br.ibm.com (e24smtp03.br.ibm.com [32.104.18.24]) by mx0a-001b2d01.pphosted.com with ESMTP id 25gcvwuhm4-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 16 Sep 2016 17:25:54 -0400 Received: from localhost by e24smtp03.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 16 Sep 2016 18:25:52 -0300 From: Gabriel Krisman Bertazi To: Brian King Cc: James.Bottomley@HansenPartnership.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, wenxiong@linux.vnet.ibm.com, stable@vger.kernel.org Subject: Re: [RESEND] [PATCH 1/1] ses: Retry UNIT ATTENTION for receive diagnostics References: <20160916210607.054BF124047@b01ledav002.gho.pok.ibm.com> Date: Fri, 16 Sep 2016 18:25:47 -0300 In-Reply-To: <20160916210607.054BF124047@b01ledav002.gho.pok.ibm.com> (Brian King's message of "Fri, 16 Sep 2016 16:06:06 -0500") MIME-Version: 1.0 Content-Type: text/plain Message-Id: <87poo3pmec.fsf@linux.vnet.ibm.com> Sender: stable-owner@vger.kernel.org List-ID: 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 0x8000002 > scsi 1:0:7:0: Failed to bind enclosure -19 > > Fix this by eating unit attentions for these commands. Reviewed-by: Gabriel Krisman Bertazi -- Gabriel Krisman Bertazi