From nobody Mon Nov 29 14:47:33 2021 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 ED64818BF47F for ; Mon, 29 Nov 2021 14:48:12 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 4J2pB45Flfz3vc6 for ; Mon, 29 Nov 2021 14:48:12 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: by mail-lf1-x12e.google.com with SMTP id b40so45323330lfv.10 for ; Mon, 29 Nov 2021 06:48:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1zAhSSdJk6E9mUzXTDouDJEBwYT8WpQvnknwLcJY5C4=; b=qFSnuzQ1Ww/wImchMFzo/iqUI/xyu87AUXHWIPcRlAudnTECEM5+mDgsBdQPe/mR8k PgSgpNCV/1F2arbEjnZHzr69aT3bo0PtdDgePSw4G0rN3c00jpw8PId8MkfBOe7k+Rth BkND8zll+MykUpj0VNw5QANX0KmFEhTwXwml2Wqt2yce/L8BGUK84ainWVKX4lKaA5DC FtxSsknaGU3pXTMxNsQZe8/K8x+zPR8EU26+TM8IeKNq7ZUujhehCAMvdzLqdLwiKyay tgWET+m/9MNCI+b17Z9sXNVHFJDuCFhkuGSczEUYL6Hp47I7aThFLpQNONICm4Y8+kB+ 8W1w== 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=1zAhSSdJk6E9mUzXTDouDJEBwYT8WpQvnknwLcJY5C4=; b=inVU4jI7Tc8SiGkbPeOJ+1AJbVFSc6tf6zLYJZgT4J+m2sd1EROkne/4Ck+eQaVzqI y4+Xxsugt8zuvqtgEGeJRH4p6MS15bYu5JnfTvgVM6nOppVr9Rn1KwiMpbfA8A9GM1cv S3+H2YOi23RDd6J25Ng3r48IJje8m/2Dr/hMyfnsZD1WgHrmai0da59D8r44xEldDBb5 rbO+/EpmC7rW0HIft5XtNJawcMMRo2TcqattBEBUSnAI6XtgxUtcI+dbmZKoSiFvAb8p cPGjm24EhkqfgoVyT8fiadL4eWm//WW4hEDc4cd2WYmGfeo+V4MCsOoMyLmJJTu3wXeV ZPmw== X-Gm-Message-State: AOAM533ptqqI23btHTW/9JXCyyoF033gPTwJQgcbeFGBKj594Hps6SDC SMQXDcxKYGhELbM29srOm3OneZhZm6iHW7Vt8ioUvmH/hMs= X-Google-Smtp-Source: ABdhPJzFBnVmmum5GXNJZPhjUtpI/EeCwFiCRexIRjHwF5eQdnsAHFu08rGszCmJV0q6V3+TreLs4uZ6Ek4pmAgG7kc= X-Received: by 2002:a05:6512:c17:: with SMTP id z23mr30695972lfu.175.1638197291341; Mon, 29 Nov 2021 06:48:11 -0800 (PST) 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: <1786593170.587714.1638135091567@ichabod.co-bxl> <711266519.635448.1638165807735@ichabod.co-bxl> <3e5cfc26e781421ba0244d5c78c3a4d4@beckhoff.com> <72dece5eb5f449aeb4680023cbb125c3@beckhoff.com> <597cd5cea82647fbaa566a2e371da358@beckhoff.com> <59df74909cf145969ff107e7eda3e352@beckhoff.com> <7323525a00eb44849e94957fccec5ad3@beckhoff.com> In-Reply-To: <7323525a00eb44849e94957fccec5ad3@beckhoff.com> From: Mario Marietto Date: Mon, 29 Nov 2021 15:47:33 +0100 Message-ID: Subject: Re: Bhyve CD-ROM To: =?UTF-8?Q?Corvin_K=C3=B6hne?= Cc: Freebsd Virtualization Content-Type: multipart/alternative; boundary="0000000000009f5b7305d1ee8797" X-Rspamd-Queue-Id: 4J2pB45Flfz3vc6 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N --0000000000009f5b7305d1ee8797 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have two situations that I don't know if they are correlated with each other. 1. on the windows 11 root folder I don't see the host shared folder that I have specified on the bhyve arguments 2. on the device manager the driver for the red hat virtIO SCSI passthru controller cant be loaded. the error is : can't start device (Code 10) and this error persists even if I tried to install the driver from the fedora iso,inside the folder vioscsi / win10 / amd64 Il giorno lun 29 nov 2021 alle ore 15:32 Corvin K=C3=B6hne ha scritto: > Could you add your errors, if any, you=E2=80=99re receiving from the inst= allation? > > > > > > 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 > *Sent:* Monday, November 29, 2021 3:29 PM > *To:* Corvin K=C3=B6hne > *Cc:* Freebsd Virtualization > *Subject:* Re: Bhyve CD-ROM > > > > *CAUTION:* External Email!! > > > > ok,so Ive already tried to install it from there,but it wont accept it. > > > > Il giorno lun 29 nov 2021 alle ore 15:12 Corvin K=C3=B6hne < > C.Koehne@beckhoff.com> ha scritto: > > It=E2=80=99s included in the same virtio ISO like virtio-blk and virtio-n= et: > https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-= 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 7075 > > *From:* Mario Marietto > *Sent:* Monday, November 29, 2021 3:08 PM > *To:* Corvin K=C3=B6hne > *Cc:* Freebsd Virtualization > *Subject:* Re: Bhyve CD-ROM > > > > *CAUTION:* External Email!! > > > > I dont remember but probably yes. I ve installed it using ahci-hd and the= n > I changed it with virtio-blk to check if the error related to the virtio > scsi driver that's missing would disappear. Where I can get the virtio-9p > driver for windows 10 ? > > > > Il giorno lun 29 nov 2021 alle ore 14:50 Corvin K=C3=B6hne < > C.Koehne@beckhoff.com> ha scritto: > > Hi Mario, > > > > how did you installed Windows 11? I=E2=80=99ve noticed that Windows 10 is= unable > to boot from virtio-blk if it=E2=80=99s installed without virtio-blk. > > It=E2=80=99ll show the =E2=80=9Cinaccessible boot device=E2=80=9D you hav= e mentioned. > > > > Regarding virtio-9p: I tried it a while ago with Windows 10 and was unabl= e > to get it working at all. > > So, I can=E2=80=99t help you much. However, you may wanna try to install = the > virtio-9p driver when installing Windows 11. > > Maybe Windows is unable to activate virtio-9p if it=E2=80=99s installed l= ater 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 > *Sent:* Monday, November 29, 2021 2:36 PM > *To:* Corvin K=C3=B6hne > *Cc:* Freebsd Virtualization > *Subject:* Re: Bhyve CD-ROM > > > > *CAUTION:* External Email!! > > > > Hello FreeBSD virtualization ML. > > > > I'm testing Windows 11 with bhyve and I've found some annoying problems > that prevent me from completing some tasks that I'm working on. > > > > It seems that bhyve and or Windows 11 does not support virtio-blk and > virtio-9p,but it supports virtio-net. It sounds strange because at least > one virtio device (virtio-net) is working. I don't understand why bhyve > won't accept the disk if I use virtio-blk,in fact it gives the error > "inaccessible boot device" as shown here : Protected link > > ; but it works with ahci-hd,even if it can't load the correct RedHat > Virt-IO SCSI driver,as shown here : Protected link > > ; windows 11 can't load even the driver for the default VGA graphic card. > > > > and it seems to don't even support virtio-9p,since when windows 11 is > launched,I don't see the folder "mnt" mounted on the root folder of Windo= ws > 11. Below you can see which bhyve parameters I've used : > > > > bhyve -S -c 4 -m 8G -w -H \ > -s 0,hostbridge \ > -s 1,ahci-cd,/home/marietto/Downloads/virtio/virtio-win-0.1.208.iso \ > ----> -s 2,ahci-hd,/mnt/da0p1/Backups/OS/bhyve/Windows/win11.img \ > -s 3,fbuf,tcp=3D0.0.0.0:5900,w=3D1440,h=3D900,wait \ > -s 8,virtio-net,tap0 \ > ----> -s 9,virtio-9p,sharename=3D/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 Marietto < > marietto2008@gmail.com> ha scritto: > > a different solution could be to remove the first sector from the iso > file,so that it won't boot anymore :) or to pass a physic disk with the > files that you need stored inside :) > > > > Il giorno lun 29 nov 2021 alle ore 08:46 Corvin K=C3=B6hne < > C.Koehne@beckhoff.com> ha scritto: > > pci slot 9:0: unknown device "virtio-9p" > > > > Looks like bhyve has no virtio-9p emulation. I guess it=E2=80=99s an olde= r bhyve > version than yours. > > > > > > 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 > *Sent:* Monday, November 29, 2021 8:09 AM > *To:* Corvin K=C3=B6hne > *Cc:* Sysadmin Lists ; Freebsd > Virtualization > *Subject:* Re: Bhyve CD-ROM > > > > *CAUTION:* External Email!! > > > > i would like to investigate why virtio-9p does not work for him. for me i= t > worked until some time ago. > > > > Il lun 29 nov 2021, 07:31 Corvin K=C3=B6hne ha sc= ritto: > > Hi, > > the bootorder is determined by pci slot order. Just add your disk before > your cd-rom: > > bhyve -c 1 -m 512M -w -H \ > -s 0,hostbridge \ > -s 3,virtio-blk,/dev/zvol/zroot/bhyve_vms/debianvm \ > -s 4,ahci-cd,/media/Debian-11.1.0-amd64-DVD-1.iso \ > -s 29,fbuf,tcp=3D0.0.0.0:5900,w=3D800,h=3D600,wait \ > -s 31,lpc \ > -l com1,stdio \ > -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd debianvm > > > Best regards > Corvin > > Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans > Beckhoff > Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 > > > -----Original Message----- > From: owner-freebsd-virtualization@freebsd.org < > owner-freebsd-virtualization@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 > > CAUTION: External Email!! > Thanks, Mario, but when I add this line, > > -s 9,virtio-9p,sharename=3D/media \ > > I get the following error message, > > pci slot 9:0: unknown device "virtio-9p" > > I read about shared folders earlier while looking for a solution and > concluded FreeBSD doesn't support it (yet). > > > From: Mario Marietto > > Sent: Sun Nov 28 23:14:39 CET 2021 > > To: > > Cc: Freebsd Virtualization > > Subject: Re: Bhyve CD-ROM > > > > > > 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=3D/mnt \ > > -- > Sent with > https://nospamproxywebp.beckhoff.com/enqsig/link?id=3DBCAAAABGd7m3lfMOLOI= hx3uNR_1Qav4Ffx8-jQB0torD82ts_G0AAADzTADPte9W9PqlaXgMPE2o-ss0dWvUhIbbKjdkxm= eheoA-wpCZVABIpqOsBmtP82ENzCYFfqq0R8x3KKhL9msTlK-C4cXe143E0KmLsrixsp9XeTqFj= ocjPJXL5HbZJPF6VJ1mhDjDjS0GT2hn0 > Secure and private email > > > > -- > > Mario. > > > > -- > > Mario. > > > > -- > > Mario. > > > > -- > > Mario. > --=20 Mario. --0000000000009f5b7305d1ee8797--