From owner-freebsd-scsi@freebsd.org Tue Jan 3 22:27:31 2017 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78C47C9DF69 for ; Tue, 3 Jan 2017 22:27:31 +0000 (UTC) (envelope-from dgeo@centrale-marseille.fr) Received: from mel0.ec-m.fr (melout.ec-m.fr [147.94.19.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3D07013D8 for ; Tue, 3 Jan 2017 22:27:30 +0000 (UTC) (envelope-from dgeo@centrale-marseille.fr) From: geoffroy desvernay DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=centrale-marseille.fr; s=smtp0; t=1483481975; bh=s6WxtLje4XPtwZ5FsgfKIRY9qO6FQParm+3VDG6VAWs=; h=From:Subject:To:References:Date:In-Reply-To; b=q4witYq/XPiNINYR0NySsfuW+kw/UyyodlNGn4630cZcxoEvOjPwuTOiTB/XBuLof FmkpJ0uSwZUcraiilSx0VGn51DhPjBgOg6dIfTbPp2mdQH1cXIwkxaysB0Bsewo9/i ksyPpTrws7CDnU4c7ErA4gqhVNX1bIgd+i813DyfsDzC7vbQt3+m1fsyMa8b7fE4PJ 6mUMmGHcIYPe3Rwe8y6TWd5R+kYAcfqiT5VYl9kluT6RP+c8mgZX5ibio+oqOctBDV iReCBueuErALlqPZ5PsXSjd5eehdVMjIij+sYfDmJUAIFZ93aRkuwSmkgFRag8Q/Yg lp1FrXWbiQc8Q== Subject: Re: scsi error at SEAGATE ST1200MM0088 TT31 To: "baris.cavus" , freebsd-scsi@freebsd.org References: <718e64f1-ae4b-1090-5d51-49625b3fd7ea@gmail.com> X-Enigmail-Draft-Status: N1110 Message-ID: Date: Tue, 3 Jan 2017 23:19:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hKvMliERvVNjpB8jOXPhrxgMI4O1Qtajs" X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2017 22:27:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hKvMliERvVNjpB8jOXPhrxgMI4O1Qtajs Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Sorry for the 'me too' style, I won't bring a response here=85 But it seems there is something to catch here, I'm just adding my case's details= : These "ILLEGAL REQUEST asc:20,0" seems identical to the thread 'mpr(4) bug ?' (2016/12/12) this wasn't a mpr(4) bug. Same symptoms: disks seems ok, but real use fails=85 Now trying to "sg_format" them=85 to be continued =85 Here we have 24 SEAGATE ST2000NX0433 NS02 drives in a md1420 enclosure connected via a sas3008 adapter. Setup tested working with debian 8 and centos 7. sg_readcap --16 returns: Read Capacity results: Protection: prot_en=3D1, p_type=3D1, p_i_exponent=3D0 [type 2 protecti= on] Logical block provisioning: lbpme=3D0, lbprz=3D0 Last logical block address=3D3907029167 (0xe8e088af), Number of logica= l blocks=3D3907029168 Logical block length=3D512 bytes Logical blocks per physical block exponent=3D0 Lowest aligned logical block address=3D0 Hence: Device size: 2000398934016 bytes, 1907729.1 MiB, 2000.40 GB Yours, On 12/22/2016 07:39 AM, baris.cavus wrote: > I have found the same issue here: >=20 > https://bugs.freenas.org/issues/14517 >=20 > `sg_readcap --16 da16` reported "type 2 protection" >=20 > Protection: prot_en=3D1, p_type=3D1, p_i_exponent=3D0 [type 2 protectio= n] >=20 > Then we formatted all disks at night and it worked >=20 > sg_format --format /dev/da16 -f0 >=20 >=20 > Normally DPICZ bit set to 1 in control mode page states it doesn't chec= k > the protection but this doesn't work. > I would be happy to learn if someone find any other workaround. >=20 > Thanks, >=20 >=20 > On 21-12-2016 17:42, baris.cavus wrote: >> I have "1.2 TB SEAGATE ST1200MM0088 TT31" on my enclosures connected >> with lsa 3008 hba . I can't write to disks on Freebsd 10 but I can in >> centos 7. Any idea what is the reason ?. >> >> (da2:mpr0:0:10:0): CAM status: SCSI Status Error >> (da2:mpr0:0:10:0): SCSI status: Check Condition >> (da2:mpr0:0:10:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid >> command operation code) >> (da2:mpr0:0:10:0): Error 22, Unretryable error >> (da2:mpr0:0:10:0): READ(10). CDB: 28 00 00 00 02 00 00 01 00 00 >> (da2:mpr0:0:10:0): CAM status: SCSI Status Error >> (da2:mpr0:0:10:0): SCSI status: Check Condition >> (da2:mpr0:0:10:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid >> command operation code) >> (da2:mpr0:0:10:0): Error 22, Unretryable error >> (da2:mpr0:0:10:0): READ(10). CDB: 28 00 8b ba 08 00 00 01 00 00 >> (da2:mpr0:0:10:0): CAM status: SCSI Status Error >> (da2:mpr0:0:10:0): SCSI status: Check Condition >> (da2:mpr0:0:10:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid >> command operation code) >> (da2:mpr0:0:10:0): Error 22, Unretryable error >> (da2:mpr0:0:10:0): READ(10). CDB: 28 00 8b ba 0a 00 00 01 00 00 >> (da2:mpr0:0:10:0): CAM status: SCSI Status Error >> (da2:mpr0:0:10:0): SCSI status: Check Condition >> (da2:mpr0:0:10:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid >> command operation code) >> (da2:mpr0:0:10:0): Error 22, Unretryable error >> >=20 > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"= --=20 geoffroy desvernay C.R.I - Administration syst=E8mes et r=E9seaux Ecole Centrale de Marseille --hKvMliERvVNjpB8jOXPhrxgMI4O1Qtajs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYbCN2AAoJED/P9AlFh6DwyicQALWk31SNGGZEYcIyFVIrxnPc bHiEYLm91E+edDG6g55M7MfQ3pVl3/pWBD30MHwQ9bhhIeLJ3ZplF9P3gXoOGktX trzPSIAzOFNlJZyRlWlVTYFWxjhlVvp1fKIPKOZgIVPgzTZqppMFkmGBxPU0faSe fzAd8S/4uD1rynoX1y84K5kmFnvqhKVRuuxofaiQaM0HdQ6qfgW8JKNs6KeA2LqP 3em9o1fIUaFvTtZZfMoMC+zGqeW+N+0F9zC9cYLOtZpJS00V5A99tsgDh6ClOs3w uK4+dM6ya4Envj7ZJ/IlADsOOl7yPiMs50fRK0ChFPYJdU/aFbIK9xyB+0zwVJa/ 0XVOOFUvlSO8mmG0X2hEd02WHI9Zhar6YXeBDizo2TxjE1DIep11SouH9/R/Um+t pdZq5Uvf1D3+A6KkDwhz+0v/QiwF2blzWDc4vazRTTi3kFuBj79Lca/NpazX1AW0 SR9/Y+XOBlOfWx8wLNLCXCMmNXusMGjAkN/BNMU4MUMCq7hodH+spX0vc3NFMj89 62q3337SmCVlsmdN3rYneBj+03DUg4B2HaWX2Lenc5AzaGhbRkXHbenbWhXigeZH Whzj2+wBaQwxVkBimi0qimMJIEbBLWg0Acch+At2iH3smymJu1vOjDDbltquxnav fdrQ2/8CkRQ5gwCDgJHg =OZNG -----END PGP SIGNATURE----- --hKvMliERvVNjpB8jOXPhrxgMI4O1Qtajs--