Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2017 17:55:51 +0000
From:      Shiva Bhanujan <Shiva.Bhanujan@Quorum.com>
To:        Ken Merry <ken@freebsd.org>
Cc:        Steven Hartland <killing@multiplay.co.uk>, "freebsd-scsi@freebsd.org" <freebsd-scsi@freebsd.org>
Subject:   RE: FreeBSD 10.3/11.0 SCSI errors with Symbios Logic SAS3008 PCI-Express Fusion-MPT SAS-3
Message-ID:  <3A5A10BE32AC9E45B4A22F89FC90EC0701C36667DC@QLEXC01.Quorum.local>
In-Reply-To: <95A66B26-548C-4BF5-9527-EE30F9C01D42@freebsd.org>
References:  <3A5A10BE32AC9E45B4A22F89FC90EC0701C3665D5D@QLEXC01.Quorum.local> <3A5A10BE32AC9E45B4A22F89FC90EC0701C3665E8B@QLEXC01.Quorum.local> <20171016144231.GA94858@mithlond.kdm.org> <3A5A10BE32AC9E45B4A22F89FC90EC0701C366610E@QLEXC01.Quorum.local> <20171017023126.GA6559@mithlond.kdm.org> <3A5A10BE32AC9E45B4A22F89FC90EC0701C3666143@QLEXC01.Quorum.local> <3A5A10BE32AC9E45B4A22F89FC90EC0701C3666345@QLEXC01.Quorum.local> <3A5A10BE32AC9E45B4A22F89FC90EC0701C3666352@QLEXC01.Quorum.local> <3E746990-8C6D-4CA1-BD79-B5566CFB07F4@freebsd.org> <32C157CE-A122-435F-8430-9531BEEB5914@freebsd.org> <3A5A10BE32AC9E45B4A22F89FC90EC0701C3666647@QLEXC01.Quorum.local> <CAHEMsqY1ijV659MabfRPWecDVRbzwYGynd2hUfUOwmZe_Tg=Lw@mail.gmail.com> <3A5A10BE32AC9E45B4A22F89FC90EC0701C36666F5@QLEXC01.Quorum.local> <96BAD947-4AB0-4EAC-9DA8-4B1F10253287@freebsd.org> <3A5A10BE32AC9E45B4A22F89FC90EC0701C366674D@QLEXC01.Quorum.local>, <95A66B26-548C-4BF5-9527-EE30F9C01D42@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the patch.  I applied the patch on FreeBSD 10.3 and it has =
addressed the issue.  I've added the following to /boot/loader.conf.

hw.mpr.disable_eedp=3D=221=22
ev.mpr.0.disable_eedp=3D=221=22


I'm going to apply the patch in FreeBSD 11.1 also, just to make sure that =
works.  Is this going to be checked into stable/10 and/or stable/11?





From: Ken Merry =5Bken=40freebsd.org=5D

Sent: Friday, October 20, 2017 7:34 AM

To: Shiva Bhanujan

Cc: Steven Hartland; freebsd-scsi=40freebsd.org

Subject: Re: FreeBSD 10.3/11.0 SCSI errors with Symbios Logic SAS3008 =
PCI-Express Fusion-MPT SAS-3







Ok. Yes, for =232, in theory we can disable EEDP / protection information =
in the mpr(4) driver and if DPICZ is set, the drive won=E2=80=99t require =
setting protection information on read and write commands.



That should let you access the disks normally.



That said, I=E2=80=99ve never played with protection information before, =
so I don=E2=80=99t know for sure. I have a drive that supports it and =
I=E2=80=99m formatting it now to turn on type 2 protection I may be able =
to debug things once I get that done.



In the mean time, I=E2=80=99ve attached a patch against the stable/10 =
version of the mpr(4) driver. Apply this patch, and rebuild and reinstall =
your kernel. Then you=E2=80=99ll be able to disable EEDP in the driver =
three different ways:



1. Set hw.mpr.disable_eedp=3D1 in /boot/loader.conf. That will disable =
EEDP / Protection Information for all mpr instances.

2. Set dev.mpr.0.disable_eedp=3D1 in /boot/loader.conf. That will disable =
EEDP for mpr0.

3. sysctl dev.mpr.0.disable_eedp=3D1 That will disable EEDP on the fly for =
mpr0.



Let me know what happens.



Ken

=E2=80=94=20

Ken Merry

ken=40FreeBSD.ORG














Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A5A10BE32AC9E45B4A22F89FC90EC0701C36667DC>