Re: Best way to have a FreeBSD VM for automated testing?

2024-02-23 Thread Mario Marietto
To speed up the booting of a bhyve VM I'm using this method : nohup /usr/sbin/bhyve -S -c sockets=2,cores=2,threads=2 -m 8G -w -H -A \ -s 0,hostbridge \ -s 1,virtio-blk,/mnt/zroot2/zroot2/bhyve/img/Linux/Ubuntu2310.img,bootindex=1 \ -s 11,hda,play=/dev/dsp,rec=/dev/dsp \ -s 13,virtio-net,tap19 \ -

Re: Best way to have a FreeBSD VM for automated testing?

2024-02-23 Thread Mario Marietto
I forgot to say that I want to create a different FreeBSD flavour that will have a lot of virtual machines already embedded and ready to work and that work transparently. On Fri, Feb 23, 2024 at 10:37 PM Jo Durchholz wrote: > On 23.02.24 19:41, Mario Marietto wrote: > > To speed up th

drm-kmod-20220907_2 not supported for this configuration / NVIDIA : Failed to initialize the NVIDIA kernel module

2024-02-24 Thread Mario Marietto
Hello to everyone. I need to conduct some tests on top of the FreeBSD 13.1. So,I've installed it on one of my disks. I've installed xfce4 and KDE,Xorg and from the ports (after having upgraded them),I've installed the nvidia-driver version. 535.146.02 ; I didn't have any problem. The problem aris

Re: drm-kmod-20220907_2 not supported for this configuration / NVIDIA : Failed to initialize the NVIDIA kernel module

2024-02-24 Thread Mario Marietto
> > pkg ins nvidia-drm - use pkg search and select your variant version > But drm not needed for nvidia > > After instal > nvidia-xconfig - will create Xorg conf file > > Start and load > dbus > kldload nvidia > > Try xfce or KDE > > Best, > Simon ) &

Re: drm-kmod-20220907_2 not supported for this configuration / NVIDIA : Failed to initialize the NVIDIA kernel module

