Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2020 08:06:46 -0500
From:      Theron <theron.tarigo@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Running FreeBSD on M.2 SSD
Message-ID:  <397e40c1-1c61-e70d-1c6c-c22c784406d5@gmail.com>
In-Reply-To: <CAP4Gn9D0Hn8F61tWokfo%2B0GY6zEodJU0LM115C3%2Bdpn3V7T=-A@mail.gmail.com>
References:  <CAP4Gn9DFAoQtq6NP4hZ-Jq=ddnhp7Bzc_X%2BSce2FPVWn6kjASg@mail.gmail.com> <202002250115.01P1F9KX090465@mail.karels.net> <CAP4Gn9CqCSk5Lof_-05j1S0EWmTdB_HRfOe5zVig5khf7wJ0ow@mail.gmail.com> <188F34DA-192C-4D44-96B5-18A7DAE8EC67@digsys.bg> <6028c786-8610-01d9-818e-6f69a2fe9645@ingresso.co.uk> <20200225145346.GA42880@phouka1.phouka.net> <6e329bb8-b96e-fa16-cc73-426685593943@denninger.net> <CAP4Gn9D1==FR8S4O3jJbLXwNEYqffL2L_uhK8yHD2xBzJGemqQ@mail.gmail.com> <CAP4Gn9CqNpyz1S8QfDjm0vwhSVmjYMtk5Rt0Q3fZ=P_7nVMSSA@mail.gmail.com> <20200226234823.GB22189@lonesome.com> <CAP4Gn9D0Hn8F61tWokfo%2B0GY6zEodJU0LM115C3%2Bdpn3V7T=-A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-02-26 22:54, Mario Olofo wrote:
> Hello Mark,
>
> Yes, I think that it's related to the WD Green SSD.
> Today I found this bug on FreeBSD's bugzilla:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225666
>
> Tried to reinstall and recompile the kernel with the patch but it didn't
> work, I continue to see corrupted data.
> I think that the only way to be really sure about the corrupted data is to
> reinstall again but already boot with the quirks configured, but the
> kern.cam.ada.X.quirks don't seems to exists on FreeBSD 12,
> so I have a probability of corruption between installation and compilation
> of the patched kernel...
>
> Don't know what more to do...
>
> Mario
>
Hi, please forgive my lack of experience with ZFS, but with regard to 
buggy SATA something hasn't been brought up yet:

If ZFS is sitting on top of GPT, what sectorsize and offset are used?  
What blocksize is "native" to the drive?  Are these aligned?

I recall this chance for misalignment being a cause of silent write 
corruption after installing a new SSD for Apple MacOS; maybe FreeBSD ZFS 
on SATA happens to be similarly susceptible.

Theron



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?397e40c1-1c61-e70d-1c6c-c22c784406d5>