Running FreeBSD on M.2 SSD

Mario Olofo mario.olofo at gmail.com
Tue Mar 10 20:27:10 UTC 2020


Hi Rebecca,

I checked when I had the problem but the machine was up to date.
I already solved this problem with the fix in the bugzilla and a lot of
help from the great people here to try to narrow down the problem, but the
little detail is that the installer wasn't using the ZFS volumes as 4k.
So before the setup for partitions I entered the command line, loaded the
ZFS driver and added the ashift=12 sysctl to it, so it
installed the volumes as 4k, and after that I rebuilt the kernel with the
patch (quirks = 0x03) =)

Thank you,

Mario

Em ter., 10 de mar. de 2020 às 17:06, Rebecca Cran <rebecca at bsdio.com>
escreveu:

>
> >> On Feb 26, 2020, at 9:20 PM, Warner Losh <imp at bsdimp.com> wrote:
> >>
> >> On Wed, Feb 26, 2020, 8:54 PM Mario Olofo <mario.olofo at gmail.com>
> 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...
> >
> > What happens if you disable TRIM?
>
> Also, have you checked to see if there’s a firmware update available?
>
> Rebecca
>
>


More information about the freebsd-stable mailing list