2024-02-24 Thread Mario Marietto
It persists installing nvidia-driver-535.146.02,but I suspect that it is too now for FreeBSD 13.1. On Sat, Feb 24, 2024 at 2:46 PM Mario Marietto wrote: > :( > > KLD nvidia.ko : depends on kernel. Not available or version mismatch > linker_load_file : /boot/modules/nvidia.ko : unsu

A project is to be able to pass through an nvidia gpu to a Windows vm virtualized with bhyve.

2024-03-03 Thread Mario Marietto
Hello. My project is to be able to pass through an nvidia gpu to a Windows vm virtualized with bhyve. I know how to do that,but no one wants to take my idea into consideration. The problem is that Windows gives error 12 (interrupt conflicts) when it finds the nvidia gpu that has been passed throu

Re: VNC Viewer on Windows: Unable to access VMs GUI

2024-03-12 Thread Mario Marietto
ootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ > debian > > > > On Wed, Feb 14, 2024 at 3:47 PM Mario Marietto > wrote: > >> -s 3,fbuf,tcp=0.0.0.0:59 <http://0.0.0.0:5915>*15*,w=1600,h=950 \ >> -s 10,virtio-net,tap*15* \ >> *vm15* < /dev/null

Re: VNC Viewer on Windows: Unable to access VMs GUI

2024-03-12 Thread Mario Marietto
D host lives in a Data Centre several kilometers from me. I > only access it via SSH. > 2. My FreeBSD host does not have a keyboard, mouse, or screen attached to > it. > 3. I use VNC Viewer to connect to the VMs like HOST_IP:PORT > > > On Tue, Mar 12, 2024 at 2:36 PM Mario M

Re: VNC Viewer on Windows: Unable to access VMs GUI

2024-03-12 Thread Mario Marietto
; readonly cmd_redirect="${cmd_redirect-"/dev/null"}" readonly src_dir="${src_dir-"/usr/corvin-src-releng-140"}" echo $src_dir readonly with_bhf="${with_bhf-"true"}" readonly with_kernel="${with_kernel-"true"}" readonl

Re: VNC Viewer on Windows: Unable to access VMs GUI

2024-03-12 Thread Mario Marietto
You will not go to stable. On Tue, Mar 12, 2024 at 2:44 PM Odhiambo Washington wrote: > I run 14-RELEASE and would not like to go to -STABLE. > > On Tue, Mar 12, 2024 at 3:00 PM Mario Marietto > wrote: > >> Try the procedure explained below to have the latest bhyve ve

Trying to add SystemD to Linux installed on the Linuxulator...

2024-04-03 Thread Mario Marietto
Hello. There was a time when the developers were working on the WSL vers. 2 (Windows Subsystem for Linux),and they hadn't developed SystemD yet. And I remember well that there was an external developer that had created a dirty but working hack to add it to WSL2. Yesterday I thought,why not try to

Re: Trying to add SystemD to Linux installed on the Linuxulator...

2024-04-03 Thread Mario Marietto
Because I want to try to install WayDroid inside the Linuxulator. But WayDroid requires systemD... On Wed, Apr 3, 2024 at 1:01 PM Tomek CEDRO wrote: > systemd is considered rootkit by some folks and they left linux world > because of that or use distro with no systemd. lots of linux centric > so

Re: Trying to add SystemD to Linux installed on the Linuxulator...

2024-04-04 Thread Mario Marietto
rs/drivers.py> so,this closes this project. But anyway,I can still use a bhyve vm. But like this it is less interesting for me... On Wed, Apr 3, 2024 at 1:25 PM Goran Mekić wrote: > On 4/3/24 12:55, Mario Marietto wrote: > > Hello. > > There was a time when the developers were workin

Trying to virtualize ReactOS with bhyve : I don't see a viable way to do it...

2024-04-19 Thread Mario Marietto
Hello. I'm trying to boot the 32 bit ISO image of ReactOS using bhyve or qemu and seabios as bootloader. As first experiment I tried to boot the x86 version of ReactOS with qemu (8.2.2) and seabios (version 1.16.1_1),like this : qemu-system-x86_64 -machine q35 -m 1G -cdrom /home/marietto/Desktop

Re: Trying to virtualize ReactOS with bhyve : I don't see a viable way to do it...

2024-04-20 Thread Mario Marietto
r to be able to use the mouse and keyboard inside the vm...I will install the server on freebsd and the client inside the reactos vm... Could it work as long as reactOS has a network connection ? Let me know. On Fri, Apr 19, 2024 at 3:52 PM Mario Marietto wrote: > Hello. > > I

Re: Does bhyve support hyper-v enlightenments?

2024-04-24 Thread Mario Marietto
I don't think so. But I did the reverse. I've virtualized FreeBSD 14 on Windows 11 with qemu + HyperV. My goal was to share my ZFS disks in Windows without the risk of losing data if you install some zfs driver https://forums.freebsd.org/threads/how-to-virtualize-freebsd-14-release-as-a-vm-on-

How to use Virtio GPU on FreeBSD as guest OS.

2024-04-27 Thread Mario Marietto
Hello. I've virtualized FreeBSD 14 on Windows 11 with qemu using the Hyper-V as a hypervisor. The parameters that I've used to launch the vm are the following ones : qemu-system-x86_64w.exe -accel whpx -machine q35 \ -cpu kvm64,hv_relaxed,hv_time,hv_synic -m 8G -vga virtio \ -display gtk,gl=on

Re: How to use Virtio GPU on FreeBSD as guest OS.

2024-05-02 Thread Mario Marietto
What I find strange is that this configuration works on Windows 11 to virtualize FreeBSD using -device vmware-svga : I:\OS\vms\qemu\qemu-system-x86_64w.exe -accel whpx -machine q35 -cpu kvm64,hv_relaxed,hv_time,hv_synic -m 8G -device vmware-svga,id=video0,vgamem_mb=16,bus=pcie.0,addr=0x1 -audiode

How much hard is to write a version of bhyve that can accelerate qemu ?

2024-05-20 Thread Mario Marietto
Hello. some days ago I had a nice discussion with a qemu and haxm hypervisor developer that ended with a nice question and I would like to hear your opinions : ME : "HAXM was created to bring Intel Virtualization Technology to Windows and macOSusers" ; keeping in consideration that MacOS has some

Re: [RFC] virtio testing framework

2024-05-30 Thread Mario Marietto
Can someone explain to me what the purpose of what you are talking about ? On Thu, May 30, 2024 at 10:38 PM Tomek CEDRO wrote: > Awesome!! Congrats :-) > > Here is some example of running NuttX RTOS on RV in a web browser using > TinyEMU + VirtIO :-) > > https://github.com/lupyuen/nuttx-tinyemu

Re: [RFC] virtio testing framework

2024-05-31 Thread Mario Marietto
e in this patch makes no functional > changes to existing code. > > --Emil > > On Thu, May 30, 2024 at 6:19 PM Mario Marietto > wrote: > >> Can someone explain to me what the purpose of what you are talking about >> ? >> >> >> On Thu, May 30, 20

Re: bhyve passthru problem

2024-06-14 Thread Mario Marietto
Oleksandr,I would like to try an experiment to try to fix your problem. If you agree,I could send you my bhyve and vmm.ko files,if you want. I suspect that they may fix your problem. Let me know if you want to try. On Fri, Jun 14, 2024 at 8:35 AM Corvin Köhne wrote: > On Thu, 2024-06-13 at 10:53

Re: bhyve passthru problem

2024-06-15 Thread Mario Marietto
Ciao Oleksandr. I can't produce patches,I'm not a programmer. But I conduct experiments every day,changing parameters,system files between different FreeBSD versions,operating systems and tools. Can't you use virtio-net instead of passing through the physical network interface,like this for examp

Fwd: bhyve passthru problem

2024-06-16 Thread Mario Marietto
900K + GPU = Nvidia RTX 2080 ti. You can try the default kernel shipped with FreeBSD 14.0-RELEASE p6 to make it easier. * -- Forwarded message - Da: Oleksandr Kryvulia Date: dom 16 giu 2024, 10:13 Subject: Re: bhyve passthru problem To: 15.06.24 13:47, Mario Marietto: Ciao Ole

