Re: Struggle with bhyve and Kali.

2024-12-07 Thread Chuck Tuffli
On Sat, Dec 7, 2024, at 3:27 PM, Zaphod Beeblebrox wrote: > So... I've installed kali a few times on bhyve. Lately on 14.1 that is now > 14.2 (no change there). The graphical install proceeds fine (using the vm > install command), and the first reboot (cd still attached) works fine. > > Subseq

CPU count and slow Windows VM

2024-11-03 Thread Chuck Tuffli
I'm helping someone trouble-shoot a sluggish Windows 11 VM running under bhyve (FreeBSD 14.1) related to the number of vCPUs. With 1-2 vCPUs, the VM's performance is reasonable, but adding 8 or more vCPUs makes the VM nearly unusable because even moving the mouse takes minutes. Before I dig int

Re: nvme virtualisation string for bhyve

2024-09-14 Thread Chuck Tuffli
On Sat, Sep 14, 2024, at 6:14 AM, void wrote: > ... > I usually start my vms with a bhyve variable for the disk > like: > > -s 4,virtio-blk,/dev/zvol/ssd/vm2 \ > > The man page for bhyve says this: > > ### NVMe device backends > ### • > devpath[,maxq=#][,qsz=#][,ioslots=#][,sectsz=#][,

Re: bhyve disk performance issue

2024-02-16 Thread Chuck Tuffli
On Fri, Feb 16, 2024, at 9:45 AM, Paul Procacci wrote: > > > On Fri, Feb 16, 2024 at 12:43 PM Chuck Tuffli wrote: >> __ >> On Fri, Feb 16, 2024, at 9:19 AM, Matthew Grooms wrote: >>> Hi All, >>> >>> >>> >>> I'm in the m

Re: bhyve disk performance issue

2024-02-16 Thread Chuck Tuffli
On Fri, Feb 16, 2024, at 9:19 AM, Matthew Grooms wrote: > Hi All, > > > > I'm in the middle of a project that involves building out a handful of > servers to host virtual Linux instances. Part of that includes testing bhyve > to see how it performs. The intent is to compare host storage option

Re: 14R bhyve RHEL9+NVME

2024-02-11 Thread Chuck Tuffli
On Sun, Feb 11, 2024, at 5:25 PM, Jason Tubnor wrote: > Hi Matthew, > > There is some underlying bug post 9.1 when it comes to Anaconda and the > presented NVMe storage. I can't reproduce it with newer version of Anaconda > that is present in Fedora. > > Uplifting in place from 9.1 to 9.3,

bhyve without UEFI questions

2024-01-22 Thread Chuck Tuffli
I'm getting conflicting information and thought I'd ask here about guest disk images without UEFI. 1. If bhyve can boot the image with uefi-csm, should I be able to get a graphical console? I tried: -s 6:0,fbuf,tcp=0.0.0.0:5900,vga=io VNC connects, but the screen is blank. I saw some mentions o

Re: [nvme]: Windows10: inaccessible boot device

2022-08-20 Thread Chuck Tuffli
On Fri, Aug 19, 2022 at 12:55 PM Nuno Teixeira wrote: > > Hello, > > I'm running bhyve at main-n257521-97be6fced7db and I'm trying to use 'nvme' > to access Windows disk but it fails with message "INACCESSIBLE BOOT DEVICE". > > I've read that nvme was fixed in recent commit. > Do I missing some c

Re: bhyve NVMe 1.4 support

2022-03-22 Thread Chuck Tuffli
> virtio-scsi driver,but none of these drivers work with the m2 / nvme disk. >> >> Il mar 7 dic 2021, 16:58 Chuck Tuffli ha scritto: >>> >>> I've been working on a patch series to get bhyve's NVMe emulation >>> compliant with the v1.4 specifica

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Chuck Tuffli
On Sun, Mar 20, 2022 at 1:38 PM Mario Marietto 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 env

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Chuck Tuffli
On Sun, Mar 20, 2022 at 12:58 PM Mario Marietto wrote: > > host : > > root@marietto:/usr/home/marietto/bhyve # nvmecontrol identify nvme0ns1 | grep > "LBA Format" > > Number of LBA Formats: 1 > Current LBA Format: LBA Format #00 > LBA Format #00: Data Size: 512 Metadata Size:

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Chuck Tuffli
On Sun, Mar 20, 2022 at 12:03 PM Mario Marietto wrote: > > on FreeBSD : > > root@marietto:/usr/home/marietto/bhyve # hd -n 256 /dev/nvd0 > On Ubuntu 21.10 : > > root@marietto-BHYVE:/home/marietto# hd -n 256 /dev/nvme0n1 Thank you. The outputs show the first 256 bytes of nvd0 and nvme0n1 match.

