Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2023 08:00:03 -0600
From:      Rebecca Cran <rebecca@bsdio.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Tomek CEDRO <tomek@cedro.info>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: Seemingly random nvme (nda) write error on new drive (retries exhausted)
Message-ID:  <b0ec7fd6-c99a-3484-02da-c18a92c962a3@bsdio.com>
In-Reply-To: <CANCZdfrCY7PfopRy27_wBLBzS%2BaCq5GUAGtpK2pra1ZjyUrdYA@mail.gmail.com>
References:  <5b52fc08-fb5a-900e-b98c-817a4ab79846@bsdio.com> <CAFYkXjn%2BhPdBrCwvwin-sus66Nem%2BvA3mHPuc7jJPrn6F_dP2Q@mail.gmail.com> <b94e421a-60de-5dd7-dc51-3b7f8ed6d36e@bsdio.com> <CANCZdfrCY7PfopRy27_wBLBzS%2BaCq5GUAGtpK2pra1ZjyUrdYA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/8/23 05:48, Warner Losh wrote:
>
>
> On Thu, Jun 8, 2023, 4:35 AM Rebecca Cran <rebecca@bsdio.com> wrote:
>
>     It's ZFS, using the default options when creating it via the FreeBSD
>     installer so I presume TRIM is enabled. Without a reliable way to
>     reproduce the error I'm not sure disabling TRIM will help at the
>     moment.
>
>     I don't think there's any newer firmware for it.
>
>
> pci gen 4 has a highter error rate so that needs to be managed with 
> retries.  There's a whole protocol to do that which linux implements. 
> I suspect the time has come for us to do so too. There's some code 
> floating around I'll have to track down.

Thanks. I dropped the configuration down to PCIe gen 3 and the errors 
have so far gone away.


nda0: nvme version 1.3 x8 (max x8) lanes PCIe Gen3 (max Gen4) link
nda1: nvme version 1.3 x4 (max x4) lanes PCIe Gen3 (max Gen4) link

-- 
Rebecca Cran




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b0ec7fd6-c99a-3484-02da-c18a92c962a3>