Re: Fwd: bhyve passthru problem

2024-06-16 Thread Mario Marietto
I've realized that using the latest version is not a guarantee of functionality. On Sun, Jun 16, 2024 at 12:41 PM Oleksandr Kryvulia wrote: > 16.06.24 12:55, Mario Marietto: > > I've zipped and uploaded my boot directory to my google drive > > > htt

How to launch a bhyve vm as normal user,without being root

2024-06-17 Thread Mario Marietto
Hello. someone of you has been able to launch a bhyve vm as user using doas ? I'm trying but without success. First of all I created my doas.conf : nano /usr/local/etc/doas.conf permit nopass :marietto cmd bhyve permit nopass :marietto cmd vm-create and then I tried to lauch the vm below :

Re: How to launch a bhyve vm as normal user,without being root

2024-06-17 Thread Mario Marietto
On Mon, Jun 17, 2024 at 2:24 PM Odhiambo Washington wrote: > > > On Mon, Jun 17, 2024 at 2:19 PM Mario Marietto > wrote: > >> Hello. >> >> someone of you has been able to launch a bhyve vm as user using doas ? >> >> I'm trying but without

Re: How to launch a bhyve vm as normal user,without being root

2024-06-17 Thread Mario Marietto
Can you paste here the contents of doas.conf and debian.sh ? thanks. On Mon, Jun 17, 2024 at 5:35 PM Odhiambo Washington wrote: > > > On Mon, Jun 17, 2024 at 5:13 PM Mario Marietto > wrote: > >> Nice idea,but it does not work : >> > > It worked for me! >

Re: How to launch a bhyve vm as normal user,without being root

2024-06-17 Thread Mario Marietto
[marietto@marietto /bhyve]==> sudo nano /usr/local/etc/doas.conf permit nopass :wheel as root cmd hallo [marietto@marietto /bhyve]==> doas hallo BOOM ! it works : hallo root On Mon, Jun 17, 2024 at 6:54 PM Dave Cottlehuber wrote: > On Mon, 17 Jun 2024, at 14:12, Mario Marie

Re: How to launch a bhyve vm as normal user,without being root

2024-06-17 Thread Mario Marietto
17, 2024 at 7:53 PM Mark Peek wrote: > Likely need to add this as it is what you are passing to doas as the > command to execute: > > permit nopass :wheel as root cmd /usr/sbin/12-Win-11-vm12 > > Mark > > On Mon, Jun 17, 2024 at 10:40 AM Mario Marietto > wrote: > &g

Re: How to launch a bhyve vm as normal user,without being root

2024-06-17 Thread Mario Marietto
eek wrote: > Likely because you don't have this in the doas.conf file: > > permit nopass :wheel as root cmd /bhyve/12-Win-11-vm12 > > > On Mon, Jun 17, 2024 at 11:35 AM Mario Marietto > wrote: > >> If I keep the bhyve scripts in /usr/sbin,it works. But I want

Re: How to launch a bhyve vm as normal user,without being root

2024-06-17 Thread Mario Marietto
I had an illumination and I found how it works : [marietto@marietto /bhyve]==> doas /bhyve/12-Win-11-vm12 But why ? On Mon, Jun 17, 2024 at 10:15 PM Mario Marietto wrote: > nano /usr/local/etc/doas.conf : > > permit nopass :wheel as root cmd bhyve-win > permit nopass :wheel as

Re: How to launch a bhyve vm as normal user,without being root

2024-06-17 Thread Mario Marietto
t instead of doing : doas /bhyve/12-Win-11-vm12. On Tue, Jun 18, 2024 at 12:36 AM Dave Cottlehuber wrote: > On Mon, 17 Jun 2024, at 17:39, Mario Marietto wrote: > > [marietto@marietto /bhyve]==> sudo cp 12-Win-11-vm12 /usr/sbin > > this filepath is /usr/sbin/12-Win-11-vm12 > &g

Re: How to launch a bhyve vm as normal user,without being root

2024-06-18 Thread Mario Marietto
5,virtio-net,tap3 \ > -s 7,virtio-9p,sharename=/ \ > -s 8,hda,play=/dev/dsp,rec=/dev/dsp \ > -s 29,fbuf,tcp=0.0.0.0:5904,w=1600,h=950 \ > -s 30,xhci,tablet \ > -s 31,lpc -l com1,stdio \ > -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ > debian > > And all I do

Re: OS Images(Linux/etc) in ports tree

2024-06-29 Thread Mario Marietto
I think that it may be possible to put only the VM config files on the ports,not necessarily heavy image files. On Sat, Jun 29, 2024 at 4:26 PM Shawn Webb wrote: > On Sat, Jun 29, 2024 at 09:48:28AM +0200, Chris Moerz wrote: > > > > On Fri, 28 Jun 2024, Connor Cooper wrote: > > > > > Hello, I a

Re: OS Images(Linux/etc) in ports tree

