Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2022 07:30:14 -0700
From:      Chuck Tuffli <chuck@tuffli.net>
To:        Mario Marietto <marietto2008@gmail.com>
Cc:        jason@tubnor.net,  FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve NVMe 1.4 support
Message-ID:  <CAM0tzX3SCOS2nOKaODVF2TCTOY_5F5sdqELA666uFRZ=ZreXpg@mail.gmail.com>
In-Reply-To: <CA%2B1FSiijy0YjX0Nju9kRAY8hsYc42Y70V3tu-RfqCnaRhzLa8A@mail.gmail.com>
References:  <CAM0tzX1W1Do=uqA3PONyksY4dmob%2BZMi-ib7aECVx6AH3XW6Pw@mail.gmail.com> <00bf01d80104$e6ba5de0$b42f19a0$@tubnor.net> <CAM0tzX1EdQfTDUMU1dNtQHxG9SB3VzNP5UGmHuiHCY5HsxL2QA@mail.gmail.com> <CAM0tzX1qJOuqJWv_04oMvTqQrmLNQf8O%2B8PJ6cjLyh9bLqRmNQ@mail.gmail.com> <082b01d80697$64e95030$2ebbf090$@tubnor.net> <CA%2B1FSiijy0YjX0Nju9kRAY8hsYc42Y70V3tu-RfqCnaRhzLa8A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 20, 2022 at 3:44 AM Mario Marietto <marietto2008@gmail.com> wrote:
...
> on the Ubuntu 21.10 guest os :
>
> mario@marietto-BHYVE:/home/marietto# fdisk -l
>
> Disk /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
> Disk model: bhyve-NVMe
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> The nvme disk is not recognized.

Help me understand what "not recognized" means. The device nvme0n1
existing in the guest means that the Linux PCI driver found the
emulated device and the Linux NVMe driver claimed it. The "n1" at the
end of the device name implies the Linux NVMe driver successfully sent
a number of Admin commands to the emulated device and discovered the
Namespace. And the capacity looks correct.

--chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM0tzX3SCOS2nOKaODVF2TCTOY_5F5sdqELA666uFRZ=ZreXpg>