[Bug 265776] [nvme] Toshiba nvme not always detected on boot

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Aug 2022 15:36:47 UTC

            Bug ID: 265776
           Summary: [nvme] Toshiba nvme not always detected on boot
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: Vardan-Melikyan@proton.me

Freshly installed fbsd 13.1 release on a Thinkpad x270, zfs root on geli.
However, the system doesn't always boot successfully, with error:

trying to mount from zfs:zroot/ROOT/default failed with error 5.

Listing "valid disk boot devices" with "?" shows nothing at all when the error

Actually by booting the 13.1-RELEASE installer image on this machine sometimes
the nvme partitions are not detected, and hence I believe it is an issue with
the nvme driver (no /dev/nvd* are created), and the installer fails to find a
valid device.

I've tried hw.nvme.use_nvd=0, with no success, it just looks completely random,
some times it boots fine, sometimes it doesn't. I can exclude hardware issue,
as Linux boots always fine on this laptop, also I couldn't reproduce the issue
on 14-CURRENT.

Any help is much appreciated, please don't hesitate to ask for more information
if needed.

You are receiving this mail because:
You are the assignee for the bug.