2024-06-29 Thread Mario Marietto
This could be the project that you are interested in : https://github.com/quickemu-project/quickemu In your case,it could be called quick bhyve. So let's get started. I'm also interested in collaborating. On Sat, Jun 29, 2024 at 5:32 PM Tomek CEDRO wrote: > On Fri, Jun 28, 2024 at 5:10 PM Conn

Re: OS Images(Linux/etc) in ports tree

2024-06-29 Thread Mario Marietto
This could be the project that you are interested in : https://github.com/quickemu-project/quickemu In your case,it could be called quick bhyve. So let's get started. I'm also interested in collaborating. Il sab 29 giu 2024, 19:49 Chris Moerz ha scritto: > > > On Sat,

Re: OS Images(Linux/etc) in ports tree

2024-06-30 Thread Mario Marietto
your case,it could be called quick bhyve. So let's get started. I'm > also > > interested in collaborating. > > > > Il sab 29 giu 2024, 19:49 Chris Moerz ha > scritto: > > > > > > > > > > > On Sat, 29 Jun 2024, Mario Marietto wro

How to unload the vmm.ko module while FreeBSD is running...

2024-07-02 Thread Mario Marietto
Hello. I'm trying to unload the vmm kernel module,but it fails : [root@marietto /bhyve]==> kldunload -fv vmm Unloading vmm.ko, id=13 kldunload: can't unload file: Device busy I don't understand why it fails,since I don't have any bhyve vm currently running : [root@marietto /bhyve]==> ps ax | gr

Re: How to unload the vmm.ko module while FreeBSD is running...

2024-07-02 Thread Mario Marietto
ietto /dev/vmm]==> kldload vmm kldload: can't load vmm: module already loaded or in kernel [root@marietto /dev/vmm]==> kldstat | grep vmm [root@marietto /dev/vmm]==> ls /dev/vmm ls: /dev/vmm: No such file or directory On Tue, Jul 2, 2024 at 9:35 PM Denis Kirjanov wrote: > > > вторн

How to analyze some precompiled bhyve files with the goal to develop a patch...

2024-07-02 Thread Mario Marietto
Hello to each bhyve developers. Some of you already know that I have been able to correctly pass thru correctly my gpu,the geforce RTX 2080 ti inside a Windows 11 vm. For sure I don't know why it works,because it didn't work for a lot of years. I've isolated all the files that should NOT be change

looking for a regression

2024-07-09 Thread Mario Marietto
Hello. I'm looking for a regression. Can someone help me to find which commit belongs to this version of FreeBSD ?---> FreeBSD 14.0-RELEASE-p6 #0 For example : 14.0-RELEASE-p6 #15 = commit d338712beb16ad7740bbd00bd93299a131a68045 very thanks. -- Mario.

Re: looking for a regression

2024-07-10 Thread Mario Marietto
se the 14.0-p6. I've upgraded to p7 and the vmm.ko module offered wasn't good. Mine was good,instead. I suppose that I can continue to exchange the modules only until the end of the 14.0 branch. I'm on amd64. On Wed, Jul 10, 2024 at 10:55 AM Dave Cottlehuber wrote: > On Tue, 9 Jul

Re: RFC: rc(8) script for bhyve(8) on FreeBSD

2024-08-05 Thread Mario Marietto
Hello. I'm also interested in writing a script to manage the bhyve vms. Even if I suspect that my approach will be different. My idea is to ask the user what he wants to do and then the script will configure the vm getting the information provided by the user. I will give a look at /etc/rc.d/bhyve

Re: Confirm subscription to freebsd-...@freebsd.org

2021-08-17 Thread Mario Marietto
Hello. I'm trying to configure the bridging and the tap interface on freebsd 13 because I want to boot and use a bhyve VM based on Ubuntu 21.04 and Windows 10,but unfortunately,after several readings and help requests on : 0. https://www.reddit.com/r/Ubuntu/comments/p38ru1/ubuntu_2104_cant_

Re: anyone able to bhyve openbsd 7.0 ?

2021-11-12 Thread Mario Marietto
I'm also interested in trying openBSD. I've just tried to boot the iso and the img file like this : bhyve -S -c 8 -m 8G -w -H \ -s 0,hostbridge \ -s 1,ahci-cd,/home/marietto/Downloads/OS/OpenBSD/install70.iso / install70.img \ #-s 2,virtio-blk,/mnt/da4s1/OS/bhyve/OpenBSD/openbsd70.img \ #-s 3:0,pa

Re: anyone able to bhyve openbsd 7.0 ?

2021-11-13 Thread Mario Marietto
Dustin,try this : https://blahg.josefsipek.net/?p=595 Il giorno sab 13 nov 2021 alle ore 03:53 Dustin Marquess < dmarqu...@gmail.com> ha scritto: > On Fri, Nov 12, 2021 at 8:49 PM tech-lists wrote: > > > > On Fri, Nov 12, 2021 at 08:27:31PM -0600, Dustin Marquess wrote: > > >Oops, I forgot I had

Re: anyone able to bhyve openbsd 7.0 ?

