Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2017 15:08:07 -0400
From:      Ken Merry <ken@freebsd.org>
To:        Shiva Bhanujan <Shiva.Bhanujan@Quorum.com>
Cc:        "freebsd-scsi@freebsd.org" <freebsd-scsi@freebsd.org>, Stephen Mcconnell <stephen.mcconnell@broadcom.com>
Subject:   Re: FreeBSD 10.3/11.0 SCSI errors with Symbios Logic SAS3008 PCI-Express Fusion-MPT SAS-3
Message-ID:  <BADD2508-40F9-41BE-990C-229409CE8957@freebsd.org>
In-Reply-To: <3A5A10BE32AC9E45B4A22F89FC90EC0701C36667DC@QLEXC01.Quorum.local>
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> <3A5A10BE32AC9E45B4A22F89FC90EC0701C36667DC@QLEXC01.Quorum.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Great!  I=E2=80=99m glad that fixed it.

It would be better to fix the problem with EEDP / Protection Information =
in the mpr(4) driver rather than having to have people disable the =
check.

Ken
=E2=80=94=20
Ken Merry
ken@FreeBSD.ORG



> On Oct 20, 2017, at 1:55 PM, Shiva Bhanujan =
<Shiva.Bhanujan@Quorum.com> wrote:
>=20
> 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.
>=20
> hw.mpr.disable_eedp=3D"1"
> ev.mpr.0.disable_eedp=3D"1"
>=20
>=20
> 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?
>=20
>=20
>=20
>=20
>=20
> From: Ken Merry [ken@freebsd.org]
>=20
> Sent: Friday, October 20, 2017 7:34 AM
>=20
> To: Shiva Bhanujan
>=20
> Cc: Steven Hartland; freebsd-scsi@freebsd.org
>=20
> Subject: Re: FreeBSD 10.3/11.0 SCSI errors with Symbios Logic SAS3008 =
PCI-Express Fusion-MPT SAS-3
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> Ok. Yes, for #2, in theory we can disable EEDP / protection =
information in the mpr(4) driver and if DPICZ is set, the drive won=E2=80=99=
t require setting protection information on read and write commands.
>=20
>=20
>=20
> That should let you access the disks normally.
>=20
>=20
>=20
> 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.
>=20
>=20
>=20
> 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:
>=20
>=20
>=20
> 1. Set hw.mpr.disable_eedp=3D1 in /boot/loader.conf. That will disable =
EEDP / Protection Information for all mpr instances.
>=20
> 2. Set dev.mpr.0.disable_eedp=3D1 in /boot/loader.conf. That will =
disable EEDP for mpr0.
>=20
> 3. sysctl dev.mpr.0.disable_eedp=3D1 That will disable EEDP on the fly =
for mpr0.
>=20
>=20
>=20
> Let me know what happens.
>=20
>=20
>=20
> Ken
>=20
> =E2=80=94=20
>=20
> Ken Merry
>=20
> ken@FreeBSD.ORG
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BADD2508-40F9-41BE-990C-229409CE8957>