Re: bhyve NVMe 1.4 support
- Reply: Bakul Shah : "Re: bhyve NVMe 1.4 support"
- In reply to: Chuck Tuffli : "Re: bhyve NVMe 1.4 support"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Mar 2022 22:11:29 UTC
I'm running on FreeBSD 14 : FreeBSD marietto 14.0-CURRENT FreeBSD 14.0-CURRENT #3 main-n253070-a30f71704ef: Thu Feb 10 12:33:57 CET 2022 marietto@marietto:/usr/obj/usr/src/amd64.amd64/sys/GENERIC a md64 and I see the same exact problem : root@marietto-BHYVE:~# 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 after having invoked bhyve like this : bhyve -S -c sockets=2,cores=2,threads=2 -m 8G -w -H -A \ -s 0,hostbridge \ -s 1,virtio-blk,/mnt/$vmdisk'p2'/bhyve/os/Linux/impish-cuda-11-5-nvidia-495.img \ -s 2,nvme,/dev/nvd0 \ -s 3,passthru,5/0/0 \ -s 4,passthru,1/0/0 \ -s 8,virtio-net,tap0 \ -s 9,virtio-9p,sharename=/ \ -s 29,fbuf,tcp=0.0.0.0:5900,w=1440,h=900 \ -s 30,xhci,tablet \ -s 31,lpc \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \ vm0 < /dev/null & sleep 2 && vncviewer 0:0 anyway there is a difference between freebsd 13 and 14. On freebsd 13,adding this parameter on /etc/rc.conf : hw.nvme.use_nvd=0 does not produce errors. But on FreeBSD 14,it says not found or something like this. Il giorno dom 20 mar 2022 alle ore 22:20 Chuck Tuffli <chuck@tuffli.net> ha scritto: > On Sun, Mar 20, 2022 at 1:38 PM Mario Marietto <marietto2008@gmail.com> > wrote: > > > > FreeBSD 13.1-RELEASE is out ? Can I upgrade from 13-p8 to 13-1 with > freebsd-update fetch / freebsd-update install ? > > RELEASE isn't out, but BETA2 is available. So, > # freebsd-update upgrade -r 13.1-BETA2 > # freebsd-update install > > boot environments are your friend, etc :) > -- Mario.