2021-11-13 Thread Mario Marietto
Nothing. I went on Linux and I'm trying to boot the iso and the img file with qemu and kvm : they don't want to boot (in uefi mode) Il giorno sab 13 nov 2021 alle ore 09:53 Mario Marietto < marietto2...@gmail.com> ha scritto: > Dustin,try this : https://blahg.josefsipek.net/?

Re: Bhyve CD-ROM

2021-11-28 Thread Mario Marietto
if the cd is not bootable,you can attach it like this : -s 1,ahci-cd,/home/marietto/Downloads/virtio/virtio-win-0.1.208.iso \ or you can grab the files that you want when the os is loaded,declaring the folder on the host os where are stored the files like this : -s 9,virtio-9p,sharename=/mnt \

Re: Bhyve CD-ROM

2021-11-28 Thread Mario Marietto
inal Message- > From: owner-freebsd-virtualizat...@freebsd.org < > owner-freebsd-virtualizat...@freebsd.org> On Behalf Of Sysadmin Lists > Sent: Monday, November 29, 2021 7:03 AM > To: Mario Marietto > Cc: Freebsd Virtualization > Subject: Re: Bhyve CD-ROM > >

Re: Bhyve CD-ROM

2021-11-29 Thread Mario Marietto
off > Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 > > *From:* Mario Marietto > *Sent:* Monday, November 29, 2021 8:09 AM > *To:* Corvin Köhne > *Cc:* Sysadmin Lists ; Freebsd > Virtualization > *Subject:* Re: Bhyve CD-ROM > > > > *CAUTIO

Re: Bhyve CD-ROM

2021-11-29 Thread Mario Marietto
0.0.0.0:5900,w=1440,h=900,wait \ -s 8,virtio-net,tap0 \ > -s 9,virtio-9p,sharename=/mnt \ -s 30,xhci,tablet \ -s 31,lpc \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ vm0 Can I fix some of the problems explained ? thanks. Il giorno lun 29 nov 2021 alle ore 09:12 Mario Mariet

Re: Bhyve CD-ROM

2021-11-29 Thread Mario Marietto
’s installed later too. > > > > > > Best regards > > Corvin > > > > Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans > Beckhoff > Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 > > *From:* Mario Marietto > *Sen

Re: Bhyve CD-ROM

2021-11-29 Thread Mario Marietto
virtio/ > > Note: older versions might not include it. > > > > > > Best regards > > Corvin > > > > Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans > Beckhoff > Registered office: Verl, Germany | Register court: Guetersloh HRA 7

Re: Bhyve CD-ROM

2021-11-29 Thread Mario Marietto
receiving from the installation? > > > > > > Best regards > > Corvin > > > > Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans > Beckhoff > Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 > > *From:* Mari

Re: Bhyve CD-ROM

2021-11-29 Thread Mario Marietto
t=auto depend="WinFsp.Launcher/VirtioFsDrv" DisplayName="Virtio FS Service" (read from here : https://virtio-fs.gitlab.io/howto-windows.html) Il giorno lun 29 nov 2021 alle ore 15:47 Mario Marietto < marietto2...@gmail.com> ha scritto: > I have two situations that I don'

Re: Bhyve CD-ROM

2021-11-29 Thread Mario Marietto
-- > > From: Corvin Köhne > > Sent: Mon Nov 29 07:31:19 CET 2021 > > To: Sysadmin Lists , Mario Marietto < > marietto2...@gmail.com> > > Cc: Freebsd Virtualization > > Subject: RE: Bhyve CD-ROM > > > > > > Hi, &g

Re: Bhyve CD-ROM

2021-11-29 Thread Mario Marietto
g a new virtual disk with the CD > contents on it, and keep the working ISO for future installations. Thanks. > > > > > From: Mario Marietto > > Sent: Mon Nov 29 22:46:45 CET 2021 > > To: Sysadmin Lists > > Cc: Corvin Köhne

Re: Bhyve CD-ROM

2021-11-30 Thread Mario Marietto
u've got there > > > > > From: Miroslav Lachman <000.f...@quip.cz> > > Sent: Tue Nov 30 13:27:32 CET 2021 > > To: , Mario Marietto > > > Cc: Corvin Köhne > > Subject: Re: Bhyve CD-ROM > > > > > > On 29/11/2021 22

Re: Bhyve CD-ROM

2021-11-30 Thread Mario Marietto
it seems that you have been able to install debian under bhyve and normally this is not possible to achieve. Which kind of tutorial did you follow ? you know that bhyve is missing the uefi variables and you need to apply a trick. I'm not sure if your problem is related to that bhyve's behavior. Il

Re: Bhyve CD-ROM

2021-12-01 Thread Mario Marietto
...] > mount /dev/vdb1 /media/ > # [...] mounted read-only > ls /media/ > # [ rom contents ] > > Thanks for the tip. > > > > > From: Sysadmin Lists via virtu

ASMedia USB controller 3.1 cannot be masked by bhyve ?

