From owner-freebsd-scsi@freebsd.org Mon Sep 10 16:47:03 2018 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA2081095785 for ; Mon, 10 Sep 2018 16:47:02 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 716EC8B068 for ; Mon, 10 Sep 2018 16:47:02 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: by mail-it0-x22c.google.com with SMTP id f14-v6so30403308ita.4 for ; Mon, 10 Sep 2018 09:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ratnaling-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=ozqtX7QdsyqLF3TNq60bNSa4SoyzO3ZiktefK89GVVQ=; b=kX+idO8N9ks1n/GM0kKc4MPRMmLjUZwyGuzMF4XkAEHZvjO0jQXsuaxIVG1M2uZkpJ n9JGIWJ5veHmE5n/tdsx/A6xccRPCjT6Gjpskl1fcpkf9ERkW2V9FDt2rqt/NoB2e73a ATgTSiK23gh57CUmKqbfW1wMEGdv+MNgRwmFCu6qd+gPSkuN0+jVUVo0DpP35RdS5i2Y Mlmu8Mt4kOv8LkRKoy6FBx3Pu8Pzwc0vaG4u610mNKJ7k+S8uFyNFwlCuMBQsh6z1hPC rxB5aT/cE3y6l/0UitdLgDqSHWZWMMr4ioBPrgJ33L4lNIVeIGzPSYTJg5LENPuBBqIi 9/Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=ozqtX7QdsyqLF3TNq60bNSa4SoyzO3ZiktefK89GVVQ=; b=C3WND6YMgxsZGLn5Ec8chBIBVfieWU/Nf/Nug3zOxSUzOOKIa5S6txv+/mbHOfaKZf ASQ4ZaS5j3s0SU73LGwYIx4miGzsIK41EgIUGonDbRFy3C5ldMNwMNdAPFVUSuFPoLgc COfh2K4w23bKCYWOSOnTuhm0cDhBcRAux9JUjBGAWuu1e1YaXrMbxVRMGSx0DRO/ooVt PkEDmFyWSfxTvde6VNY1VV6WlnLAOSlfUzmadcs7SlaJKmRuQ+MivZIDMthqMfpMZfRW xZuh/lNCA14K/NN5loQqHJ6XTVXuFexvqpqAg5AomVzT6Wgrjel91RNAHl8mclu52KFn 0m9w== X-Gm-Message-State: APzg51DGAKViCcxFI5GpMA393ekiIMcsFEC0+kFQHYMgW2fmdVUq/yrJ /YaLVaPTgfv+pSIYnh8CCZ3WGxTwovl0pPaEyUIrxpPHqYDByw== X-Google-Smtp-Source: ANB0VdaL9f6mTWXC2pAGNxtiYakYgA/1DOSUcFfIJLld7Tb+kFY/QIuYwqzwVH2RayfvtPwDxil0tZBYa1FQQfcvW2U= X-Received: by 2002:a24:ac44:: with SMTP id m4-v6mr17616238iti.90.1536598021446; Mon, 10 Sep 2018 09:47:01 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:d104:0:0:0:0:0 with HTTP; Mon, 10 Sep 2018 09:47:00 -0700 (PDT) From: Lee Brown Date: Mon, 10 Sep 2018 09:47:00 -0700 Message-ID: Subject: mpr(4) and disable_eedp To: "Kenneth D. Merry" Cc: freebsd-scsi@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2018 16:47:03 -0000 On Thu, Nov 16, 2017 at 6:28 AM, Kenneth D. Merry wrote: > On Wed, Nov 15, 2017 at 12:24:47 -0800, Lee Brown wrote: > > I'm looking to build a SAS array with a Dell MD1420. It will be attached > > via a SAS 9300-414E HBA in a Dell R330. > > In theory it should be fine. I haven't used a Dell enclosure recently, but > from posts here, it seems that they like to turn on Type 2 Protection > Information on the drives. (Assuming you buy the drives from Dell.) > > If they do that, you can either reformat, or see the patch here for the > mpr(4) driver to disable using protection information: > > https://docs.freebsd.org/cgi/getmsg.cgi?fetch=308820+0+ > archive/2017/freebsd-scsi/20171022.freebsd-scsi > > I have been using this patch in production on an 11.1 kernel with great success. I'm upgrading to 11.2 today and am wondering what's required to push this into the source tree (so I can be lazy next time and not have to patch)? I can provide testing and maybe the MD1420 could be added to the officially supported hardware list? Let me know how I could help. BTW, there's a typo in the patch for mpr.c "dsiable" should be "disable": + OID_AUTO, "dsiable_eedp", CTLFLAG_RD, &sc->disable_eedp, 0, Regards -- lee