From owner-freebsd-scsi@freebsd.org Wed Dec 14 18:57:31 2016 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 9A9B1C8026D for ; Wed, 14 Dec 2016 18:57:31 +0000 (UTC) (envelope-from dgeo@centrale-marseille.fr) Received: from mel1.ec-m.fr (melout.ec-m.fr [147.94.19.33]) (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 60DD1187B for ; Wed, 14 Dec 2016 18:57:29 +0000 (UTC) (envelope-from dgeo@centrale-marseille.fr) Subject: Re: mpr(4) bug ? DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=centrale-marseille.fr; s=smtp0; t=1481741847; bh=YPehxk9vVBFMs0T2YN2pL+o6kNbC7APp9nUxvJ17ZLg=; h=Subject:To:References:From:Date:In-Reply-To; b=BdOuNm/8rfRGgxXNy0Sc1WLjgeykyAS5JS3LV3WUCO3NnSWWz9bBAw0hFFnsYQC5Z MgkWWsxSn5brA/zoXTuDnI4dNsNU+eISFHvECtjiAgZX0cnvwrVLsDvWBgiDCJP8XZ caEVW1oa5XODoIMe1FLWp83Bbrb/rpYikHvGrgnC1TAlGMp1uTao3OTPvL+NYYM0gj Z9c0LpIwM815mdkLSCCY2fK4puZbhovTah8Bn2Xsh8OrWaJLF/5xFuGizws0+H6ORN SdtEmNsxsLA5ZM+8I/+O71tgz00/Cygjd6/cOeLrbHiXBtgB8RHElivkKsS8zYyMab iutOidPwnTOuA== To: freebsd-scsi@freebsd.org References: <2ae74eaa-80da-2b81-900b-9b9d21080e5c@centrale-marseille.fr> <95d92193-ba66-ba40-e417-01f29510e73c@centrale-marseille.fr> <5fcf45f2ccbf3b4b195bfc16164bc843@mail.gmail.com> From: geoffroy desvernay Message-ID: <489d892d-7734-e148-98d3-77bc6e62bac1@centrale-marseille.fr> Date: Wed, 14 Dec 2016 19:57:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <5fcf45f2ccbf3b4b195bfc16164bc843@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QVQ1peRRwoqsogWWcEokJIip6TJLXM4tD" 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: Wed, 14 Dec 2016 18:57:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QVQ1peRRwoqsogWWcEokJIip6TJLXM4tD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/14/2016 07:36 PM, Stephen Mcconnell via freebsd-scsi wrote: > Hi Geoffroy, >=20 > I looked through the logs. It's strange. I don't know why there would b= e > sense data for 'Invalid OP Code' for the read(10)/write(10) commands. T= he > driver looks like it's doing everything correctly. It's just passing up= the > error and the command fails. Can you retry with debug_level set to 0xFF= FF? > It might not give more info, but we can see. >=20 > Steve >=20 Thank you :) here is a dmesg exerpt, after sysctl dev.mpr.0.debug_level=3D0xFFFF dd if=3D/dev/zero of=3D/dev/da20 bs=3D1M and http://dgeo.perso.ec-m.fr/mfi0_dd_dmesg.log Do you prefer bs=3D127k or bs=3D128k ? --=20 geoffroy desvernay C.R.I - Administration syst=C3=A8mes et r=C3=A9seaux Ecole Centrale de Marseille Tel: (+33|0)4 91 05 45 24 Fax: (+33|0)4 91 05 45 98 dgeo@centrale-marseille.fr --QVQ1peRRwoqsogWWcEokJIip6TJLXM4tD 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 iQIcBAEBCAAGBQJYUZYWAAoJED/P9AlFh6DwW7UQAItnHyZfYIVnDpnzN7jZDYjp 4Fy+Uaf2SgjE0o2qCA75YCt3DZYr+GItO5Qy2o2vbmgQYhNDTnLSaxS/x5YMy2wV mFlBW4XxR3wRERJpgu8ILcZFyONHXEKmAUGDx2c5AfvBTguCEUq5GvfC7WF9X7Y8 +IVLbQyjLPJvvNmQfRc+9UqYc2OcRBrpxhj4LJ5sZWeQUztiBDnAZFV2AAkUtzda v9Ac5BQsN75B1+5WqmCU7t27WoRGUCOEFqeBJLkBVd4R6rh1cvMnEA13He1o04d+ G4faRCAT30gO73DAG+IYiLy03GukXAfOa/Iw0thi6d2FW4IGNvqXzMOBpGnM20WY E2w2xfHgbBnaih9fKk79WyGwwPcL0AxfthPrhyZ7Xni0qDMICXLuMFKJVcOcbxeo JN/49kV5FTuCpsOGHrUkkAkIy8DfpdUgdbP3ovZTOJa2Oz3Xw3DImiS3eY7A5bkt UN37z+dRj2CfAeuQN4XG6hdZDI2I77lO5+8d/lJmuHOWITlszagdxdQ48AIC5Vvi CruSCKokeiG61PGDJYEutt36nuRiyFibPKRAS0B+Y6xeeTw72AqvHnaPD9fJdTTU psZ1jf2rIOutWV1CpcSKb7Gd1aAN3GTZWlz9a8LtxVs2RHRsZkPVOf1ZPjZWqiIr MkAUpWgUTGpcVcXP2za5 =mCdQ -----END PGP SIGNATURE----- --QVQ1peRRwoqsogWWcEokJIip6TJLXM4tD--