Re: Adding storage to a guest

2022-03-20 Thread Chuck Tuffli
On Fri, Mar 18, 2022 at 2:44 AM Xavier Humbert wrote: ... > Unfortunately, it doensn't change anything Are you using vm-bhyve? If so, can you share the vm-bhyve.log for this VM? --chuck

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Chuck Tuffli
On Sun, Mar 20, 2022 at 8:13 AM Mario Marietto wrote: > > > Help me understand what "not recognized" means. The device nvme0n1 : > > I don't see the partitions that are stored inside the disk nvme. And I'm not > able to mount the NTFS partition that's mapped as nvd0p2 under FreeBSD. Thank yo

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Chuck Tuffli
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 (lo

Re: Adding storage to a guest

2022-03-16 Thread Chuck Tuffli
On Sun, Mar 13, 2022 at 5:36 AM Xavier Humbert wrote: > > Hi, > > I have a Ubuntu-server as guest on Byhve/FreeBDS 13 > > I tried to add some extra storage, so added > > disk2_dev="custom" > disk2_opts="sectorsize=512" > disk2_type="virtio-blk" > disk2_name="disk2.img" > > to the config file. Unfo

Re: bhyve NVMe 1.4 support

2022-01-10 Thread Chuck Tuffli
On Wed, Jan 5, 2022 at 4:33 PM Chuck Tuffli wrote: > > On Mon, Jan 3, 2022 at 4:49 PM wrote: > > > > Hi Chuck, > > > > Testing on 14.0-CURRENT shows the following: > > > > OpenBSD 6.9 - NVMe read/write OK > > Windows 10 - NVMe read OK, write FA

Re: bhyve NVMe 1.4 support

2022-01-05 Thread Chuck Tuffli
On Mon, Jan 3, 2022 at 4:49 PM wrote: > > Hi Chuck, > > Testing on 14.0-CURRENT shows the following: > > OpenBSD 6.9 - NVMe read/write OK > Windows 10 - NVMe read OK, write FAIL > Windows Server 2022 - NVMe read OK, write FAIL > Alma Linux 8.5 - NVMe read OK, write FAIL. Thanks for the report, Ja

Re: bhyve NVMe 1.4 support

2021-12-20 Thread Chuck Tuffli
On Sun, Dec 19, 2021 at 8:28 AM Mario Marietto wrote: > Hello. > > Can you gently write me the instructions here about how to apply your > patches and I will test everything on my Freebsd 13R. thanks. > I’m not sure the patches will apply cleanly to 13.0-RELEASE as the base bhyve configuration p

Re: bhyve NVMe 1.4 support

2021-12-19 Thread Chuck Tuffli
On Tue, Dec 7, 2021 at 7:58 AM Chuck Tuffli wrote: > > I've been working on a patch series to get bhyve's NVMe emulation > compliant with the v1.4 specification. The compliance tests now pass, > and I will work on getting the patches up for review "soon". In the &g

bhyve NVMe 1.4 support

2021-12-07 Thread Chuck Tuffli
I've been working on a patch series to get bhyve's NVMe emulation compliant with the v1.4 specification. The compliance tests now pass, and I will work on getting the patches up for review "soon". In the meantime, there is a copy of the full changes if anyone is interested in testing on current or

Re: [Bug 256422] bhyve and Centos/Rocky 8.4 no boot after install

2021-08-25 Thread Chuck Tuffli
On Thu, Aug 19, 2021 at 10:26 AM Chuck Tuffli wrote: > > On Mon, Aug 16, 2021 at 5:30 AM John Kennedy wrote: > ... > > > bhyve: Fix NVMe iovec construction for large IOs > > ... > > > PR: 256422 > > > Reported by:

Re: [Bug 256422] bhyve and Centos/Rocky 8.4 no boot after install

2021-08-19 Thread Chuck Tuffli
On Mon, Aug 16, 2021 at 5:30 AM John Kennedy wrote: ... > > bhyve: Fix NVMe iovec construction for large IOs > ... > > PR: 256422 > > Reported by:d...@syix.com > > Tested by: ja...@tubnor.net > > MFC after: 5 days > > Relnotes: yes > >

Re: [Bug 256422] bhyve and Centos/Rocky 8.4 no boot after install

2021-08-16 Thread Chuck Tuffli
in branch main references this bug: > > > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=91064841d72b285a146a3f1c32cb447251e062ea > > > > commit 91064841d72b285a146a3f1c32cb447251e062ea > > Author: Chuck Tuffli > > AuthorDate: 2021-06-27 22:14:52