2021-12-11 Thread Mario Marietto
Hello to everyone. I've bought a new USB 3.1 controller from the company "ASMedia Technology Inc." ,this model : https://www.xt-xinte.com/h-product-detail.html?goods_id=682689 and I tried to mask it with bhyve because I want to pass thru it inside a virtual machine. This is how I have assigne

Re: bhyve NVMe 1.4 support

2021-12-19 Thread Mario Marietto
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. Il giorno dom 19 dic 2021 alle ore 17:24 Chuck Tuffli ha scritto: > On Tue, Dec 7, 2021 at 7:58 AM Chuck Tuffli wrote: > > > > I've been working on a patch

FreeBSD 14 does not boot if bhyve points to the SATA disk where it is installed phisically

2022-01-30 Thread Mario Marietto
Hello to everyone. I'm running FreeBSD 13 RELEASE p6 and I'm trying to boot FreeBSD 14 CURRENT that I have installed on the SATA disk mapped at /dev/da1 as follows : da1 at umass-sim1 bus 1 scbus6 target 0 lun 0 da1: Fixed Direct Access SPC-4 SCSI device da1: Serial Number 2014016C da1: 400

Looking for a developer that help us improving bhyve adding the "line interrupts support for passed through devices"

2022-02-06 Thread Mario Marietto
Hello. After one month of research we have found the technical reasons why a modern nvidia gpu if passed through inside a windows 10 / 11 vm produces the error 43 (actually the error 12 after having added some new features). It happens because it misses "line interrupts support for passed through

Multiple bugs on bhyve present on FreeBSD 13R p7 while passing thru USB controller and graphic card

2022-02-08 Thread Mario Marietto
Hello to everyone. I'm using bhyve on FreeBSD 13R p7 and I'm trying to pass thru my usb controller and / or my graphic card while at the same time I'm trying to boot 3 operating systems (Ubuntu,Windows and FreeBSD 13) installed on a SATA and / or NVME disk using the virtio-blk driver and the ahci-

Re: Multiple bugs on bhyve present on FreeBSD 13R p7 while passing thru USB controller and graphic card

2022-02-08 Thread Mario Marietto
In my system I have two graphic cards. This is the first one,configured as default from the bios and used on the freebsd host : vgapci0@pci0:0:2:0: class=0x03 rev=0x02 hdr=0x00 vendor=0x8086 device=0x3e98 subvendor=0x1458 subdevice=0xd000 vendor = 'Intel Corporation' device =

