From nobody Sun Mar 20 14:30:14 2022 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D2F861A36806 for ; Sun, 20 Mar 2022 14:30:26 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KM0XK6M9Jz3DJG for ; Sun, 20 Mar 2022 14:30:25 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-2e5ad7166f1so119840547b3.12 for ; Sun, 20 Mar 2022 07:30:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuffli-net.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8fEta6Zj3zShRKz3TyoxRwp98Yw7WtN7TRy+mG+PqEg=; b=TiS7GKAY+6e2zR2R66oj93YfRyMwXP7vt2h0ekRi1+k07scQi8JO95VelLqyu4WHV6 lttMW0YbpQLf2BDiRU1gBu3M2IN3JA5U17xmpjmTvV24X1ZNuoDj7+3VX/eC2vF9dwtM /NrfuJd466KzukHH2CToXAkeAMXVPs8NtXtUXYvbUGP6ZbJFRpKeKitgH3pIH64dh6hg 044fl1tPBfY/bWMmdLVFI7r3WU1cPoI8WgSCO7qyIbFLNvrJqCuofrbR8O19YyvDw+sA mEpzgDNj/kBM2icrlz3IfiCXbnUAoTpdW3ztYo/0L/PlBfV1x6odu6zVgyOrc2J7yRJz c94g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8fEta6Zj3zShRKz3TyoxRwp98Yw7WtN7TRy+mG+PqEg=; b=q3kGF1kRmCyFT/ockQwDS36nYrMsKvLLDT2Cd3N2E3dmapMOcYBLcI63QJ+vwPkAR4 c1X0OetjB2tYut5o13kyuKKVhDikNrj30fIjhTRdGh7b49j/3cDoT8/EYdto/GDfjcDY O9FtxXGvgPlPczlwEHVKQZnLNp7eKUIVqD5LoQH5zc1ksrGdlUZgmwsZrJKXAbC1yC3q OrfG1GkiUpBcRe2gHYav4CkowHAGKMy2sXpgFavYGGyKk7h6dM7Z70S6LmmDjXeKy2Tc mcEq3rThzCt+0ixtzcC/kt/PDMKEnw+mNLHGgSusyi43W2bMs5ZIWHR1zo1NERCrWnA1 tNsA== X-Gm-Message-State: AOAM530kz8ayAg0kgcpbeOSusscNLhHksxZO89Ie0HIBmtNEqFdZMwzZ cAWB2TVriFAY9n96yjsIyjtAYKS45nfJTOl1fxPSYw== X-Google-Smtp-Source: ABdhPJyNwdwCC0UYq3koailPv3PJnko0fPMh7fbv6Hln1duSvTP3/spvIPZOje256pQGyxgbMrBQ6YPcKdesK0X9qT8= X-Received: by 2002:a81:84a:0:b0:2e5:a8a8:c083 with SMTP id 71-20020a81084a000000b002e5a8a8c083mr19398976ywi.58.1647786625028; Sun, 20 Mar 2022 07:30:25 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: <00bf01d80104$e6ba5de0$b42f19a0$@tubnor.net> <082b01d80697$64e95030$2ebbf090$@tubnor.net> In-Reply-To: From: Chuck Tuffli Date: Sun, 20 Mar 2022 07:30:14 -0700 Message-ID: Subject: Re: bhyve NVMe 1.4 support To: Mario Marietto Cc: jason@tubnor.net, FreeBSD virtualization Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4KM0XK6M9Jz3DJG X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tuffli-net.20210112.gappssmtp.com header.s=20210112 header.b=TiS7GKAY; dmarc=none; spf=permerror (mx1.freebsd.org: domain of chuck@tuffli.net uses mechanism not recognized by this client) smtp.mailfrom=chuck@tuffli.net X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tuffli-net.20210112.gappssmtp.com:s=20210112]; FREEFALL_USER(0.00)[chuck]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[tuffli.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[tuffli-net.20210112.gappssmtp.com:+]; R_SPF_PERMFAIL(0.00)[empty SPF record]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::112f:from]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MLMMJ_DEST(0.00)[freebsd-virtualization]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Mar 20, 2022 at 3:44 AM Mario Marietto 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