!!!! X64 Exception Type - 06(#UD - Invalid Opcode) CPU Apic ID - 00000000 !!!! while trying to pass thru my devices with bhyve on FreeBSD 14-CURRENT

2022-02-10 Thread Mario Marietto
Hello. I've bought an additional PCI to USB (Renesas) controller that I've attached to the PCIe Gen3 x4 (Type 22110) of my MOBO Gigabyte Aorus Pro with Intel I9 chipset and Nvidia Geforce RTX 2080 ti. On this controller I've attached two USB disks and my KInect 2. The nVidia geforce RTX 2080 ti is

ERRATA CORRIGE "BUG !!!! X64 Exception Type - 06(#UD - Invalid Opcode) CPU Apic ID - 00000000 !!!! while trying to pass thru my devices with bhyve on FreeBSD 14-CURRENT"

2022-02-10 Thread Mario Marietto
Hello. I've bought an additional PCI to USB (Renesas) controller that I've attached to the PCIe Gen3 x4 (Type 22110) of my MOBO Gigabyte Aorus Pro with Intel I9 chipset and Nvidia Geforce RTX 2080 ti. On this controller I've attached two USB disks and my KInect 2. The nVidia geforce RTX 2080 ti is

Assertion failed: (baridx == 0), function pci_fbuf_write, file /usr/src/usr.sbin/bhyve/pci_fbuf.c, line 134. Abort (core dumped)

2022-02-14 Thread Mario Marietto
Hello. On FreeBSD 13-RELEASE I can't pass through my graphic card (geforce RTX 2080 ti) at all. I hope that everytime I upgrade freebsd 13R with the commands : freebsd-update fetch freebsd-update install the passthru will be fixed,but this never happens. This is the error message : Assertion fa

Assertion failed: (n >= 2 && n <= BLOCKIF_IOV_MAX + 2), function pci_vtblk_proc, file /usr/src/usr.s bin/bhyve/pci_virtio_block.c, line 324.

2022-03-12 Thread Mario Marietto
Hello. I want to understand if I'm dealing with a bug or with a regular method of working. So,please be patient with me. What I want to achieve is to pass thru two of my NTFS "formatted" disks to a Windows 11 VM,but without passing them thru using the USB controller. I'm using : FreeBSD marietto

bhyve + USB disks as slots + virtio-blk driver + passt-thru will not allow any OS to boot

2022-03-13 Thread Mario Marietto
Hello. What I want to achieve is to pass thru two of my NTFS "formatted" disks to a Windows 11 VM,but without passing them thru using the USB controller in FreeBSD with a bhyve virtual machine (in the example below I tried to boot Windows 11 from the nvme disk nvd0) AT at the same time I want to p

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
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 on the Ubuntu 21.10 guest os : mario@marietto-BHYVE:/home/marietto# fdisk -l Disk /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sector

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
ocumentation for more details. Il giorno dom 20 mar 2022 alle ore 15:30 Chuck Tuffli ha scritto: > 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

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
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 On Linux : mario@marietto-BHYVE:/home/marietto# mount

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
|CPAu2r,fh...| 0100 Il giorno dom 20 mar 2022 alle ore 19:35 Chuck Tuffli ha scritto: > 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

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
e/marietto# nvme id-ns /dev/nvme0n1 | grep lba nlbaf : 0 flbas : 0 lbaf 0 : ms:0 lbads:9 rp:0 (in use) Il giorno dom 20 mar 2022 alle ore 20:41 Chuck Tuffli ha scritto: > On Sun, Mar 20, 2022 at 12:03 PM Mario Marietto > wrote: > > > > on FreeBSD : > > > > roo

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
FreeBSD 13.1-RELEASE is out ? Can I upgrade from 13-p8 to 13-1 with freebsd-update fetch / freebsd-update install ? Il giorno dom 20 mar 2022 alle ore 21:04 Chuck Tuffli ha scritto: > On Sun, Mar 20, 2022 at 12:58 PM Mario Marietto > wrote: > > > > host : > > >

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
n FreeBSD 14,it says not found or something like this. Il giorno dom 20 mar 2022 alle ore 22:20 Chuck Tuffli ha scritto: > 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

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
if i want to boot any os installed physically on a disk,not matter what,it will not boot if i want also pass thru a disk or a graphic card. this is the reason why im trying to pass as much as disks i can using the -s slot. I see that the usb disks can be passed through using -s with the virtio-blk

Re: bhyve NVMe 1.4 support

2022-03-21 Thread Mario Marietto
Just to inform you that I've passed through the M2 disk as a PCI device and now all the partitions inside the disk are correctly detected by Linux. Il giorno lun 21 mar 2022 alle ore 00:26 Mario Marietto < marietto2...@gmail.com> ha scritto: > if i want to boot any os installed p

Virtio-win driver (virtio-blk and virtio-scsi) don't work when they are used on bhyve with Windows 11 as guest os

2022-03-25 Thread Mario Marietto
Hello. What I want to achieve is to pass thru two of my NTFS "formatted" disks to a Windows 11 VM,but without passing them thru using the USB controller in FreeBSD with a bhyve virtual machine (in the example below I tried to boot Windows 11 from the nvme disk nvd0. I'm using this FreeBSD versio

Re: Virtio-win driver (virtio-blk and virtio-scsi) don't work when they are used on bhyve with Windows 11 as guest os

2022-03-28 Thread Mario Marietto
I've just installed the virtio driver version suggested by Corvin (0.185) and it works fine in Windows. So,now I can pass those NTFS disks without using the USB controller. That's so cool. Bhyve becoming even more and more interesting. I'm happy thanks to everyone. It works even in Linux without pa

Re: [edk2-devel] [PATCH v2] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg

2022-04-07 Thread Mario Marietto
im trying to test the patch on my pc,that has two graphic cards,the intel coffee lake and the nvidia. i tried to start the pc from the nvidia card and ive configured the xorg.conf file giving the proper bus id value. in addition ive loaded the kernel.ko file from the boot loader.conf i have removed

Re: [Bug 262936] bhyve: win10 host fails to restart

2022-04-16 Thread Mario Marietto
try the corvin patches in his repository. he has fixed all these problems and more,but only of his patches have been accepted. its a shame,becauze it forces us to apply not common patches,buts thats it. Il sab 16 apr 2022, 12:26 ha scritto: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262

Re: [Bug 262936] bhyve: win10 host fails to restart

2022-04-16 Thread Mario Marietto
try the corvin patches in his repository. he has fixed all these problems and more,but only of his patches have been accepted. its a shame,becauze it forces us to apply not common patches,buts thats it. Il sab 16 apr 2022, 12:26 ha scritto: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262

No way to boot any OS with Virtualbox-ose on FreeBSD 13R.

2022-05-06 Thread Mario Marietto
Hello to everyone. This is my second attempt to be able to boot an OS with Virtualbox. I'm trying to boot a Linux and a Windows 11 DVD. I've followed different tutorials,such as : http://www.allanjude.com/bsd/virtualization-host-virtualbox.html https://forums.freebsd.org/threads/installing-wind

Re: No way to boot any OS with Virtualbox-ose on FreeBSD 13R.

2022-05-07 Thread Mario Marietto
k6y...@mail.gmail.com> > , Mario Marietto writes: > ># kldstat | grep vmm > >10 1 0x8288d000 583d30 vmm.ko > > Do your VBox guests boot when you stop your bhyve guests > and unload the vmm module? > https://forums.freebsd.org/threads/dont-mix-virtualbox-and-bhyve-and-then

Re: UdpDataProtocol.cpp (was: how to run bhyve and virtualbox at the same time)

2022-06-26 Thread Mario Marietto
ham Perrin < grahamper...@freebsd.org> ha scritto: > On 26/06/2022 14:43, Mario Marietto wrote: > > > … I don't have any *UdpDataProtocol.cpp file *on my*FreeBSD > > 13.1-RELEASE *system. … > > Hi > > UdpDataProtocol.cpp is: > > * present in source code for j

Re: how to run bhyve and virtualbox at the same time

2022-06-26 Thread Mario Marietto
e not been explored,like an ingenious method to run virtualbox and bhyve at the same time,that could be useful. Il giorno dom 26 giu 2022 alle ore 20:29 Dustin Marquess < dmarqu...@gmail.com> ha scritto: > On Sun, Jun 26, 2022 at 8:45 AM Mario Marietto > wrote: > >> If that can&

Re: how to run bhyve and virtualbox at the same time

2022-06-26 Thread Mario Marietto
ily ? What else ? Il giorno dom 26 giu 2022 alle ore 20:47 Mario Marietto < marietto2...@gmail.com> ha scritto: > Sure,I knew about CIFS and NFS,but I didn't think about a 9P client. > Anyway,who told you that I'm looking for the easiest route ? Sometimes I > like to ex

Re: how to run bhyve and virtualbox at the same time

2022-06-27 Thread Mario Marietto
I did it already and it works. Fact is that if I use virtualbox I can't use bhyve at the same time. So It's not a good idea to use only virtualbox machines. Il giorno lun 27 giu 2022 alle ore 21:01 Eugene Grosbein ha scritto: > On 26.06.2022 20:43, Mario Marietto wrote: > >

bhyve: Warning: Unable to reuse host address of Graphics Stolen Memory. GPU passthrough might not work properly. bhyve: gvt_d_setup_opregion: Unable to get OpRegion base and length bhyve: gvt_d_init:

2022-07-28 Thread Mario Marietto
Hello. I've tried to passthru my CoffeeLake-S GT2 [UHD Graphics 630] on a Linux VM but it failed. This graphic card : ppt4@pci0:0:2:0:class=0x038000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x3e98 subvendor=0x1458 subdevice=0xd000 vendor = 'Intel Corporation' device = 'CoffeeL

Re: bhyve: Warning: Unable to reuse host address of Graphics Stolen Memory. GPU passthrough might not work properly. bhyve: gvt_d_setup_opregion: Unable to get OpRegion base and length bhyve: gvt_d_in

2022-07-29 Thread Mario Marietto
ing used by the > host? (Thus you would need to have two GPUs, one to allow the host to > display its output and one to passthrough. Unless the host is completely > headless). > > > Sent from ProtonMail mobile > > > > Original Message > On Jul 29, 2022

Re: bhyve: Warning: Unable to reuse host address of Graphics Stolen Memory. GPU passthrough might not work properly. bhyve: gvt_d_setup_opregion: Unable to get OpRegion base and length bhyve: gvt_d_in

2022-07-29 Thread Mario Marietto
on "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "

Re: bhyve: Warning: Unable to reuse host address of Graphics Stolen Memory. GPU passthrough might not work properly. bhyve: gvt_d_setup_opregion: Unable to get OpRegion base and length bhyve: gvt_d_in

2022-07-31 Thread Mario Marietto
Cool. I can do this only with the RTX 2080 ti,but not with the Intel GPU. If I'm obliged to use it even if I don't use it,I can't imagine how and in which kind of situation I can pass it through.* Il giorno ven 29 lug 2022 alle ore 16:20 Mario Marietto < marietto2...@gmail.

My nvidia gpu can't be passed through from Linux (qemu+kvm) to the 2. guest OS (Puppy Linux) that I tried to virtualize on the 1. (FreeBSD 13.1)

2022-09-27 Thread Mario Marietto
Hello. I've configured Xubuntu 22.04 so that it can allow me to pass thru my nvidia gpu on the guest os vms. This time I've chosen freebsd 13.1 as a guest,because I was curious to see if bhyve supports the passthrough of my nvidia gpu within another guest os (Puppy Linux) that I have virtualized w

How to use the framebuffer as primary video device instead of the nvidia passed-through graphic card in a bhyve/linux vm

2022-12-03 Thread Mario Marietto
Hello to everyone. what Im trying to do is to set the framebuffer video adapter as primary graphic card on my bhyve-ubuntu vm instead of the nvidia RTX 2080 ti card that I have passed through. What I want to do really is to use both the graphic adapters,but the primary should be the framebuffer an

Re: How to use the framebuffer as primary video device instead of the nvidia passed-through graphic card in a bhyve/linux vm

2022-12-03 Thread Mario Marietto
Section SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection

Re: How to use the framebuffer as primary video device instead of the nvidia passed-through graphic card in a bhyve/linux vm

2022-12-04 Thread Mario Marietto
Il giorno dom 4 dic 2022 alle ore 10:41 Corvin Köhne ha scritto: > On December 3, 2022 7:14:29 PM GMT+01:00, Mario Marietto < > marietto2...@gmail.com> wrote: >> >> ok. I tried like this,but it didn't work : >> >> bhyve -S -c sockets=1,cores=2,thread

  1   2   >