From owner-freebsd-virtualization@freebsd.org Sun Nov 1 09:56:58 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4412B44863D for ; Sun, 1 Nov 2020 09:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPBKQ18Ppz3yMh for ; Sun, 1 Nov 2020 09:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 25B784488DC; Sun, 1 Nov 2020 09:56:58 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 257AA44863C for ; Sun, 1 Nov 2020 09:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPBKQ0Bbwz3y0s for ; Sun, 1 Nov 2020 09:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DF1FC16B93 for ; Sun, 1 Nov 2020 09:56:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A19uvr6006020 for ; Sun, 1 Nov 2020 09:56:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A19uvsu006019 for virtualization@FreeBSD.org; Sun, 1 Nov 2020 09:56:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Sun, 01 Nov 2020 09:56:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 09:56:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cperciva@FreeBSD.org Assignee|bugs@FreeBSD.org |virtualization@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Nov 1 10:04:41 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0601F448A60 for ; Sun, 1 Nov 2020 10:04:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPBVJ6Pztz3yPH for ; Sun, 1 Nov 2020 10:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DA57B448A5E; Sun, 1 Nov 2020 10:04:40 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D909144896D for ; Sun, 1 Nov 2020 10:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPBVJ5Lgrz3ygj for ; Sun, 1 Nov 2020 10:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 96BF416C2B for ; Sun, 1 Nov 2020 10:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A1A4e17017707 for ; Sun, 1 Nov 2020 10:04:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A1A4eFd017706 for virtualization@FreeBSD.org; Sun, 1 Nov 2020 10:04:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Sun, 01 Nov 2020 10:04:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: raj@gusw.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 10:04:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 --- Comment #1 from Gunther Schadow --- Note, this is not like the ENA kernel panic nor the other AWS EC2 freeze on= t3 bug (apparently fixed in 12.1-RELENG) nor does the presence or absence of t= he "intsmb0: Could not allocate I/O space" error during boot (open since 2018) make any difference. So this is not a duplicate of those bugs. sysctl -a |... kern.features.nfsd: 1 kern.features.nfscl: 1 vfs.nfs.downdelayinitial: 12 vfs.nfs.downdelayinterval: 30 vfs.nfs.defect: 0 vfs.nfs.iodmax: 20 vfs.nfs.iodmin: 0 vfs.nfs.iodmaxidle: 120 vfs.nfs.use_buf_pager: 1 vfs.nfs.fileid_maxwarnings: 10 vfs.nfs.diskless_rootpath: vfs.nfs.diskless_valid: 0 vfs.nfs.nfs_ip_paranoia: 1 vfs.nfs.nfs_directio_allow_mmap: 1 vfs.nfs.nfs_keep_dirty_on_error: 0 vfs.nfs.nfs_directio_enable: 0 vfs.nfs.clean_pages_on_close: 1 vfs.nfs.commit_on_close: 0 vfs.nfs.prime_access_cache: 0 vfs.nfs.access_cache_timeout: 60 vfs.nfs.dssameconn: 0 vfs.nfs.ignore_eexist: 0 vfs.nfs.pnfsiothreads: -1 vfs.nfs.userhashsize: 100 vfs.nfs.debuglevel: 0 vfs.nfs.callback_addr: vfs.nfs.realign_count: 0 vfs.nfs.realign_test: 0 vfs.nfs.pnfsmirror: 1 vfs.nfs.enable_uidtostring: 0 vfs.nfs.dsretries: 2 vfs.nfs.skip_wcc_data_onerr: 1 vfs.nfs.nfs3_jukebox_delay: 10 vfs.nfs.reconnects: 0 vfs.nfs.bufpackets: 4 searching for ways to do some debug logging, should I enable this? debug.fail_point.status_nfscl_force_fileid_warning: off debug.fail_point.nfscl_force_fileid_warning: off How might I log NFS warnings? Current setup with out of the box unchanged /etc/syslog.conf # $FreeBSD: releng/12.2/usr.sbin/syslogd/syslog.conf 338146 2018-08-21 17:01:47Z brd $ # # Spaces ARE valid field separators in this file. However, # other *nix-like systems still insist on using tabs as field # separators. If you are sharing this file between systems, you # may want to use only tabs as field separators here. # Consult the syslog.conf(5) manpage. *.err;kern.warning;auth.notice;mail.crit /dev/console *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err=20=20 /var/log/messages security.* /var/log/security auth.info;authpriv.info /var/log/auth.log mail.info /var/log/maillog cron.* /var/log/cron !-devd *.=3Ddebug /var/log/debug.log *.emerg * # uncomment this to log all writes to /dev/console to /var/log/console.log # touch /var/log/console.log and chmod it to mode 600 before it will work #console.info /var/log/console.log # uncomment this to enable logging of all log messages to /var/log/all.log # touch /var/log/all.log and chmod it to mode 600 before it will work #*.* /var/log/all.log # uncomment this to enable logging to a remote loghost named loghost #*.* @loghost # uncomment these if you're running inn # news.crit /var/log/news/news.crit # news.err /var/log/news/news.err # news.notice /var/log/news/news.notice # Uncomment this if you wish to see messages produced by devd # !devd # *.>=3Dnotice /var/log/devd.log !* include /etc/syslog.d include /usr/local/etc/syslog.d in /var/log/messages you see the reboot without any issues reported: Nov 1 04:00:13 freebsd ec2[777]: ############################################################# ... Nov 1 05:49:13 freebsd su[1602]: ec2-user to root on /dev/pts/5 Nov 1 08:56:09 freebsd syslogd: exiting on signal 15 Nov 1 08:59:01 freebsd syslogd: kernel boot file is /boot/kernel/kernel Nov 1 08:59:01 freebsd kernel: ---<>--- not sure why syslogd is exiting on signal 15, that might have to do wit the lock-up, but more likely has to do with my force-stop action on the AWS console. Here is the earlier lock-up sequence: Oct 31 23:58:12 freebsd su[888]: ec2-user to root on /dev/pts/2 Oct 31 23:58:23 freebsd su[891]: ec2-user to root on /dev/pts/1 Oct 31 23:58:43 freebsd fsck[861]: /dev/gpt/varfs: 550 files, 1650 used, 12= 5234 free (106 frags, 15641 blocks, 0.1% fragmentation) Nov 1 03:48:09 freebsd syslogd: exiting on signal 15 Nov 1 03:50:35 freebsd syslogd: kernel boot file is /boot/kernel/kernel Nov 1 03:50:35 freebsd kernel: ---<>--- about 4 hours like I estimated, and the "syslogd: exiting on signal 15" is = just too close to the next boot that I don't think it is a herald of the lock-up, but rather it happens when I do the force-stop on the AWS EC2 management dashboard. And this would prove that we are not losing log messages due to = the lock-up. If the system had anything to say, it would have said it! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Nov 1 14:54:45 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3C14744FD05 for ; Sun, 1 Nov 2020 14:54:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPJx10pbzz4FH4 for ; Sun, 1 Nov 2020 14:54:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1BBC044F9B1; Sun, 1 Nov 2020 14:54:45 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B80444FB34 for ; Sun, 1 Nov 2020 14:54:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPJx06mgCz4F7k for ; Sun, 1 Nov 2020 14:54:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CBDE61A1C2 for ; Sun, 1 Nov 2020 14:54:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A1EsiWU081851 for ; Sun, 1 Nov 2020 14:54:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A1Esixu081850 for virtualization@FreeBSD.org; Sun, 1 Nov 2020 14:54:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Sun, 01 Nov 2020 14:54:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: raj@gusw.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 14:54:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 --- Comment #2 from Gunther Schadow --- Before anyone spends time on this, I am still trying some options. For now I have made 3 modification in my NFS mount options: 1. timeo=3D150 down from 600 - that alone didn't help 2. oneopenown - that alone didn't help 3. minorversion=3D1 added, the manual isn't clear if it is a requirement = for oneopenown or if it implicitly sets minorversion=3D1, but since I added tha= t, I have not frozen up for almost 6 hours. That's new. I also enabled crude NFS logging with=20 sysctl vfs.nfs.debuglevel=3D4 And this is what I see in the /var/log/messages: Nov 1 08:59:23 freebsd su[926]: ec2-user to root on /dev/pts/1 Nov 1 10:28:20 freebsd su[1271]: ec2-user to root on /dev/pts/2 Nov 1 10:28:38 freebsd kernel: clnt call=3D0 Nov 1 10:28:43 freebsd syslogd: last message repeated 8 times Nov 1 10:28:43 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 10:28:43 freebsd kernel: clnt call=3D0 Nov 1 10:29:14 freebsd syslogd: last message repeated 1125 times Nov 1 10:31:20 freebsd syslogd: last message repeated 63 times Nov 1 10:36:05 freebsd syslogd: last message repeated 368 times Nov 1 10:36:05 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 10:36:05 freebsd kernel: clnt call=3D0 ... Nov 1 13:25:37 freebsd kernel: clnt call=3D0 Nov 1 13:25:37 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 13:25:37 freebsd kernel: clnt call=3D0 Nov 1 13:25:37 freebsd syslogd: last message repeated 6 times Nov 1 13:25:37 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 13:25:37 freebsd kernel: clnt call=3D0 Nov 1 13:25:37 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 13:25:37 freebsd kernel: clnt call=3D0 Nov 1 13:25:37 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 13:25:37 freebsd kernel: clnt call=3D0 Nov 1 13:25:37 freebsd syslogd: last message repeated 6 times Nov 1 13:25:37 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 13:25:37 freebsd kernel: clnt call=3D0 Nov 1 13:25:37 freebsd syslogd: last message repeated 6 times Nov 1 13:25:37 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 13:25:37 freebsd kernel: clnt call=3D0 Nov 1 13:25:37 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 13:25:37 freebsd kernel: clnt call=3D0 Nov 1 13:25:56 freebsd syslogd: last message repeated 53 times Nov 1 13:25:56 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 13:25:56 freebsd kernel: clnt call=3D0 Nov 1 13:26:27 freebsd syslogd: last message repeated 80 times Nov 1 13:26:55 freebsd syslogd: last message repeated 204 times Nov 1 13:26:55 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 13:26:55 freebsd kernel: clnt call=3D0 Nov 1 13:27:36 freebsd syslogd: last message repeated 58 times Nov 1 13:29:26 freebsd syslogd: last message repeated 87 times Nov 1 13:30:47 freebsd syslogd: last message repeated 78 times Nov 1 13:30:47 freebsd kernel: readrpc: aft doiods=3D5 Nov 1 13:30:47 freebsd kernel: clnt call=3D0 Nov 1 13:31:21 freebsd syslogd: last message repeated 26 times Nov 1 13:33:00 freebsd syslogd: last message repeated 58 times Nov 1 13:43:21 freebsd syslogd: last message repeated 119 times Nov 1 13:53:06 freebsd syslogd: last message repeated 277 times Nov 1 14:03:00 freebsd syslogd: last message repeated 263 times Nov 1 14:13:22 freebsd syslogd: last message repeated 216 times Nov 1 14:23:06 freebsd syslogd: last message repeated 5110 times Nov 1 14:33:00 freebsd syslogd: last message repeated 491 times Nov 1 14:43:22 freebsd syslogd: last message repeated 120 times nothing really meaningful to me. But I hope that if it does lock up, I will= see something peculiar.=20 On the other hand, now on c5.large with: 1. minorversion=3D1 2. sysctl vfs.nfs.debuglevel=3D4 I have not locked up again. If I can make it a full day, I will take back t= hese 3 changes one by one, first the debug logging, then the minorversion=3D1, t= o see when the problem recurs. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Nov 1 16:40:42 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3D4B8452B98 for ; Sun, 1 Nov 2020 16:40:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPMHG0yFZz4KgD for ; Sun, 1 Nov 2020 16:40:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1EB49452AED; Sun, 1 Nov 2020 16:40:42 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1E7BD452AEB for ; Sun, 1 Nov 2020 16:40:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPMHG01s4z4L7J for ; Sun, 1 Nov 2020 16:40:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D8B731B057 for ; Sun, 1 Nov 2020 16:40:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A1Gefnj007467 for ; Sun, 1 Nov 2020 16:40:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A1GefGS007464 for virtualization@FreeBSD.org; Sun, 1 Nov 2020 16:40:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 168298] VirtualBox using AIO on a zvol crashes Date: Sun, 01 Nov 2020 16:40:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: datafl4sh@toxicnet.eu X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 16:40:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D168298 datafl4sh@toxicnet.eu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |datafl4sh@toxicnet.eu --- Comment #29 from datafl4sh@toxicnet.eu --- I stumbled on this bug today for the first time, and it looks like that the proposed patch does not have the intended effect. I am on 11.4-RELEASE-p3, ports tree updated today. I compiled emulators/virtualbox-ose-nox11 from source and fired up a virtual machine. = As soon as it tries to write something to disk, with 100% repeatability, the VM freezes. Here the relevant output in dmesg: pid 3091 (VBoxHeadless) is attempting to use unsafe AIO requests - not logg= ing anymore The VM has a single, zvol-backed disk. -mc. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Nov 1 17:04:03 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 295ED453260 for ; Sun, 1 Nov 2020 17:04:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPMpC0KwLz4Lwy for ; Sun, 1 Nov 2020 17:04:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0986C453518; Sun, 1 Nov 2020 17:04:03 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 094D345325F for ; Sun, 1 Nov 2020 17:04:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPMpB6Zq1z4MF0 for ; Sun, 1 Nov 2020 17:04:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C65281BBA2 for ; Sun, 1 Nov 2020 17:04:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A1H42rC034527 for ; Sun, 1 Nov 2020 17:04:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A1H42OH034526 for virtualization@FreeBSD.org; Sun, 1 Nov 2020 17:04:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Sun, 01 Nov 2020 17:04:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cperciva@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 17:04:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 --- Comment #3 from Colin Percival --- My understanding is that EFS should have oneopenown and minorversion=3D1. = BTW on recent EC2 images I have an "efs" special automount target (https://www.daemonology.net/blog/2020-05-31-Some-new-FreeBSD-EC2-features.= html) -- not sure if this is useful to you here. Something you haven't mentioned: Is your EFS I/O quota ok? Running out of = I/O quota can make a system extremely slow (especially with a small filesystem which gets more I/O tokens slowly). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Nov 1 17:04:40 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3CAFD453424 for ; Sun, 1 Nov 2020 17:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPMpw0y2Vz4MGN for ; Sun, 1 Nov 2020 17:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 20A00453525; Sun, 1 Nov 2020 17:04:40 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 206BE453524 for ; Sun, 1 Nov 2020 17:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPMpw035gz4M2j for ; Sun, 1 Nov 2020 17:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D92AC1BC12 for ; Sun, 1 Nov 2020 17:04:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A1H4dKc034948 for ; Sun, 1 Nov 2020 17:04:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A1H4djt034947 for virtualization@FreeBSD.org; Sun, 1 Nov 2020 17:04:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Sun, 01 Nov 2020 17:04:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cperciva@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 17:04:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 Colin Percival changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rmacklem@FreeBSD.org --- Comment #4 from Colin Percival --- Adding rmacklem to CC since he's the NFS expert... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Nov 1 19:17:01 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDCBD45798A for ; Sun, 1 Nov 2020 19:17:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPQld65FVz4Txc for ; Sun, 1 Nov 2020 19:17:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D1037457845; Sun, 1 Nov 2020 19:17:01 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D0CC3457989 for ; Sun, 1 Nov 2020 19:17:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPQld5FKPz4V3P for ; Sun, 1 Nov 2020 19:17:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E0F81D582 for ; Sun, 1 Nov 2020 19:17:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A1JH1u9081022 for ; Sun, 1 Nov 2020 19:17:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A1JH1no081021 for virtualization@FreeBSD.org; Sun, 1 Nov 2020 19:17:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Sun, 01 Nov 2020 19:17:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: raj@gusw.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 19:17:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 --- Comment #5 from Gunther Schadow --- Thank you so much for the feedback.=20 I am up over 10 hours now. So it looks like the spell has finally been brok= en! So, it may well be that the minorversion=3D1 is necessary for the oneopenow= n to work. I suggest updating the man page. It currently reads: minorversion=3D Override the default of 0 for the minor version of the NFS Version 4 protocol. The only minor version curren= tly supported is 1. This option is only meaningful when u= sed with the nfsv4 option. oneopenown Make a minor version 1 of the NFS Version 4 protocol mount use a single OpenOwner for all Opens. This may = be useful for a server with a very low limit on OpenOwner= s, such as AmazonEFS. It can only be used with an NFSv4.1 mount. It may not work correctly when Delegations are being issued by a server, but note that the AmazonEFS server does not issued delegations at this time. pnfs Enable support for parallel NFS (pNFS) for minor versi= on 1 of the NFS Version 4 protocol. This option is only meaningful when used with the minorversion option. The clear statement of pnfs "This option is only meaningful when used with = the minorversion option." would remove all ambiguity. I do wonder also about the speed compared to a "native" Amazon Linux mount = -t efs mount. I feel like it's slower. My throughput allocation utilization is barely a blip, not an issue for me.= =20 I personally can't really use your efs automounter because I need to be in precise control of the mount /usr during boot. I wonder if more improvements can be gleaned from the mount_efs Linux code. Anyway, it looks more and more like this is a no-bug and just somehow a lac= k of clear and conspiciously placed documentation and warning. This week, if not= hing else fails, I will close this issue and I will update all the places where I had left some negative commments. I love FreeBSD after all. Thank you. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Nov 1 19:23:56 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CDE6C457B28 for ; Sun, 1 Nov 2020 19:23:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPQvc57rZz4Tyr for ; Sun, 1 Nov 2020 19:23:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AE714457B26; Sun, 1 Nov 2020 19:23:56 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AD1BB457B25 for ; Sun, 1 Nov 2020 19:23:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPQvc40L8z4V4Z for ; Sun, 1 Nov 2020 19:23:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6CC651D137 for ; Sun, 1 Nov 2020 19:23:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A1JNutC091149 for ; Sun, 1 Nov 2020 19:23:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A1JNuMX091148 for virtualization@FreeBSD.org; Sun, 1 Nov 2020 19:23:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Sun, 01 Nov 2020 19:23:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cperciva@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 19:23:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 --- Comment #6 from Colin Percival --- > I wonder if more improvements can be gleaned from the mount_efs Linux cod= e. My impression from the last time I looked at that code is that they're sett= ing a lot of values explicitly, but those values are all the same as our defaul= ts.=20 If you notice any setting changes which could improve FreeBSD's EFS perform= ance please let me know though -- I'll be happy to adjust our automount defaults. I've considered creating a "mount_efs" for FreeBSD but my impression was th= at for most users the automount option all they need -- you're clearly an exception to this. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Nov 1 21:00:04 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 98E0845A19B for ; Sun, 1 Nov 2020 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPT2X3bL8z4b98 for ; Sun, 1 Nov 2020 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7B3A7459FC1; Sun, 1 Nov 2020 21:00:04 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B04E45A0B6 for ; Sun, 1 Nov 2020 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPT2X2kC5z4bCS for ; Sun, 1 Nov 2020 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 427051E777 for ; Sun, 1 Nov 2020 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A1L04VS023585 for ; Sun, 1 Nov 2020 21:00:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A1L04sD023584 for virtualization@FreeBSD.org; Sun, 1 Nov 2020 21:00:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202011012100.0A1L04sD023584@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 1 Nov 2020 21:00:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 21:00:04 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 247208 | mpt(4): VMWare virtualized LSI controller panics New | 240945 | [hyper-v] [netvsc] hn network driver incorrectly 2 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Sun Nov 1 22:00:27 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA7DA45C4C0 for ; Sun, 1 Nov 2020 22:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPVNC344mz3RTN for ; Sun, 1 Nov 2020 22:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 694F145C6A5; Sun, 1 Nov 2020 22:00:27 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6918145C644 for ; Sun, 1 Nov 2020 22:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPVNC2F6cz3RYb for ; Sun, 1 Nov 2020 22:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3114D1F2B2 for ; Sun, 1 Nov 2020 22:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A1M0RQN097719 for ; Sun, 1 Nov 2020 22:00:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A1M0ROr097718 for virtualization@FreeBSD.org; Sun, 1 Nov 2020 22:00:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Sun, 01 Nov 2020 22:00:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 22:00:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 --- Comment #7 from Rick Macklem --- In your initial post you show: nfsv4,minorversion=3D1,oneopenown so why was it hanging then? However, you are correct that oneopenown is needed for EFS and it only applies to minorversion 1 (or higher for FreeBSD13 if EFS supports it). I suppose I thought that NFSv4.1 was obvious shorthand for NFS version 4 minorversion 1, but the man page can be updated to clarify that. Btw, if you do "nfsstat -m" on the client, you see what mount options are actually being used. (The rsize, wsize is capped at vfs.maxbcachebuf, which is 64K by default and can be increased to MAXPHYS.) Oh, and I find the best way to debug these things is looking at a packet capture in wireshark. You can do the capture via "tcpdump -s 0 -w out.pcap host " on the client and then load out.pcap into wireshark. (Unlike tcpdump, wireshark knows NFS.) Anyhow, sounds like you have it working now, rick --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 00:22:25 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2C50A45FBA7 for ; Mon, 2 Nov 2020 00:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPYX10Vh6z3ZCb for ; Mon, 2 Nov 2020 00:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1130E45FBA6; Mon, 2 Nov 2020 00:22:25 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 10F3445F8D9 for ; Mon, 2 Nov 2020 00:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPYX06ldzz3Z4j for ; Mon, 2 Nov 2020 00:22:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CCA5B2108F for ; Mon, 2 Nov 2020 00:22:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A20MOGG061222 for ; Mon, 2 Nov 2020 00:22:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A20MO9e061221 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 00:22:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Mon, 02 Nov 2020 00:22:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: raj@gusw.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 00:22:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 --- Comment #8 from Gunther Schadow --- Yes, I apologize, I had one by one edited my options: 1. timeo=3D150 down from 600 - that alone didn't help 2. oneopenown - that alone didn't help 3. minorversion=3D1 added, the manual isn't clear if it is a requirement = for oneopenown or if it implicitly sets minorversion=3D1, but since I added tha= t, I have not frozen up for almost 6 hours. That's new. and I wrote this bug report when I was already at step 3, yet no time had passed yet for me to trust that now it would work. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 01:35:58 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 840AF3F1B59 for ; Mon, 2 Nov 2020 01:35:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPb8t2zmpz3fBT for ; Mon, 2 Nov 2020 01:35:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6668D3F1F8C; Mon, 2 Nov 2020 01:35:58 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 663113F1B58 for ; Mon, 2 Nov 2020 01:35:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPb8t27hdz3f8M for ; Mon, 2 Nov 2020 01:35:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 289C821D1E for ; Mon, 2 Nov 2020 01:35:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A21ZwQU042859 for ; Mon, 2 Nov 2020 01:35:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A21ZwRL042858 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 01:35:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Mon, 02 Nov 2020 01:35:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 01:35:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 --- Comment #9 from Rick Macklem --- Cool. So is an update to the man page sufficient to resolve this? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 08:22:18 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 162C044A192 for ; Mon, 2 Nov 2020 08:22:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPm9j6vNLz4F3c for ; Mon, 2 Nov 2020 08:22:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EB22444A02A; Mon, 2 Nov 2020 08:22:17 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EAEAD449F79 for ; Mon, 2 Nov 2020 08:22:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPm9j60Dbz4F5w for ; Mon, 2 Nov 2020 08:22:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B20D5269A6 for ; Mon, 2 Nov 2020 08:22:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A28MH0a031753 for ; Mon, 2 Nov 2020 08:22:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A28MHbT031752 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 08:22:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250795] support RFB 3.3 for VNC client interoperability Date: Mon, 02 Nov 2020 08:22:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marko@apache.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 08:22:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250795 Bug ID: 250795 Summary: support RFB 3.3 for VNC client interoperability Product: Base System Version: 12.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: marko@apache.org Created attachment 219296 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219296&action= =3Dedit svn diff output of the relevant changes Apple's screen sharing app uses RFB 3.3 for authentication. Luckily this is not very different from currently supported RFB 3.8. Including a patch which adds support for RFB 3.3. Another thing which had to be changed was the removal of first unsolicited = TX of screen contents right after connection gets established. After this I can use Apple's tool as my VNC client. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 09:06:27 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A896B44BB97 for ; Mon, 2 Nov 2020 09:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPn8g41lnz4HmC for ; Mon, 2 Nov 2020 09:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8A0C244BA14; Mon, 2 Nov 2020 09:06:27 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 89D3744BB04 for ; Mon, 2 Nov 2020 09:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPn8g39Hrz4Hgt for ; Mon, 2 Nov 2020 09:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 504C62718A for ; Mon, 2 Nov 2020 09:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A296RnZ083286 for ; Mon, 2 Nov 2020 09:06:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A296Rsc083282 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 09:06:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 168298] VirtualBox using AIO on a zvol crashes Date: Mon, 02 Nov 2020 09:06:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 09:06:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D168298 --- Comment #30 from Gleb Popov --- (In reply to datafl4sh from comment #29) What is exact version of virtualbox-ose-nox11 are you running? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 09:10:57 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0E84244BC3A for ; Mon, 2 Nov 2020 09:10:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPnFr6jC7z4HxC for ; Mon, 2 Nov 2020 09:10:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E46F644BE08; Mon, 2 Nov 2020 09:10:56 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E432D44BCB3 for ; Mon, 2 Nov 2020 09:10:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPnFr5nMzz4HxB for ; Mon, 2 Nov 2020 09:10:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 900C826E54 for ; Mon, 2 Nov 2020 09:10:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A29Auar087725 for ; Mon, 2 Nov 2020 09:10:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A29Au3E087724 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 09:10:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Mon, 02 Nov 2020 09:10:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr.xanto@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 09:10:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 Bug ID: 250802 Summary: bhyve exited with status 134 when GPU PCI passthrough Product: Base System Version: 12.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: mr.xanto@gmail.com Try to pass through GPU to a Windows 10 guest. /boot/loader.conf: vmm_load=3D"YES" pptdevs=3D"1/0/0 1/0/1" # pciconf -lv ppt0@pci0:1:0:0: class=3D0x030000 card=3D0x38991642 chip=3D0x0a6310d= e rev=3D0xa2 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'GT218 [GeForce 310]' class =3D display subclass =3D VGA ppt1@pci0:1:0:1: class=3D0x040300 card=3D0x38991642 chip=3D0x0be310d= e rev=3D0xa1 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'High Definition Audio Controller' class =3D multimedia subclass =3D HDA bhyve options: [bhyve options: -c 1 -m 3G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U 00dad61d-0d2e-11eb-936d-70f3951447ea -S] [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,ahci,hd:/mnt/Data/vm/win10/disk0.img -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:01:00:a8 -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1 -s 7:0,xhci,tablet] [bhyve console: -l com1,stdio] [bhyve iso device: -s 3:0,ahci-cd,/mnt/Data/vm/.config/null.iso] Windows guest see NVidia GPU, try to install driver, and after reboot bhyve stop working with error: bhyve exited with status 134 Unhandled ps2 keyboard command 0x02 Unhandled ps2 keyboard command 0x02 Assertion failed: (pi->pi_bar[baridx].type =3D=3D PCIBAR_IO), function passthru_write, file /usr/src/usr.sbin/bhyve/pci_passthru.c, line 916. # uname -v FreeBSD 12.2-STABLE r366667 GENERIC --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 09:23:09 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B428B44C1A8 for ; Mon, 2 Nov 2020 09:23:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPnWx4RVhz4JkZ for ; Mon, 2 Nov 2020 09:23:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 966FF44C495; Mon, 2 Nov 2020 09:23:09 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 952AA44C146 for ; Mon, 2 Nov 2020 09:23:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPnWx3L82z4Jq7 for ; Mon, 2 Nov 2020 09:23:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 560CC26C75 for ; Mon, 2 Nov 2020 09:23:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A29N9eb001734 for ; Mon, 2 Nov 2020 09:23:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A29N9kr001733 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 09:23:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 168298] VirtualBox using AIO on a zvol crashes Date: Mon, 02 Nov 2020 09:23:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: datafl4sh@toxicnet.eu X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 09:23:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D168298 --- Comment #31 from datafl4sh@toxicnet.eu --- (In reply to Gleb Popov from comment #30) According to the distinfo file, version is 5.2.44. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 09:24:11 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8757944BFDF for ; Mon, 2 Nov 2020 09:24:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPnY734TXz4Jqk for ; Mon, 2 Nov 2020 09:24:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 697FF44BFDE; Mon, 2 Nov 2020 09:24:11 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 694CF44C14C for ; Mon, 2 Nov 2020 09:24:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPnY72DsXz4Jn5 for ; Mon, 2 Nov 2020 09:24:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3082926C77 for ; Mon, 2 Nov 2020 09:24:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A29OBEm002662 for ; Mon, 2 Nov 2020 09:24:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A29OBY2002661 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 09:24:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 168298] VirtualBox using AIO on a zvol crashes Date: Mon, 02 Nov 2020 09:24:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 09:24:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D168298 --- Comment #32 from Gleb Popov --- (In reply to datafl4sh from comment #31) No, run `pkg info virtualbox-ose-nox11` and check the version string there. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 09:28:46 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 931FA44C238 for ; Mon, 2 Nov 2020 09:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPnfQ3TVsz4JyJ for ; Mon, 2 Nov 2020 09:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 759D744C237; Mon, 2 Nov 2020 09:28:46 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7554F44C341 for ; Mon, 2 Nov 2020 09:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPnfQ2WD9z4K60 for ; Mon, 2 Nov 2020 09:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 39D7A272EA for ; Mon, 2 Nov 2020 09:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A29SkZZ006723 for ; Mon, 2 Nov 2020 09:28:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A29SkYb006722 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 09:28:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 168298] VirtualBox using AIO on a zvol crashes Date: Mon, 02 Nov 2020 09:28:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: datafl4sh@toxicnet.eu X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 09:28:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D168298 --- Comment #33 from datafl4sh@toxicnet.eu --- (In reply to Gleb Popov from comment #32) Sorry, 5.2.44_4 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 09:33:20 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 810F844C7C2 for ; Mon, 2 Nov 2020 09:33:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPnlh2vWpz4K7w for ; Mon, 2 Nov 2020 09:33:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 616AD44C527; Mon, 2 Nov 2020 09:33:20 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6136044C262 for ; Mon, 2 Nov 2020 09:33:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPnlh1zvtz4KRs for ; Mon, 2 Nov 2020 09:33:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 278C127715 for ; Mon, 2 Nov 2020 09:33:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A29XJuH013073 for ; Mon, 2 Nov 2020 09:33:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A29XJ2J013072 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 09:33:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 168298] VirtualBox using AIO on a zvol crashes Date: Mon, 02 Nov 2020 09:33:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 09:33:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D168298 --- Comment #34 from Gleb Popov --- (In reply to datafl4sh from comment #33) This is strange. This version shouldn't use AIO at all. Did you built VirtualBox from source or installed from the official binary package? Also, do you have any special tweaks in /etc/sysctl.conf and /boot/loader.c= onf ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 10:10:54 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7F24D44D0C9 for ; Mon, 2 Nov 2020 10:10:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPpb22tL6z4LwT for ; Mon, 2 Nov 2020 10:10:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 62CC844D631; Mon, 2 Nov 2020 10:10:54 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6290644D4A8 for ; Mon, 2 Nov 2020 10:10:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPpb220Zxz4Ll0 for ; Mon, 2 Nov 2020 10:10:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2806A27C8C for ; Mon, 2 Nov 2020 10:10:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A2AAsN5056520 for ; Mon, 2 Nov 2020 10:10:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A2AAsnP056519 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 10:10:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 168298] VirtualBox using AIO on a zvol crashes Date: Mon, 02 Nov 2020 10:10:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: datafl4sh@toxicnet.eu X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 10:10:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D168298 --- Comment #35 from datafl4sh@toxicnet.eu --- (In reply to Gleb Popov from comment #34) As I said, I built it from source (the tree was updated yesterday before compiling). There are no special tweaks in the files you indicated, not even the ones of comment #3. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 10:14:36 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5785344D683 for ; Mon, 2 Nov 2020 10:14:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPpgJ1dDcz4MMM for ; Mon, 2 Nov 2020 10:14:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 37BA744D3D2; Mon, 2 Nov 2020 10:14:36 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3777444D663 for ; Mon, 2 Nov 2020 10:14:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPpgJ0hs3z4Lxg for ; Mon, 2 Nov 2020 10:14:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F0B3827DA4 for ; Mon, 2 Nov 2020 10:14:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A2AEZHx063762 for ; Mon, 2 Nov 2020 10:14:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A2AEZkX063761 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 10:14:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 168298] VirtualBox using AIO on a zvol crashes Date: Mon, 02 Nov 2020 10:14:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 10:14:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D168298 --- Comment #36 from Gleb Popov --- Well, I'm out of ideas what's wrong here, sorry. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 11:57:33 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1DE444F8AC for ; Mon, 2 Nov 2020 11:57:33 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPry53F6Gz4Rck for ; Mon, 2 Nov 2020 11:57:33 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 6F34144F2F6; Mon, 2 Nov 2020 11:57:33 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6EF6A44F6A9 for ; Mon, 2 Nov 2020 11:57:33 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPry41dyHz4Rg8 for ; Mon, 2 Nov 2020 11:57:31 +0000 (UTC) (envelope-from crowston@protonmail.com) Date: Mon, 02 Nov 2020 11:57:16 +0000 To: bugzilla-noreply@freebsd.org, virtualization@FreeBSD.org From: Robert Crowston Reply-To: Robert Crowston Subject: Re: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FREEMAIL_REPLYTO, HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4CPry41dyHz4Rg8 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.18 / 15.00]; HAS_REPLYTO(0.00)[crowston@protonmail.com]; FREEMAIL_FROM(0.00)[protonmail.com]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[protonmail.com:+]; MIME_BASE64_TEXT(0.10)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.28)[-0.283]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.010]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; HAS_PHPMAILER_SIG(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[185.70.40.18:from]; MAILMAN_DEST(0.00)[virtualization] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 11:57:33 -0000 QXJlIHlvdSBvbiBBTUQ/CgpQbGFjaW5nIHRoZSBQQ0kgYmFycyBhYm92ZSA0IEdCIGNhdXNlcyB0 aGUgcHJvY2Vzc29yIHRvIGV4aXQgYmFjayB0byB0aGUgdm1tIGluc3RlYWQgb2YgaGFuZGxpbmcg dGhlIHBhc3N0aHJvdWdoIGluIHRoZSB2bS4gQnV0IHRoZSB2bW0gZG9lcyBub3QgZXhwZWN0IHRv IGhhbmRsZSBtZW1vcnkgcGFzc3Rocm91Z2gsIG9ubHkgaS9vLCB0cmlwcGluZyB0aGlzIGFzc2Vy dGlvbi4KClRoZXJlIGlzIGEgaGFyZGNvZGVkIG1heCBiYXIgc2l6ZSB3aGVyZSB3ZSBkZWNpZGUg d2hldGhlciB0byBhbGxvY2F0ZSB0aGUgYmFyIGFib3ZlIG9yIGJlbG93IHRoZSA0IEdCIG1hcmsu IFlvdSBjYW4gcmFpc2UgdGhpcyBsaW1pdCBhbmQgaXQgbWF5IGZpeCB0aGlzIGVycm9yLiBUaGlz IGFsbG93cyB0aGUgR1BVIHRvIHdvcmsgaW4gTGludXguCgpIb3dldmVyIHRoZSBHUFUgd2lsbCBu b3Qgc3RhcnQgaW4gV2luZG93cywgcHJvYmFibHkgYmVjYXVzZSB3ZSBkbyBub3QgaW1wbGVtZW50 IHRoZSBST00gYmFyIHlldC4KCuKAlCBSSEMuCgpPbiBNb24sIE5vdiAyLCAyMDIwIGF0IDA5OjEw LCA8YnVnemlsbGEtbm9yZXBseUBmcmVlYnNkLm9yZz4gd3JvdGU6Cgo+IGh0dHBzOi8vYnVncy5m cmVlYnNkLm9yZy9idWd6aWxsYS9zaG93X2J1Zy5jZ2k/aWQ9MjUwODAyCj4KPiBCdWcgSUQ6IDI1 MDgwMgo+IFN1bW1hcnk6IGJoeXZlIGV4aXRlZCB3aXRoIHN0YXR1cyAxMzQgd2hlbiBHUFUgUENJ IHBhc3N0aHJvdWdoCj4gUHJvZHVjdDogQmFzZSBTeXN0ZW0KPiBWZXJzaW9uOiAxMi4yLVNUQUJM RQo+IEhhcmR3YXJlOiBhbWQ2NAo+IE9TOiBBbnkKPiBTdGF0dXM6IE5ldwo+IFNldmVyaXR5OiBB ZmZlY3RzIE9ubHkgTWUKPiBQcmlvcml0eTogLS0tCj4gQ29tcG9uZW50OiBiaHl2ZQo+IEFzc2ln bmVlOiB2aXJ0dWFsaXphdGlvbkBGcmVlQlNELm9yZwo+IFJlcG9ydGVyOiBtci54YW50b0BnbWFp bC5jb20KPgo+IFRyeSB0byBwYXNzIHRocm91Z2ggR1BVIHRvIGEgV2luZG93cyAxMCBndWVzdC4K Pgo+IC9ib290L2xvYWRlci5jb25mOgo+IHZtbV9sb2FkPSJZRVMiCj4gcHB0ZGV2cz0iMS8wLzAg MS8wLzEiCj4KPiAjIHBjaWNvbmYgLWx2Cj4gcHB0MEBwY2kwOjE6MDowOiBjbGFzcz0weDAzMDAw MCBjYXJkPTB4Mzg5OTE2NDIgY2hpcD0weDBhNjMxMGRlIHJldj0weGEyCj4gaGRyPTB4MDAKPiB2 ZW5kb3IgPSAnTlZJRElBIENvcnBvcmF0aW9uJwo+IGRldmljZSA9ICdHVDIxOCBbR2VGb3JjZSAz MTBdJwo+IGNsYXNzID0gZGlzcGxheQo+IHN1YmNsYXNzID0gVkdBCj4gcHB0MUBwY2kwOjE6MDox OiBjbGFzcz0weDA0MDMwMCBjYXJkPTB4Mzg5OTE2NDIgY2hpcD0weDBiZTMxMGRlIHJldj0weGEx Cj4gaGRyPTB4MDAKPiB2ZW5kb3IgPSAnTlZJRElBIENvcnBvcmF0aW9uJwo+IGRldmljZSA9ICdI aWdoIERlZmluaXRpb24gQXVkaW8gQ29udHJvbGxlcicKPiBjbGFzcyA9IG11bHRpbWVkaWEKPiBz dWJjbGFzcyA9IEhEQQo+Cj4gYmh5dmUgb3B0aW9uczoKPiBbYmh5dmUgb3B0aW9uczogLWMgMSAt bSAzRyAtSHdsCj4gYm9vdHJvbSwvdXNyL2xvY2FsL3NoYXJlL3VlZmktZmlybXdhcmUvQkhZVkVf VUVGSS5mZCAtVQo+IDAwZGFkNjFkLTBkMmUtMTFlYi05MzZkLTcwZjM5NTE0NDdlYSAtU10KPiBb Ymh5dmUgZGV2aWNlczogLXMgMCxob3N0YnJpZGdlIC1zIDMxLGxwYyAtcwo+IDQ6MCxhaGNpLGhk Oi9tbnQvRGF0YS92bS93aW4xMC9kaXNrMC5pbWcgLXMKPiA1OjAsdmlydGlvLW5ldCx0YXAwLG1h Yz01ODo5YzpmYzowMTowMDphOCAtcyA2OjAscGFzc3RocnUsMS8wLzAgLXMKPiA2OjEscGFzc3Ro cnUsMS8wLzEgLXMgNzowLHhoY2ksdGFibGV0XQo+IFtiaHl2ZSBjb25zb2xlOiAtbCBjb20xLHN0 ZGlvXQo+IFtiaHl2ZSBpc28gZGV2aWNlOiAtcyAzOjAsYWhjaS1jZCwvbW50L0RhdGEvdm0vLmNv bmZpZy9udWxsLmlzb10KPgo+IFdpbmRvd3MgZ3Vlc3Qgc2VlIE5WaWRpYSBHUFUsIHRyeSB0byBp bnN0YWxsIGRyaXZlciwgYW5kIGFmdGVyIHJlYm9vdCBiaHl2ZQo+IHN0b3Agd29ya2luZyB3aXRo IGVycm9yOgo+Cj4gYmh5dmUgZXhpdGVkIHdpdGggc3RhdHVzIDEzNAo+IFVuaGFuZGxlZCBwczIg a2V5Ym9hcmQgY29tbWFuZCAweDAyCj4gVW5oYW5kbGVkIHBzMiBrZXlib2FyZCBjb21tYW5kIDB4 MDIKPiBBc3NlcnRpb24gZmFpbGVkOiAocGktPnBpX2JhcltiYXJpZHhdLnR5cGUgPT0gUENJQkFS X0lPKSwgZnVuY3Rpb24KPiBwYXNzdGhydV93cml0ZSwgZmlsZSAvdXNyL3NyYy91c3Iuc2Jpbi9i aHl2ZS9wY2lfcGFzc3RocnUuYywgbGluZSA5MTYuCj4KPiAjIHVuYW1lIC12Cj4gRnJlZUJTRCAx Mi4yLVNUQUJMRSByMzY2NjY3IEdFTkVSSUMKPgo+IC0tCj4gWW91IGFyZSByZWNlaXZpbmcgdGhp cyBtYWlsIGJlY2F1c2U6Cj4gWW91IGFyZSB0aGUgYXNzaWduZWUgZm9yIHRoZSBidWcuCj4gX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KPiBmcmVlYnNkLXZp cnR1YWxpemF0aW9uQGZyZWVic2Qub3JnIG1haWxpbmcgbGlzdAo+IGh0dHBzOi8vbGlzdHMuZnJl ZWJzZC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmVlYnNkLXZpcnR1YWxpemF0aW9uCj4gVG8gdW5z dWJzY3JpYmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtdmlydHVhbGl6YXRpb24tdW5zdWJz Y3JpYmVAZnJlZWJzZC5vcmci From owner-freebsd-virtualization@freebsd.org Mon Nov 2 13:55:43 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 19FA94525AE for ; Mon, 2 Nov 2020 13:55:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CPvZQ71lPz4YK4 for ; Mon, 2 Nov 2020 13:55:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EEB2C452930; Mon, 2 Nov 2020 13:55:42 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EE78045266C for ; Mon, 2 Nov 2020 13:55:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPvZQ5nqJz4Y7y for ; Mon, 2 Nov 2020 13:55:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AA5D3A838 for ; Mon, 2 Nov 2020 13:55:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A2DtgE4052123 for ; Mon, 2 Nov 2020 13:55:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A2Dtgc4052122 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 13:55:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Mon, 02 Nov 2020 13:55:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 13:55:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov --- Show the output of pciconf -lvcb on host, and preferrably in guest. For la= ter you would need to start FreeBSD VM with the same pass-through config once. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 18:45:15 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0D89F4578A9 for ; Mon, 2 Nov 2020 18:45:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CQ20V6fCKz3bM4 for ; Mon, 2 Nov 2020 18:45:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E41C9458198; Mon, 2 Nov 2020 18:45:14 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E3E65457DE3 for ; Mon, 2 Nov 2020 18:45:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQ20V5jwzz3bGX for ; Mon, 2 Nov 2020 18:45:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A7E9DD9E1 for ; Mon, 2 Nov 2020 18:45:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A2IjEpF089176 for ; Mon, 2 Nov 2020 18:45:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A2IjE2m089175 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 18:45:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Mon, 02 Nov 2020 18:45:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: raj@gusw.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 18:45:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 Gunther Schadow changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --- Comment #10 from Gunther Schadow --- Confirmed, 33 hours of uptime without problems. Thank you for being a sound= ing board so I could solve my problem myself. It seems like you didn't do much other than reading this and giving some comments, but without you guys being there and giving me the challenge do a decent job in reporting my problem in detail and helping myself, I would have gone another year without figuring = this out. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 23:31:57 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7AA6F45E2DF for ; Mon, 2 Nov 2020 23:31:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CQ8MK2lTHz4CFM for ; Mon, 2 Nov 2020 23:31:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5E1ED45E491; Mon, 2 Nov 2020 23:31:57 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C57A45E490 for ; Mon, 2 Nov 2020 23:31:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQ8MK1smnz4CSt for ; Mon, 2 Nov 2020 23:31:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 23A05110C4 for ; Mon, 2 Nov 2020 23:31:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A2NVvha044873 for ; Mon, 2 Nov 2020 23:31:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A2NVvu0044872 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 23:31:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Mon, 02 Nov 2020 23:31:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crowston@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 23:31:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 Robert Crowston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crowston@protonmail.com --- Comment #2 from Robert Crowston --- Are you on AMD? I have had the same problem. For some reason the processor is unable to handle accesses to BARs mapped a= bove 4 GB. The vm exits on such access and transfers control back to the vmm. B= ut the vmm does not expect to handle memory passthrough -- the processor is supposed to handle that natively -- only i/o passthrough, tripping this assertion. There is a hardcoded limit where we decide whether to allocate a bar above = or below the 4 GB mark, in pci_emul.c, at pci_emul_alloc_pbar(): /* * XXX * Some drivers do not work well if the 64-bit BAR is allocated * above 4GB. Allow for this by allocating small requests under * 4GB unless then allocation size is larger than some arbitrary * number (32MB currently). */ if (size > 32 * 1024 * 1024) { In the past I have found that by raising this limit, such that all bars are allocated in the lower 32 bit address space, I can start a GPU under Linux.= I have not had success under Windows. It's worth noting that most real BIOS or UEFIs preferentially allocate even large BARs in the lower 4 GB of the address space, so that configuration is much better tested for consumer devices. -- RHC. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 2 23:52:50 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BF40F45EA13 for ; Mon, 2 Nov 2020 23:52:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CQ8qQ4ltpz4DPD for ; Mon, 2 Nov 2020 23:52:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A337345EA12; Mon, 2 Nov 2020 23:52:50 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A2FE345E56D for ; Mon, 2 Nov 2020 23:52:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQ8qQ3q0vz4DcX for ; Mon, 2 Nov 2020 23:52:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6674711888 for ; Mon, 2 Nov 2020 23:52:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A2NqoXT066282 for ; Mon, 2 Nov 2020 23:52:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A2NqokZ066281 for virtualization@FreeBSD.org; Mon, 2 Nov 2020 23:52:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Mon, 02 Nov 2020 23:52:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 23:52:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 --- Comment #11 from Rick Macklem --- Good. I will put improving the man page on my todo list. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Nov 3 05:55:13 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 94DC044B748 for ; Tue, 3 Nov 2020 05:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CQJsY3WcRz4cp1 for ; Tue, 3 Nov 2020 05:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7711344B6F8; Tue, 3 Nov 2020 05:55:13 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 76D8144B6F7 for ; Tue, 3 Nov 2020 05:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQJsY2cQXz4cJ0 for ; Tue, 3 Nov 2020 05:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A3C7160E0 for ; Tue, 3 Nov 2020 05:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A35tDc4010496 for ; Tue, 3 Nov 2020 05:55:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A35tD3R010495 for virtualization@FreeBSD.org; Tue, 3 Nov 2020 05:55:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250770] AWS EC2 system freezes up possibly associated with NFS (EFS) Date: Tue, 03 Nov 2020 05:55:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: raj@gusw.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2020 05:55:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250770 Gunther Schadow changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |Not A Bug --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Nov 3 07:02:33 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B145E44E48C for ; Tue, 3 Nov 2020 07:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CQLMF4Hjvz4hCD for ; Tue, 3 Nov 2020 07:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 934C844E429; Tue, 3 Nov 2020 07:02:33 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9312444E3A4 for ; Tue, 3 Nov 2020 07:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQLMF3Mrvz4h04 for ; Tue, 3 Nov 2020 07:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5729B16A70 for ; Tue, 3 Nov 2020 07:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A372XfX091204 for ; Tue, 3 Nov 2020 07:02:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A372XLA091203 for virtualization@FreeBSD.org; Tue, 3 Nov 2020 07:02:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Tue, 03 Nov 2020 07:02:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr.xanto@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2020 07:02:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #3 from mr.xanto@gmail.com --- (In reply to Konstantin Belousov from comment #1) >From host: ppt0@pci0:1:0:0: class=3D0x030000 card=3D0x38991642 chip=3D0x0a6310d= e rev=3D0xa2 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'GT218 [GeForce 310]' class =3D display subclass =3D VGA bar [10] =3D type Memory, range 32, base 0xfa000000, size 16777216, e= nabled bar [14] =3D type Prefetchable Memory, range 64, base 0xc0000000, size 268435456, enabled bar [1c] =3D type Prefetchable Memory, range 64, base 0xd0000000, size 33554432, enabled bar [24] =3D type I/O Port, range 32, base 0xe000, size 128, enabled cap 01[60] =3D powerspec 3 supports D0 D3 current D0 cap 05[68] =3D MSI supports 1 message, 64 bit cap 10[78] =3D PCI-Express 2 endpoint max data 128(128) RO NS max read 128 link x16(x16) speed 2.5(2.5) ASPM disabled(L0s/L1) ClockPM enabled cap 09[b4] =3D vendor (length 20) ecap 0002[100] =3D VC 1 max VC0 ecap 0004[128] =3D Power Budgeting 1 ecap 000b[600] =3D Vendor 1 ID 1 ppt1@pci0:1:0:1: class=3D0x040300 card=3D0x38991642 chip=3D0x0be310d= e rev=3D0xa1 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'High Definition Audio Controller' class =3D multimedia subclass =3D HDA bar [10] =3D type Memory, range 32, base 0xfb080000, size 16384, enab= led cap 01[60] =3D powerspec 3 supports D0 D3 current D0 cap 05[68] =3D MSI supports 1 message, 64 bit cap 10[78] =3D PCI-Express 2 endpoint max data 128(128) NS max read 128 link x16(x16) speed 2.5(2.5) ASPM L0s/L1(L0s/L1) ClockPM enabled bhyve options: [bhyve options: -c 1 -m 3G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U 7bd95998-1d4b-11eb-b522-70f3951447ea -S] [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,ahci,hd:/mnt/Data/vm/bsd_test/disk0.img -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:0a:22:9a -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1 -s 7:0,xhci,tablet] [bhyve console: -l com1,stdio] [bhyve iso device: -s 3:0,ahci-cd,/mnt/Data/vm/.iso/FreeBSD-12.1-STABLE-amd64-20200827-r364849-bo= otonly.iso,ro] FreeBSD guest: root@:~ # pciconf -lvcb hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x00000000 chip=3D0x1275127= 5 rev=3D0x00 hdr=3D0x00 vendor =3D 'Network Appliance Corporation' class =3D bridge subclass =3D HOST-PCI cap 10[40] =3D PCI-Express 2 root port max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) ahci0@pci0:0:3:0: class=3D0x010601 card=3D0x00000000 chip=3D0x2821808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]' class =3D mass storage subclass =3D SATA bar [24] =3D type Memory, range 32, base 0xc0000000, size 1024, enabl= ed cap 05[40] =3D MSI supports 8 messages, 64 bit enabled with 8 messages ahci1@pci0:0:4:0: class=3D0x010601 card=3D0x00000000 chip=3D0x2821808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]' class =3D mass storage subclass =3D SATA bar [24] =3D type Memory, range 32, base 0xc0000400, size 1024, enabl= ed cap 05[40] =3D MSI supports 8 messages, 64 bit enabled with 8 messages virtio_pci0@pci0:0:5:0: class=3D0x020000 card=3D0x00011af4 chip=3D0x10001af= 4 rev=3D0x00 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'Virtio network device' class =3D network subclass =3D ethernet bar [10] =3D type I/O Port, range 32, base 0x2000, size 32, enabled bar [14] =3D type Memory, range 32, base 0xc0002000, size 8192, enabl= ed cap 11[40] =3D MSI-X supports 3 messages, enabled Table in map 0x14[0x0], PBA in map 0x14[0x1000] cap 05[4c] =3D MSI supports 1 message, 64 bit vgapci0@pci0:0:6:0: class=3D0x030000 card=3D0x38991642 chip=3D0x0a6310d= e rev=3D0xa2 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'GT218 [GeForce 310]' class =3D display subclass =3D VGA bar [10] =3D type Memory, range 32, base 0xc1000000, size 16777216, e= nabled bar [14] =3D type Prefetchable Memory, range 64, base 0xd000000000, s= ize 268435456, enabled bar [1c] =3D type Prefetchable Memory, range 64, base 0xc2000000, size 33554432, enabled bar [24] =3D type I/O Port, range 32, base 0x2080, size 128, enabled cap 01[60] =3D powerspec 3 supports D0 D3 current D0 cap 05[68] =3D MSI supports 1 message, 64 bit cap 10[78] =3D PCI-Express 2 endpoint max data 128(128) RO NS link x16(x16) speed 2.5(2.5) ASPM disabled(L0s/L1) ClockPM enabled cap 09[b4] =3D vendor (length 20) hdac0@pci0:0:6:1: class=3D0x040300 card=3D0x38991642 chip=3D0x0be310d= e rev=3D0xa1 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'High Definition Audio Controller' class =3D multimedia subclass =3D HDA bar [10] =3D type Memory, range 32, base 0xc4000000, size 16384, enab= led cap 01[60] =3D powerspec 3 supports D0 D3 current D0 cap 05[68] =3D MSI supports 1 message, 64 bit cap 10[78] =3D PCI-Express 2 endpoint max data 128(128) NS link x16(x16) speed 2.5(2.5) ASPM L0s/L1(L0s/L1) ClockPM enabled xhci0@pci0:0:7:0: class=3D0x0c0330 card=3D0x00000000 chip=3D0x1e31808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '7 Series/C210 Series Chipset Family USB xHCI Host Contr= oller' class =3D serial bus subclass =3D USB bar [10] =3D type Memory, range 32, base 0xc4004000, size 4096, enabl= ed cap 05[40] =3D MSI supports 1 message, 64 bit enabled with 1 message isab0@pci0:0:31:0: class=3D0x060100 card=3D0x00000000 chip=3D0x7000808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82371SB PIIX3 ISA [Natoma/Triton II]' class =3D bridge subclass =3D PCI-ISA root@:~ # --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Nov 3 07:11:36 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5B18B44E825 for ; Tue, 3 Nov 2020 07:11:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CQLYh1l8fz4hXn for ; Tue, 3 Nov 2020 07:11:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3B2B544E3E0; Tue, 3 Nov 2020 07:11:36 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3ADE744E3DF for ; Tue, 3 Nov 2020 07:11:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQLYh0KD7z4hXm for ; Tue, 3 Nov 2020 07:11:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E3A7116A7D for ; Tue, 3 Nov 2020 07:11:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A37BZ9e003335 for ; Tue, 3 Nov 2020 07:11:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A37BZP4003334 for virtualization@FreeBSD.org; Tue, 3 Nov 2020 07:11:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Tue, 03 Nov 2020 07:11:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr.xanto@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2020 07:11:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #4 from mr.xanto@gmail.com --- (In reply to Robert Crowston from comment #2) If you mean CPU - here is Intel(R) Core(TM) i5 CPU. Do you looked at D26209? As i understand, this patch add possibility to pass through internal GPU to guest. Windows guest is supported too. Maybe it also rework PCIBAR, but I haven't tried it yet. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Nov 3 17:07:45 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C166C45E0E4 for ; Tue, 3 Nov 2020 17:07:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CQbnY4mjdz48tW for ; Tue, 3 Nov 2020 17:07:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A3CBA45E0E3; Tue, 3 Nov 2020 17:07:45 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A38E145E1BD for ; Tue, 3 Nov 2020 17:07:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQbnY3tFTz48mK for ; Tue, 3 Nov 2020 17:07:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 647001DEB6 for ; Tue, 3 Nov 2020 17:07:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A3H7jU2005721 for ; Tue, 3 Nov 2020 17:07:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A3H7jI2005720 for virtualization@FreeBSD.org; Tue, 3 Nov 2020 17:07:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 195819] TSC calibration can hang FreeBSD in Hyper-V Generation 2 VM Date: Tue, 03 Nov 2020 17:07:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: patch, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2020 17:07:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195819 --- Comment #26 from Li-Wen Hsu --- Is this still happening in 12.x and, if it's possible to test with snapshot builds, 13.0-CURRENT? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Nov 3 23:48:51 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 29202467F3C for ; Tue, 3 Nov 2020 23:48:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CQmhM0NMwz4dF6 for ; Tue, 3 Nov 2020 23:48:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0D130467BF3; Tue, 3 Nov 2020 23:48:51 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0CDCD467C72 for ; Tue, 3 Nov 2020 23:48:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQmhL6gygz4cyj for ; Tue, 3 Nov 2020 23:48:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C878D22957 for ; Tue, 3 Nov 2020 23:48:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A3Nmo5j094360 for ; Tue, 3 Nov 2020 23:48:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A3NmoJ8094358 for virtualization@FreeBSD.org; Tue, 3 Nov 2020 23:48:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 195819] TSC calibration can hang FreeBSD in Hyper-V Generation 2 VM Date: Tue, 03 Nov 2020 23:48:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: patch, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: decui@microsoft.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2020 23:48:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195819 --- Comment #27 from Dexuan Cui --- (In reply to Li-Wen Hsu from comment #26) I think we can close this bug, because I believe this bug was fixed in 2016 (please refer to Comment 24). This bug should not reproduce with 10.3+, 11.= x, 12.x or 13.x and newer. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 4 08:33:33 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 13D0545592F for ; Wed, 4 Nov 2020 08:33:33 +0000 (UTC) (envelope-from ethan.smith@fullbizgoal.com) Received: from server1.mail.fullbizgoal.com (mail.fullbizgoal.com [80.211.27.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CR0Km4ZYHz4RPP for ; Wed, 4 Nov 2020 08:33:32 +0000 (UTC) (envelope-from ethan.smith@fullbizgoal.com) Received: by server1.mail.fullbizgoal.com (Postfix, from userid 1001) id 65AF0A4D6F; Wed, 4 Nov 2020 08:32:41 +0000 (GMT) Received: by mail.fullbizgoal.com for ; Wed, 4 Nov 2020 08:32:38 GMT Message-ID: <20201104073001-0.1.2l.ee73.0.5ndn7jkpba@fullbizgoal.com> Date: Wed, 4 Nov 2020 08:32:38 GMT From: "Ethan Smith" To: Subject: Disinfectant X-Mailer: mail.fullbizgoal.com MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4CR0Km4ZYHz4RPP X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.03 / 15.00]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_ALLOW(-0.20)[fullbizgoal.com:s=mail]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.02)[-1.022]; HFILTER_HELO_IP_A(1.00)[server1.mail.fullbizgoal.com]; DKIM_TRACE(0.00)[fullbizgoal.com:+]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[fullbizgoal.com,reject]; NEURAL_HAM_SHORT(-0.27)[-0.271]; NEURAL_HAM_MEDIUM(-1.05)[-1.046]; HFILTER_HELO_NORES_A_OR_MX(0.30)[server1.mail.fullbizgoal.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31034, ipnet:80.211.0.0/17, country:IT]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 08:33:33 -0000 Good morning, looking for companies interested in raising additional capital by diversi= fying their offer in soaps, liquids and gels for hand disinfection and co= smetics for body and hair care. The distribution of innovative products corresponding to the current pref= erences of customers in the field of hygiene and preventive healthcare al= lows our partners to gain new markets and achieve better economic results= =2E In addition to products with bactericidal action, our range includes show= er gels, shampoos and hair conditioners, as well as efficient, concentrat= ed detergents. The versatility (suitable for all skin types) combined with an affordable= price means that customers make an informed choice of a product among ot= hers available on the market. Are you interested in cooperation? Ethan Smith From owner-freebsd-virtualization@freebsd.org Wed Nov 4 15:48:45 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E4A5E460376 for ; Wed, 4 Nov 2020 15:48:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CR9zx5qCNz3g4t for ; Wed, 4 Nov 2020 15:48:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C5A1446070D; Wed, 4 Nov 2020 15:48:45 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C56924603FF for ; Wed, 4 Nov 2020 15:48:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CR9zx4x6vz3fx6 for ; Wed, 4 Nov 2020 15:48:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8837DFB7D for ; Wed, 4 Nov 2020 15:48:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A4FmjBP048399 for ; Wed, 4 Nov 2020 15:48:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A4FmjFY048398 for virtualization@FreeBSD.org; Wed, 4 Nov 2020 15:48:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC. Date: Wed, 04 Nov 2020 15:48:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 15:48:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246121 Michael Reifenberger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mr@FreeBSD.org --- Comment #17 from Michael Reifenberger --- Hi, I'm currently testing the patches with FreeBSD 12.2 STABLE. Using both patches: cd /usr/src patch < bhyve_qemu_ext_key_event_msg_fbsd121r.patch patch < bhyve_kbdlayout_option_fbsd121r.patch sh bhyve_kbdlayout_layoutfile.shar ls -l bhyve/*.rej -rw-r--r-- 1 root wheel 199 4 Nov. 16:15 bhyve/bhyve.8.rej -rw-r--r-- 1 root wheel 273 4 Nov. 16:15 bhyve/bhyverun.c.rej -rw-r--r-- 1 root wheel 1167 3 Nov. 21:52 bhyve/ps2kbd.c.rej If only using bhyve_qemu_ext_key_event_msg_fbsd121r.patch: This seems to work as I can switch to a german layout (Windows10 VM) and use umlauts. If only using bhyve_kbdlayout_option_fbsd121r.patch: The patch doesn't apply cleanly: -rw-r--r-- 1 root wheel 199 4 Nov. 16:35 bhyve/bhyve.8.rej -rw-r--r-- 1 root wheel 273 4 Nov. 16:35 bhyve/bhyverun.c.rej make install doesn't call kbdlayout/Makefile BTW. If applying bhyverun.c.rej by hand I can start bhyve with 'bhyve_options=3D= "-k de"' but doesn't seem to work like the first patch. (I can select the german keyboard in Windows but no umlauts are printed) So it seems that for me only bhyve_qemu_ext_key_event_msg_fbsd121r.patch is working as expected. Thanks for your work in this area BTW! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 4 16:05:09 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F88A46092C for ; Wed, 4 Nov 2020 16:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRBLs09Ldz3glH for ; Wed, 4 Nov 2020 16:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0334846092A; Wed, 4 Nov 2020 16:05:09 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 02E15460646 for ; Wed, 4 Nov 2020 16:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRBLr58T6z3glv for ; Wed, 4 Nov 2020 16:05:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9586AFEEE for ; Wed, 4 Nov 2020 16:05:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A4G58kA069082 for ; Wed, 4 Nov 2020 16:05:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A4G58MA069081 for virtualization@FreeBSD.org; Wed, 4 Nov 2020 16:05:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250865] Usage of recent windows virtio-blk driver crashes the bhyve VM Date: Wed, 04 Nov 2020 16:05:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 16:05:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250865 Bug ID: 250865 Summary: Usage of recent windows virtio-blk driver crashes the bhyve VM Product: Base System Version: 12.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: mr@FreeBSD.org Hi, if using the virtio-blk drivers version 1.189-1 the VM exits with: ... bhyve exited with status 134 ... If using the virtio-blk drivers version 0.1.141 are used nothing crashes but the disk is not found... My config: loader=3D"uefi" cpu=3D2 cpu_sockets=3D1 cpu_cores=3D2 cpu_threads=3D1 wired_memory=3D"yes" memory=3D8G virt_random=3D"yes" network0_type=3D"virtio-net" network0_switch=3D"private" disk0_type=3D"nvme" disk0_dev=3D"zvol" disk0_name=3D"disk0" disk1_type=3D"nvme" disk1_dev=3D"zvol" disk1_name=3D"disk1" disk2_type=3D"ahci-cd" disk2_name=3D"disk2.img" disk3_type=3D"virtio-blk" disk3_dev=3D"zvol" disk3_name=3D"disk3" uuid=3D"a9656f03-7f7a-11e7-983e-98e7f4868540" graphics=3D"yes" graphics_port=3D"5900" graphics_listen=3D"0.0.0.0" graphics_res=3D"1600x900" graphics_wait=3D"no" xhci_mouse=3D"yes" Any ideas or how to debug this further? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 4 16:32:26 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4157446140B for ; Wed, 4 Nov 2020 16:32:26 +0000 (UTC) (envelope-from 01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@amazonses.com) Received: from a48-99.smtp-out.amazonses.com (a48-99.smtp-out.amazonses.com [54.240.48.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRByK1Kj5z407C for ; Wed, 4 Nov 2020 16:32:24 +0000 (UTC) (envelope-from 01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1604507543; h=Reply-To:To:From:Subject:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=SeVbzDhLY8enWUqlYvmpfl0JTLlb809e2V35UiJd1Uk=; b=G5rSYE4LWZOkhW83aPc2TjmzIqfHLu0qeHTCNsZW+/MTDlbwhabb951JzFhpCg3p nCXYNmZpTxsPNhQoi6F1H93pidm3H33rcHtS42cwAr+lBqcEBF3S5/bW9jpSRohtMFo PFo52uvAOUyXgiYfKn9t6v8SmMZPUS7Yxh8HgLxw= Reply-To: lausts@acm.org To: "freebsd-virtualization@freebsd.org" From: Thomas Laus Subject: Using OpenBSD guest as PF firewall Message-ID: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> Date: Wed, 4 Nov 2020 16:32:23 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.3.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-SES-Outgoing: 2020.11.04-54.240.48.99 Feedback-ID: 1.us-east-1.9pbSdi8VQuDGy3n7CRAr3/hYnLCug78GrsPo0xSgBOs=:AmazonSES X-Rspamd-Queue-Id: 4CRByK1Kj5z407C X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=amazonses.com header.s=224i4yxa5dv7c2xz3womw6peuasteono header.b=G5rSYE4L; dmarc=none; spf=pass (mx1.freebsd.org: domain of 01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@amazonses.com designates 54.240.48.99 as permitted sender) smtp.mailfrom=01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@amazonses.com X-Spamd-Result: default: False [-0.48 / 15.00]; HAS_REPLYTO(0.00)[lausts@acm.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[amazonses.com:s=224i4yxa5dv7c2xz3womw6peuasteono]; NEURAL_HAM_MEDIUM(-0.88)[-0.876]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:54.240.0.0/18]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DMARC_NA(0.00)[acm.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.995]; DKIM_TRACE(0.00)[amazonses.com:+]; NEURAL_HAM_SHORT(-0.91)[-0.907]; RCVD_IN_DNSWL_NONE(0.00)[54.240.48.99:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; FORGED_SENDER(0.30)[lausts@acm.org,01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@amazonses.com]; RCVD_COUNT_ZERO(0.00)[0]; RWL_MAILSPIKE_POSSIBLE(0.00)[54.240.48.99:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:54.240.48.0/23, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_NEQ_ENVFROM(0.00)[lausts@acm.org,01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@amazonses.com]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 16:32:26 -0000 Is there a How-To or a Handbook article for using an OpenBSD guest as a firewall for a FreeBSD host? I have enabled pci-passthru and the OpenBSD guest can use the functional FreeBSD NIC hardware and has a hostname.vio0 configured with an IP address and netmask. I have created a public switch on the FreeBSD side and have added tap0. I can connect both from and to the OpenBSD / FreeBSD host by their respective IP addresses. These addresses both use the same subnet. I can't connect anywhere else from the FreeBSD host. The OpenBSD guest has an open pf.conf file to pass all packets to from vio0 to my re0 NIC. The OpenBSD system is version 6.8 and the FreeBSD is Current r367054. It looks like I need to create a bridge somewhere, but can't find the proper commands to make one. I have read a few instructions, but none of them use commands from the vm-bhyve port. I found that is always a good idea to not 'mix and match' these methods. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF From owner-freebsd-virtualization@freebsd.org Wed Nov 4 16:34:43 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 09805461336 for ; Wed, 4 Nov 2020 16:34:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRC0y6WjBz40CD for ; Wed, 4 Nov 2020 16:34:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DE1E44612BB; Wed, 4 Nov 2020 16:34:42 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DDE654611A8 for ; Wed, 4 Nov 2020 16:34:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRC0y5Smyz3yv9 for ; Wed, 4 Nov 2020 16:34:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A022110457 for ; Wed, 4 Nov 2020 16:34:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A4GYgY9003631 for ; Wed, 4 Nov 2020 16:34:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A4GYgQc003630 for virtualization@FreeBSD.org; Wed, 4 Nov 2020 16:34:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250865] Usage of recent windows virtio-blk driver crashes the bhyve VM Date: Wed, 04 Nov 2020 16:34:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xtouqh@icloud.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 16:34:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250865 --- Comment #1 from xtouqh@icloud.com --- The "stable" version (0.1.185) from fedora works for me, you can find it li= nked on the following page: https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-ma= chines-using-virtio-drivers/index.html Look for "Stable virtio-win iso". --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 4 16:56:14 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E6B78461D88 for ; Wed, 4 Nov 2020 16:56:14 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) Received: from sonic308-9.consmr.mail.ne1.yahoo.com (sonic308-9.consmr.mail.ne1.yahoo.com [66.163.187.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRCTn683Qz41VS for ; Wed, 4 Nov 2020 16:56:13 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1604508971; bh=daPUzydnWLYQjFHsJM7IBnPbR5ObbbX0UEkK6/S/ROY=; h=Date:From:To:Subject; b=HGbLgscr1zzIghze9US6lsSGlzKJSMqrMOCGAHDieORfmxdXenFBeQLb9/OJNr3tuKhd/eYuKfXqdeCU8w/zvJcDzB1SNOdNWamPFMzyN6wVcstS/iSMDyhdpc+kN72lSGDjpDVZ3TKzCMQ06nLpzw5X8AsInsJf2N+Q7vSwdJ6t6FwNnN0sx0sHtValcdgC7UnGqmEzQuiiWwecQy9OZNn+4rrBMdlvt4XqDceLfu70gDc9h1VZEvh4fELS/w7UcyXE0Ce+RUirPE+J8q7MaLroXLBwjNIAOMiWT9HEIac4pwlNdiVrr7vENjGJbDH2d7JwE0fki2Z3wwRoox1JPg== X-YMail-OSG: fTOPyA4VM1mTQ9EgMX9euicx6Nd2U2q1mNVM4pJ2fwEh9syfPiz8MF8CTqJKJXj u5JH19XATaoTYYmG5PmnrGID0Zwu8nCyZcwQPhxr4UArrd.ql6Lqt2FS7jGnrQIxmkqoYtpLkkC9 73vyKzUdCaJYc3h5vftHM07nTxxb_vPFY2QHcRnrksyJ.PGwPFu2GC6uVJVU.JpA0yBW3Gzt31RV 3g.ufO.M5f5UcPuKBx_tmPICRslDbCb9I0rCQ9_memkgfKGr2PXxH976N.FUCnWG4kjXuUHxW34j 76UFv4Q0BgxdLAX_0Zfiop7C.m_Qrw8V1Lm8NpkPFSRCZ02VuR_4_Ply_ZZS3nsOUaDzuwRtFHMX 7rToYhjXXWtsV0th2BBFy3vxHccFqFfJAYiviJVTGXuaIXXc9gur64NgGvSFmQnFP2iK1dz4H8pR xdwyvu7YaBarzZOYNqeMwqswDYksv3NKw5qE_RX4DKuisKsexALBL1bKMUfROV.WTY.F4Mp7MTJM 1SiI_A.r.EMn.1Er4ku30QKUmLorolwip8Q6cO7zjpi4Lpo2atCxAeK2kMr6XPo1pcP1qwXEg8xd SmpItLHCWaYH0FOoCgObjHwa3LAIV8Yzqh_i32h9CKtcwN7WcFkCSqOp3HwEg0w5QSpUdnLSls0u N6gaS5tJcX.B3w41nI_h0eE7OoQ8FixC6TDLGodzxJ_8p9eacx2pq6qvHkXpgC64QO2jJJelAZnx 3Lg1lgkJv8NmvEDCIDygSJCHtWCG9B2BpGaQXsGT_jYMJc3kN51dYBwsD3asmbRMriGG._NijCjD 51g4tha4i341ehK6zfTtbRUFudCn.uy9_SobOP68PjTpfd7nQ.X9acnZLrQL7b1BDYxc.MOf_sAY Wvhdj4CW76g10rdwoH3Jfdmo_sFveuucsMbSlrtDRzzBaXMqseaeTo9vLQZj5fSF9hTmTM7lCgSC 8D38ReMYMKk4Xr7vvwJFD.oXsLbAItO6A8wC5KWOHOXpl2EOJh_5oFCNv3q.LVAeR41qhkyaakqU S4bZJkIHzUpu38fRsZ9diQKlG.0sqlz1zMEOwNOaX4yfVt7D5OPz2Brj4KXFeeFnTUIODlYY.P1z sbfwH1SokjDtfeLCJGIPZdfYINFZP_RF6GU9OPXdc_kRbcKmq1ZePFMY.KR3JR.nWk.p5KgBebf0 2Lnej9sWdXdlH2xVccB7pi5.7VCpkATHJmoPjyvz3vTyaFwB8TIdNGaMik2PJiYP3aTcw.s1lSeq aQ9U5jXOowBjymphxtYQZumLkU9ihCPQIR1ri9OTJGa7EoJtKt0s7W.du.7mloDyNrWbnPlLQd_Z VVhsDfYf1v9xn6LVlP4aazPhADfTup5xLBvGZbdnzKQSvHrrWvVg.swpPlsyH1nYU0eoRS1OKWpe 4Qe6MjJ3Lzzc7Ytivrpz7cLtq08ACSq62ph8w1fezQLzEv2jS5XtLQrRG1IXxVN97kvyykbKeX8W UVRY18CmvLkvf2ZY6Vlfy8Q4Ph2ZZ121861_QlSfANYEQzbvcpqv7nT7rwKtbZtejwmX29B7gJrg ULKpSWnyGhAzyjIQEvFaXVvsllby8uZBhjecz62kOEGoO4Y8oBeCNU1SsdQuP_QY5hBk_78AIPV_ exp2BfZTk93.w7EoKxWycbJ6BzvHxlZTI0qhafv4gqcNilCAMqLp.RcHZa9GAawRSUTVkBMNcVih Fl6g0nagQm_SK0Jrx83jb6QRPecOUzQ5nSBZfJ9gc79WnH0yffKwpm4krwZ9UkohgNOfQzx.gnvB IvcVH8riovG42pD7o2jZzxbrDKHbBAlGuYLg7xMbPxFtRS5bqhy08TbGXeT1eFefg833haTGJqDs rVSr7S3MmBvc8VrVSSLNvKKhqtlfZ7tKodIsltsbZ8WVGDXP25VKyYh5bmn1KG.S5NIlB0b8YIi3 kaQpROLDYIHWpQIF6zj_H10PZz2GzrykhKyXK.ucw5a_g1ffcGyZsK2mujK4sBhbtWuscdUOJLXH d.lHojXecoMsMw9_F48bRQCs5XQjrUCsuCorIgfOzX8xduIqaq7gKeTc54vv_FJLjwOXkuNQ4P2e AsqAlJF9hCcuMpoBmxY.ILx8A.bjZZEYXBrF8SwbuG8qJ3EK1c1Gs_v.MGsPAcOdydCLTPVR2MnX PhHpcswHdnHeGRF4Ou.PcncPmB_Ef46mAA9ZH9OwPNKBPry_Aw9w3mH2P.CZgAkZEDNw9VS12aJA gfc0bQce7OeBPC5hgGZYMLZp7ELsU3aoTFhjOTlX6ecfGx5DcN0TC9A_pJgcb8XNjD4SqHSijgtE sns0W76_cr.WEKNtoxM8XI70jNIm6oiGQpH6HDA35wWoHQxUwdAPM75HCusNYiyy5le2sIZJYdzA hiOvGhn2czuD3gs0mTfUk8Gzt0fsd2o8em6cOPAq_lw3QNV5wJbHv2hTodaw4nrQMXqigL_WdQqu HwxoyI8ebl1jld21VC4NP4zrLJVnoGBIIMiJe3.k6sLH5dI.utjtqvU_F4cIoEsFJ5zcKi7dqzFn r.jT.ba4csLzorxirQDI8ZvKHUZKsJZ2_dKF2gqOwpHrAQ7iKR6YUqsvy1ZbIvzwetB8OCdL2RQh WplmniJRZVcIY0BCgitr2118aazlK6b4wsXSO7tOdp3e.1Vg4SWhLpZFmmpuQ_EFbNADdAzSrY9f v Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Wed, 4 Nov 2020 16:56:11 +0000 Date: Wed, 4 Nov 2020 16:56:07 +0000 (UTC) From: Paul Pathiakis To: "freebsd-virtualization@freebsd.org" , Thomas Laus Message-ID: <974524126.1643642.1604508967098@mail.yahoo.com> In-Reply-To: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> Subject: Re: Using OpenBSD guest as PF firewall MIME-Version: 1.0 X-Mailer: WebService/1.1.16944 YMailNorrin Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.100 Safari/537.36 X-Rspamd-Queue-Id: 4CRCTn683Qz41VS X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.75 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.71)[-0.714]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.04)[-1.044]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.187.32:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.187.32:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-virtualization] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 16:56:15 -0000 Hi, Is there a reason you would want to use OpenBSD versus FreeBSD?=C2=A0 FreeB= SD has pf and I use it on my server at home.=C2=A0=20 Are you exploring OpenBSD?=C2=A0 Did you not know that pf is an available f= irewall on FreeBSD? Paul On Wednesday, November 4, 2020, 11:32:33 AM EST, Thomas Laus wrote: =20 =20 Is there a How-To or a Handbook article for using an OpenBSD guest as a firewall for a FreeBSD host?=C2=A0 I have enabled pci-passthru and the OpenBSD guest can use the functional FreeBSD NIC hardware and has a hostname.vio0 configured with an IP address and netmask.=C2=A0 I have creat= ed a public switch on the FreeBSD side and have added tap0.=C2=A0 I can connec= t both from and to the OpenBSD / FreeBSD host by their respective IP addresses.=C2=A0 These addresses both use the same subnet.=C2=A0 I can't co= nnect anywhere else from the FreeBSD host.=C2=A0 The OpenBSD guest has an open pf.conf file to pass all packets to from vio0 to my re0 NIC. The OpenBSD system is version 6.8 and the FreeBSD is Current r367054. It looks like I need to create a bridge somewhere, but can't find the proper commands to make one.=C2=A0 I have read a few instructions, but none of them use commands from the vm-bhyve port.=C2=A0 I found that is always a good idea to not 'mix and match' these methods. Tom --=20 Public Keys: PGP KeyID =3D 0x5F22FDC1 GnuPG KeyID =3D 0x620836CF _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org" =20 From owner-freebsd-virtualization@freebsd.org Wed Nov 4 17:14:23 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 376BC462377 for ; Wed, 4 Nov 2020 17:14:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRCtl0mcJz426s for ; Wed, 4 Nov 2020 17:14:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 18AEC461D79; Wed, 4 Nov 2020 17:14:23 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 18755461D78 for ; Wed, 4 Nov 2020 17:14:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRCtk6yNdz426r for ; Wed, 4 Nov 2020 17:14:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CE24810CCF for ; Wed, 4 Nov 2020 17:14:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A4HEMON047623 for ; Wed, 4 Nov 2020 17:14:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A4HEMnC047622 for virtualization@FreeBSD.org; Wed, 4 Nov 2020 17:14:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250865] Usage of recent windows virtio-blk driver crashes the bhyve VM Date: Wed, 04 Nov 2020 17:14:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 17:14:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250865 --- Comment #2 from Michael Reifenberger --- Hi, many thanks for the hint. Yes, this version is working fine (for some time). Unfortunately I get a bluescreen in Windows and: ... pid 39852 (bhyve), jid 0, uid 0: exited on signal 6 ... when running a CrystalDiskMark benchmark on this disk :-( So at least its not finally stable somewhere. Could you try to stress the virtio-blk disks a bit. BTW if its relevant:=20 I put the virtio-blk disk on a ZFS vol with 4k blocksize. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 4 19:48:21 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F3DD4648FB for ; Wed, 4 Nov 2020 19:48:21 +0000 (UTC) (envelope-from 0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@amazonses.com) Received: from a48-106.smtp-out.amazonses.com (a48-106.smtp-out.amazonses.com [54.240.48.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRHJN3Zv7z49v5 for ; Wed, 4 Nov 2020 19:48:20 +0000 (UTC) (envelope-from 0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1604519299; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To:Feedback-ID; bh=46lRPLas+tAsO1LV0mYV7qsn+m8q/4xGNpXEBMndOUc=; b=bxO/Hjp/hLUKo+EXLGv6CxWiroRayd93VbkBqgidcsi33tH6aCPz/27sxwdov5JA x1SgmunrN6WH3+7i3DzMfczcr2prkP2rw+oitEVE0yBRgd1J8a0iPioocde+cJGx/0m qEFPyoAKvxdPX2kaos6UxWGk+f0YrDGYwpQmmJkI= Date: Wed, 4 Nov 2020 19:48:19 +0000 From: Thomas Laus To: Paul Pathiakis Cc: freebsd-virtualization@freebsd.org Subject: Re: Using OpenBSD guest as PF firewall Message-ID: <0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@email.amazonses.com> References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> <974524126.1643642.1604508967098@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <974524126.1643642.1604508967098@mail.yahoo.com> X-Operating-System: FreeBSD 12.1-RELEASE-p10 on an amd64 X-SES-Outgoing: 2020.11.04-54.240.48.106 Feedback-ID: 1.us-east-1.9pbSdi8VQuDGy3n7CRAr3/hYnLCug78GrsPo0xSgBOs=:AmazonSES X-Rspamd-Queue-Id: 4CRHJN3Zv7z49v5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=amazonses.com header.s=224i4yxa5dv7c2xz3womw6peuasteono header.b=bxO/Hjp/; dmarc=none; spf=pass (mx1.freebsd.org: domain of 0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@amazonses.com designates 54.240.48.106 as permitted sender) smtp.mailfrom=0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@amazonses.com X-Spamd-Result: default: False [-3.41 / 15.00]; ARC_NA(0.00)[]; FORGED_SENDER(0.30)[lausts@acm.org,0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@amazonses.com]; R_DKIM_ALLOW(-0.20)[amazonses.com:s=224i4yxa5dv7c2xz3womw6peuasteono]; NEURAL_HAM_MEDIUM(-1.04)[-1.035]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:54.240.0.0/18:c]; NEURAL_HAM_LONG(-1.05)[-1.049]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[acm.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[amazonses.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[54.240.48.106:from]; NEURAL_HAM_SHORT(-1.12)[-1.123]; FREEMAIL_TO(0.00)[yahoo.com]; RCVD_COUNT_ZERO(0.00)[0]; RWL_MAILSPIKE_POSSIBLE(0.00)[54.240.48.106:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:54.240.48.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[lausts@acm.org,0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@amazonses.com]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 19:48:21 -0000 Paul Pathiakis [pathiaki2@yahoo.com] wrote: > Hi, > Is there a reason you would want to use OpenBSD versus FreeBSD? > FreeBSD has pf and I use it on my server at home. > > Are you exploring OpenBSD? Did you not know that pf is an > available firewall on FreeBSD? > The OpenBSD PF firewall is several revisions ahead and more inte- grated than one in FreeBSD. The PF versions diverged in OpenBSD 4.7 and the one in FreeBSD was left behind. I use them both on their respected OS. It was very recent in bhyve development that pci-passthru was finally operational with an OpenBSD guest and I was building a new server and wanted to test things out. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF From owner-freebsd-virtualization@freebsd.org Wed Nov 4 19:49:27 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 28676464A6D for ; Wed, 4 Nov 2020 19:49:27 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) Received: from sonic315-21.consmr.mail.ne1.yahoo.com (sonic315-21.consmr.mail.ne1.yahoo.com [66.163.190.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRHKd4H7Tz4BHX for ; Wed, 4 Nov 2020 19:49:25 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1604519362; bh=WqH6Vi1yi7fh0+CqvUuDGaQEIAk0W2cYmMcne1BFctt=; h=Date:From:To:Subject; b=TYcofdwABQZ90qKPNvx5QMbtj/F6oJc7nF45J+zX+DOykgs0zJwaNkWbN1Fqs0FOA14lXpDQVkMo04LO8yVu5jH+Ln7NgwVaviKpcCfhypvMqCtexOxh3CAD0ClA6Kf59dfsn5nOgMQJlcjrubwJGvxe4uy+QhIO6JmaulTvkb6z6CeYNkt6BD9fpl0aIfPaqEg59HD2MMBzD+0834QAEKeDgZvbTOKPD9n92S3LnpPruSWDnnHbSSKmROz8dbMVQrcLXVtGpS2Roj7edRH/Jv5x+W72A/9juXuJ5l1s68zwXG5KI7L6Oc2jNnJhWc9jXZh+1ONpybg4YhO9oOjeMw== X-YMail-OSG: av.B.oQVM1m1MJFxfJo3C_oK5va8WPzzZhBrZo17DhHPGlKKlLvlpUDl8kXYuLW Nhp8yRRGEhUe13X_sc5bfIVj8fvKJ2Y4hDoPV7FJ4EiXsS54xX82E.uHnsYtZzbWbbkI2MZBSaVc XLMA9OirowQKjQP4zSjeggxO76fep4R4jHUD0WKBgeI.0izzdRabKhboKCn9KI8I8jLPGUa.D7gW peBt5GL.fcPkDbMWbasOnmXOlwoXUl3P5j46G92qunCAUTRuhyCUQk9o_jNSLHHr4BGMexs9LrSc l3_u.yIXnsw2dBAqlJiQPv5vMfvb_v6ugN5DktS_lFNPvwxLzv4yr5nztMHx.ZZ1FecoQ7QzUNk2 X4ITV1XiE5Dq5ZJYwvTBrDo92dkBxQV.gEbTb7zRhDR3CBrOzcdCykWbNsooAejSPiOYaM1_yte0 DumL9A4UxBVt8n6qn1OQDNldac_KCvq23Hvr1lL_GU13ZBFD3tKnSnZiC.Va3V6oiavlBE56pr9b ttB_EIgAksh7houTLkMpfY_ZKJ3XaNyq.1YZbG_yqsgnWvGc5lNZJot76k1QOtGr0VBW6f0En1bH udhjW1Bo60O0NIwW3cYX_TJiiqldUMRdb7hazA4UoNI23XacM4BZkWtBe.aAR3GcJDXtCMfRkEkb 9sh6R2oAECtQxVHlYTBeAKYWF6DOTJPz26EI1N6jrhLoGkcRjXs5yu8GMCajMtMD.6_0EDE4hgPi pF3ejXlKev8.grDLpkjrxxkasg7YN.7SlZCBBEtMw6c6QLmMzKa09WgMbh79DctNB0xyYhVwU_p6 nGtcVOvxmBVqp69pXIW6so8sOFIKwLGofj7P4qVJZplK8tOne_EZroUildR6CY.C5S9j0b_yPIYL Rp.4yNoC9c3eOSuuBT_O8kLw2DB3el4Px8JiKazDVwW5s0Hr2zGzL6jNJGTV6TQb66d5AvjN1tCm e03dvZqC7L3vRLfjJ1jPM.qqGdqZXhorGYH58SMt8dB4GWNoH37GVE3I4GCh6n8f0F6O6SMy71Ok ._wtSRkbERNWYHOsXp9S9k.JvyWySBQvyMOYZcAt5AJT_QfB66XWUtnBrTNDj3EX_.O2_yq.k0b6 Qe5C2UoRT2vEnkeyGc1UMeYSaeiSOIKJuevtDsPTivCedhPuPeydQ57vClPJWTCmwehjHWbXvLzm fRDcPWnBMx75GPAeBJSsabLjjroxOcP0awEGUboZu.Tn_xerEhl72RmmAa5TSmVK44H1HHphi77o 6qEbf7OX79XhHgpWQHlj9AYMcf0Lm_lUrCklD4gjXJ2xRdyUXIpzsGFfE2oiWlH6dAFD0hIXj0M7 L_v_G4zq64yUerDOzId1x3VbCuWDf2e_AzxO9ou0PMcfPMyMOu2D7g6fcM6c9UpoBicCeLQK8dU5 joVV_P56sdPaEdIAvAE0e7clJH6fy6pp3pBvH.QLiEz65hMHgcy5DVRRuAn2wYHsVCzXgEo_sgUU L3xZOMNn7FZDKn.yTpA1xYx5YbEFgUw_pnEaKbDZf5nLk4J31zAPSHvMf5WsDa0IyBEFuKc.rIIs ulrqk4Avc1e8Huf7e6BTpZLlQ955XRI7OnbQSozser9W2ikz52QMlb4aP6SF4XkEwxHPIRE0YGFT rVpfD73mvBYyQVKxQSfEs5l8Y7HtpfZJaRuMyupPML4IsvHI3pwxnntBKVb_47NP6xH6CSmM3YfW v62PZYMNPyPNGbd8KPXCd66XHkeC8qewEVbqAigFACy9a9rdfwMJbNtRLjtL4PazxQDu5.cA8EGu Dric_RMeiHC9LbSUWAGUx07KoxLAEsxG5mM6mSHhYG2RtMNvFaKX71LrhBZGqBMUHQJqUkYB_VlD PAEbM_b3i8ASiKwY74tVX7pxTA2VByd1kIs4WoMQHt8KcuSGpv4lsix1znfm6IaVtSEBLomeSiuB zLMCFQz9Ht4OE_zfC1HCV3cIbiVv2l0N_CwXYFKyS11JURQTgeeVL0qimdZpaGlad8NJ5FVnfrxH IFh3SZTkuB_jkcLJ_X__trOmxMPHTTAyXvfqNC9iFycrE4jtcMRntAj_kRC7Bpiv0_jbmj7UszYI t4E1cK_8fvSND7KTwlZMMoY7ztH.FDyEk.mCC_7EcEPLmYCNnjlaxRhsz2Z1RbHk7h.pa6EIby5z 5DaT4Z4lQgD1h0lnh.umPtZcYHZlcl_4pKw33LJIxT_fbG0fZc9NGIpqlhyGzhzzFF4vf0aXdPGO OoMFkX0piLjJZZ27yAgwNUGTQ..lk7En2eiN.zVpyqC3yR2AFKtJUKHaiXijRaAS_bKXi5kDRs_X AxlGn_o6RcGjCsQwBghkMF0EVnBfKUal_FUhtUZTEQjSxM2mECMCi.QFh9Zar2UO2qP8_D9YPpsx PDuuYcV596wPjBCLFko5.SqWaTZcY.dY0qX9izmBEoDJbPmR9w5mXGBUcrw9vIFi2JPvgHnaphga e.SI7XNvJxY3GfwJVyaN7AdUrj.srl3.ojTyKVlaq9EhIyGu3ruZKYxopgputKL_VaD578K42qJK t139aM6_gfNzJv7IEMmSPbdk_wZ2rIxMUAr3Lon930G7NbvWt9SidOvxkkWKaGIFPtugDTeJIVJr Uv6bbNRdLMro9DAZBjZqStqtGvdod78y2H2QwXvXKmFxoTfbWDd5wAS5.JQDMHypdmsMwthXnLw- - Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Wed, 4 Nov 2020 19:49:22 +0000 Date: Wed, 4 Nov 2020 19:49:18 +0000 (UTC) From: Paul Pathiakis To: Thomas Laus Cc: "freebsd-virtualization@freebsd.org" Message-ID: <1520318938.1718710.1604519358758@mail.yahoo.com> In-Reply-To: <0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@email.amazonses.com> References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> <974524126.1643642.1604508967098@mail.yahoo.com> <0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@email.amazonses.com> Subject: Re: Using OpenBSD guest as PF firewall MIME-Version: 1.0 X-Mailer: WebService/1.1.16944 YMailNorrin Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 X-Rspamd-Queue-Id: 4CRHKd4H7Tz4BHX X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.06 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.190.147:from]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.04)[-1.045]; NEURAL_HAM_MEDIUM(-1.01)[-1.012]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[66.163.190.147:from]; NEURAL_HAM_SHORT(-1.01)[-1.006]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-virtualization]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 19:49:27 -0000 Thank you. I didn't know they had never 're-synced'. Paul On Wednesday, November 4, 2020, 2:48:20 PM EST, Thomas Laus wrote: =20 =20 Paul Pathiakis [pathiaki2@yahoo.com] wrote: >=C2=A0 Hi, > Is there a reason you would want to use OpenBSD versus FreeBSD? > FreeBSD has pf and I use it on my server at home. >=20 > Are you exploring OpenBSD? Did you not know that pf is an > available firewall on FreeBSD? > The OpenBSD PF firewall is several revisions ahead and more inte- grated than one in FreeBSD.=C2=A0 The PF versions diverged in OpenBSD 4.7 and the one in FreeBSD was left behind.=C2=A0 I use them both on their respected OS.=C2=A0 It was very recent in bhyve development that pci-passthru was finally operational with an OpenBSD guest and I was building a new server and wanted to test things out. Tom --=20 Public Keys: PGP KeyID =3D 0x5F22FDC1 GnuPG KeyID =3D 0x620836CF =20 From owner-freebsd-virtualization@freebsd.org Wed Nov 4 20:36:57 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 08CA1465C3B for ; Wed, 4 Nov 2020 20:36:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRJNS6XKwz4Fnc for ; Wed, 4 Nov 2020 20:36:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DDFE9465C3A; Wed, 4 Nov 2020 20:36:56 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DC962465CF4 for ; Wed, 4 Nov 2020 20:36:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRJNS5HTFz4Fr6 for ; Wed, 4 Nov 2020 20:36:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 993E1133BC for ; Wed, 4 Nov 2020 20:36:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A4KauMu097119 for ; Wed, 4 Nov 2020 20:36:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A4Kau6E097118 for virtualization@FreeBSD.org; Wed, 4 Nov 2020 20:36:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Wed, 04 Nov 2020 20:36:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 20:36:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #5 from Konstantin Belousov --- Please try https://reviews.freebsd.org/D27092. I am not completely sure if this would work, but worth an attempt. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 4 21:04:21 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7F0D04660AD for ; Wed, 4 Nov 2020 21:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRK052r0Mz4GYb for ; Wed, 4 Nov 2020 21:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 614A24660AC; Wed, 4 Nov 2020 21:04:21 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6112B465FC2 for ; Wed, 4 Nov 2020 21:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRK051znDz4GWg for ; Wed, 4 Nov 2020 21:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2920E13D1C for ; Wed, 4 Nov 2020 21:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A4L4Lom031006 for ; Wed, 4 Nov 2020 21:04:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A4L4L5D031005 for virtualization@FreeBSD.org; Wed, 4 Nov 2020 21:04:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Wed, 04 Nov 2020 21:04:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 21:04:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 Peter Grehan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grehan@FreeBSD.org --- Comment #6 from Peter Grehan --- I just commented on the review: that patch shouldn't be needed (a comment on why the assert is there could help I guess). A possibility here is that the 64-bit PCI that bhyve reserves is out of physical address range for that model CPU. The fix for this is to make the = base of this region dynamic after a CPUID to determine the max phys addr lines. Another fix that Robert mentioned is to relax the overly-small 32MB restric= tion on placing mmio bars in the PCI hole below 4G. It can be 256MB without any issues, and 512MB with sorting of BARs. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 4 21:10:54 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A17C466232 for ; Wed, 4 Nov 2020 21:10:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRK7f39ggz4GcZ for ; Wed, 4 Nov 2020 21:10:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 68F15465FD3; Wed, 4 Nov 2020 21:10:54 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 67A87466231 for ; Wed, 4 Nov 2020 21:10:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRK7f1xSXz4GcY for ; Wed, 4 Nov 2020 21:10:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 27AFB13A71 for ; Wed, 4 Nov 2020 21:10:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A4LAsl8037477 for ; Wed, 4 Nov 2020 21:10:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A4LAsui037476 for virtualization@FreeBSD.org; Wed, 4 Nov 2020 21:10:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Wed, 04 Nov 2020 21:10:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 21:10:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #7 from Konstantin Belousov --- (In reply to Peter Grehan from comment #6) I do not think we can get out with just increase of the space for BAR mappi= ng below 4G in general. Modern GPUs tend to increase aperture size, and for somethi= ng with 10G of VRAM together with coherent CPU/GPU memory, we simply cannot put the apperture below 4G. In comment #3 there is pciconf output from the guest, bars seems to be below 4G. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 4 21:22:54 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8763D4667DE for ; Wed, 4 Nov 2020 21:22:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRKPV1xtWz4JDs for ; Wed, 4 Nov 2020 21:22:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6349D4668D1; Wed, 4 Nov 2020 21:22:53 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 58F66466AA8 for ; Wed, 4 Nov 2020 21:22:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRKPS1mnvz4JJN for ; Wed, 4 Nov 2020 21:22:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 249EE140BD for ; Wed, 4 Nov 2020 21:22:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A4LMn6F052341 for ; Wed, 4 Nov 2020 21:22:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A4LMnok052340 for virtualization@FreeBSD.org; Wed, 4 Nov 2020 21:22:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Wed, 04 Nov 2020 21:22:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 21:22:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #8 from Peter Grehan --- I don't mean to increase the aperture (it's 1G starting at 3G) - just to re= lax the check on whether BARs should be punted to the 64-bit area. That check is too restrictive. For this case the bar is only 256MB so can fit there. >pciconf output from the guest, bars seems to be below 4G. The bar in question was placed into the 64-bit area in the guest: bar [14] =3D type Prefetchable Memory, range 64, base rxd000000000, s= ize 268435456, enabled ... but was below 4G in the host: bar [1c] =3D type Prefetchable Memory, range 64, base rxd0000000, size 33554432, enabled As mentioned, the 0xd000000000 area might be out of range on that host. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 4 21:40:36 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E138F46706B for ; Wed, 4 Nov 2020 21:40:36 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRKnv5prRz4KNk for ; Wed, 4 Nov 2020 21:40:35 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-ej1-f41.google.com with SMTP id 7so19160ejm.0 for ; Wed, 04 Nov 2020 13:40:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=CKl/7MjLXjB7H7RoTQWZE0ZPoTxORJKTc/Ad5Pj7LII=; b=CVSIlvX8akYoe9klr4dANaaX5sNOr43xGAb2WPc0MD6BlJvpcikne/cbG6yQG2JcCJ aTy8nK7RFSLOwFGK0nyfCFVhQ1NwIj4APUef/Gs0vr7dOM/siMX70LGLEL25gyyVTzd3 3nH3MvS5xpCeH2JEaZBDz52JLDNVYlrr+bse/rzxZTN0hhheo5Zu8tMzF1SV5uH66uNf G02WZ+vCpr4lyjCpKkJjCNC1RJF32L1ZZ+pR5LitwF1Efn7de1NC7nr2nCMhBGPpgGSH tHhnEBzfgOJW/qYP+roXBYHdWYL7MHYn0PAalqD6IfbzS6D4BwUzhyxudcWXIe1ymWBl LhbQ== X-Gm-Message-State: AOAM530cv3HzN0kcTbfj6ZYUSJHRSj+Ok+pdkF66cliC4jkTppEKVW3P QKjeai3vZmiMZ+nxFLGt8sgvRTwEcpEQlg== X-Google-Smtp-Source: ABdhPJxK/YQhFBXQA6eMqWBg70Nwrxqp56GKmmilZMUqeLwwYWVIOmwHVmzT6YpYY6/VsVFtAHyZsQ== X-Received: by 2002:a17:906:2f10:: with SMTP id v16mr110480eji.320.1604526033853; Wed, 04 Nov 2020 13:40:33 -0800 (PST) Received: from ?IPv6:2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id f19sm1611049edy.13.2020.11.04.13.40.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Nov 2020 13:40:33 -0800 (PST) Subject: Re: Using OpenBSD guest as PF firewall To: Paul Pathiakis , Thomas Laus Cc: "freebsd-virtualization@freebsd.org" References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> <974524126.1643642.1604508967098@mail.yahoo.com> <0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@email.amazonses.com> <1520318938.1718710.1604519358758@mail.yahoo.com> From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: Date: Wed, 4 Nov 2020 22:40:32 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <1520318938.1718710.1604519358758@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4CRKnv5prRz4KNk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.218.41 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-2.42 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[209.85.218.41:from]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.38)[-0.378]; FREEMAIL_TO(0.00)[yahoo.com,acm.org]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.985]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.05)[-1.052]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.218.41:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 21:40:36 -0000 On 11/4/20 8:49 PM, Paul Pathiakis via freebsd-virtualization wrote: > Thank you. > I didn't know they had never 're-synced'. > Paul Just for the record, the pf version currently available in FreeBSD is not just an old OpenBSD pf. See the note in the PF chapter in the handbook (https://www.freebsd.org/doc/handbook/firewalls-pf.html): "Warning: When reading the PF FAQ, keep in mind that FreeBSD's version of PF has diverged substantially from the upstream OpenBSD version over the years. Not all features work the same way on FreeBSD as they do in OpenBSD and vice versa." Cheers! > > On Wednesday, November 4, 2020, 2:48:20 PM EST, Thomas Laus wrote: > > Paul Pathiakis [pathiaki2@yahoo.com] wrote: >>   Hi, >> Is there a reason you would want to use OpenBSD versus FreeBSD? >> FreeBSD has pf and I use it on my server at home. >> >> Are you exploring OpenBSD? Did you not know that pf is an >> available firewall on FreeBSD? >> > The OpenBSD PF firewall is several revisions ahead and more inte- > grated than one in FreeBSD.  The PF versions diverged in OpenBSD > 4.7 and the one in FreeBSD was left behind.  I use them both > on their respected OS.  It was very recent in bhyve development > that pci-passthru was finally operational with an OpenBSD guest > and I was building a new server and wanted to test things out. > > Tom > From owner-freebsd-virtualization@freebsd.org Wed Nov 4 21:53:06 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8B7084679A5 for ; Wed, 4 Nov 2020 21:53:06 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRL4K5fwsz4LZD for ; Wed, 4 Nov 2020 21:53:05 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: by mail-wm1-f42.google.com with SMTP id h62so3737349wme.3 for ; Wed, 04 Nov 2020 13:53:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LsV1a2V2/wfgVY1QrUSLfkuE+iyz0ovPq5dFp/juuvE=; b=Bmq2Q4cG07UFdRwI/MTpaW0VpMkZZgkRkGEQ+ct2PhGnXKYKprQ0dzE4dzJvNLVwQB jQrbDa92+0O5JEqq/Secz69I7egj6A2ZKj0G9FyG6M6UagKyv9YYa9HMDawCjW7G+mTH 7IXbiALYV7rAPfGl/CBTUK125qB3JbgVna53fw39BHU2FwJd7gS5nXv31w2HEHNAaxnO 5bwy64JmbXh+ShpruloicRbQiwL/bt1ppmcgfOqDtQbC8BU2KrFcw6wtcdWDaKMP0FN1 llYIs2K3BXHgfZ4GcneagTlUk3U9Sfe6wEzQ3BZ8Dy3aCp0WixuAm93T9+/7la6795Wn UM/A== X-Gm-Message-State: AOAM5316aO/JFjMUSlbN2LXUuyJoau4UTodd0SnCiR9BKPS7dfBOZ5zO pNWm2XeuQ6hpVBZBW6a0WpwD/ciw65YgNwI0ABykpU44 X-Google-Smtp-Source: ABdhPJwzWhGEh6Y3DCftao+p2DXGFD7l9YoJBixSSc0m8iRnvETlk1Y40s3YtTdS1QpgAY4nKRRxLVnmnAGZvGiFEoA= X-Received: by 2002:a7b:c2ef:: with SMTP id e15mr7155691wmk.180.1604526783667; Wed, 04 Nov 2020 13:53:03 -0800 (PST) MIME-Version: 1.0 References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> In-Reply-To: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> From: Jason Tubnor Date: Thu, 5 Nov 2020 08:52:52 +1100 Message-ID: Subject: Re: Using OpenBSD guest as PF firewall To: lausts@acm.org Cc: "freebsd-virtualization@freebsd.org" X-Rspamd-Queue-Id: 4CRL4K5fwsz4LZD X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jtubnor@gmail.com designates 209.85.128.42 as permitted sender) smtp.mailfrom=jtubnor@gmail.com X-Spamd-Result: default: False [-1.98 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.01)[-1.008]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[tubnor.net]; NEURAL_SPAM_SHORT(0.02)[0.020]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.128.42:from]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; FORGED_SENDER(0.30)[jason@tubnor.net,jtubnor@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.128.42:from]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[jason@tubnor.net,jtubnor@gmail.com]; MAILMAN_DEST(0.00)[freebsd-virtualization] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 21:53:06 -0000 On Thu, 5 Nov 2020 at 03:32, Thomas Laus wrote: > Is there a How-To or a Handbook article for using an OpenBSD guest as a > firewall for a FreeBSD host? I have enabled pci-passthru and the > OpenBSD guest can use the functional FreeBSD NIC hardware and has a > hostname.vio0 configured with an IP address and netmask. I have created > I think you are getting a few things mixed up here. If you pass through the adaptor to OpenBSD, then you'll address it by the real device name and not use the vio driver. Once you pass it through, the host will not be able to communicate with the guest via the same path, it will be via some other physical connection back to a switch. If you want the guest and host to communicate over the same wire, then you need to bridge the physical interface at the host level and then add a tap to that bridge that the guest will then use. a public switch on the FreeBSD side and have added tap0. I can connect > both from and to the OpenBSD / FreeBSD host by their respective IP > addresses. These addresses both use the same subnet. I can't connect > anywhere else from the FreeBSD host. The OpenBSD guest has an open > pf.conf file to pass all packets to from vio0 to my re0 NIC. > > The OpenBSD system is version 6.8 and the FreeBSD is Current r367054. > It looks like I need to create a bridge somewhere, but can't find the > proper commands to make one. I have read a few instructions, but none > of them use commands from the vm-bhyve port. I found that is always a > good idea to not 'mix and match' these methods. > We use the bridge/vio/tap configuration extensively. Testing on -HEAD shows that two OpenBSD guests can communicate with each other and the rest of the network at 3.5Gb/s with bridge. We see even faster with netmap/VALE (17Gb/s) but OpenBSD vio driver has checksum issues that I need to sort out. We don't pass-thru any hardware as it exceeds the level of comfort that we are happy with with deployed remote hosts. Cheers, Jason. From owner-freebsd-virtualization@freebsd.org Thu Nov 5 00:52:11 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 432DA46AC3B for ; Thu, 5 Nov 2020 00:52:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRQ2z18RJz4VnT for ; Thu, 5 Nov 2020 00:52:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2712346AF35; Thu, 5 Nov 2020 00:52:11 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 26BF946AF34 for ; Thu, 5 Nov 2020 00:52:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRQ2z0K5dz4Vl9 for ; Thu, 5 Nov 2020 00:52:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E3B4D15FE8 for ; Thu, 5 Nov 2020 00:52:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A50qAFX001129 for ; Thu, 5 Nov 2020 00:52:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A50qADW001128 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 00:52:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Thu, 05 Nov 2020 00:52:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 00:52:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #9 from Konstantin Belousov --- Indeed 0xd0_0000_0000 is above the max supported phys address on any i5. I put together a patch https://reviews.freebsd.org/D27095 to select the starting address for 64bit membars below the max phys address read from CPUID. Please test. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 01:08:11 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E76AB46B142 for ; Thu, 5 Nov 2020 01:08:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRQPR5w19z4WPc for ; Thu, 5 Nov 2020 01:08:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C8FFF46B40D; Thu, 5 Nov 2020 01:08:11 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C8BE546B40C for ; Thu, 5 Nov 2020 01:08:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRQPR50DCz4WRh for ; Thu, 5 Nov 2020 01:08:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8BD1516B14 for ; Thu, 5 Nov 2020 01:08:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A518BlY016721 for ; Thu, 5 Nov 2020 01:08:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A518B7g016719 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 01:08:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250865] Usage of recent windows virtio-blk driver crashes the bhyve VM Date: Thu, 05 Nov 2020 01:08:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jason@tubnor.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 01:08:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250865 Jason Tubnor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason@tubnor.net --- Comment #3 from Jason Tubnor --- There is a known issues with 1.189.=20 https://bugzilla.redhat.com/show_bug.cgi?id=3D1890810 If you are either presenting the zvol as 4k or the underlying setting of it= is 4k, then you'll run into corruption pretty quickly. I have tested and confirmed this. 1.187 does not exhibit the same issue.=20 Testing was conducted using 12.2-RELEASE and Windows 10. Our Windows Server 2019 fleet are using 1.185 without issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 02:53:20 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 87B6D44834B for ; Thu, 5 Nov 2020 02:53:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRSkm37XQz4g1G for ; Thu, 5 Nov 2020 02:53:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6B910448623; Thu, 5 Nov 2020 02:53:20 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B59D44834A for ; Thu, 5 Nov 2020 02:53:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRSkm2CdJz4frH for ; Thu, 5 Nov 2020 02:53:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2F8CC17CDD for ; Thu, 5 Nov 2020 02:53:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A52rKYn037294 for ; Thu, 5 Nov 2020 02:53:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A52rKCt037292 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 02:53:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250795] support RFB 3.3 for VNC client interoperability Date: Thu, 05 Nov 2020 02:53:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 02:53:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250795 --- Comment #1 from Ed Maste --- Applying the patch to head I get: Patching file usr.sbin/bhyve/rfb.c using Plan A... Hunk #1 succeeded at 223 (offset 2 lines). Hunk #2 succeeded at 628 (offset 2 lines). Hunk #3 succeeded at 643 (offset 2 lines). Hunk #4 succeeded at 760 (offset 2 lines). Hunk #5 failed at 774. Hunk #6 succeeded at 867 (offset 2 lines). Hunk #7 succeeded at 878 (offset 2 lines). Hunk #8 succeeded at 918 (offset 2 lines). Hunk #9 succeeded at 938 (offset 2 lines). 1 out of 9 hunks failed--saving rejects to usr.sbin/bhyve/rfb.c.rej --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 04:35:09 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6009044A44F for ; Thu, 5 Nov 2020 04:35:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRW0F1z8rz4lk9 for ; Thu, 5 Nov 2020 04:35:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 43A0144A44E; Thu, 5 Nov 2020 04:35:09 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4364644A71E for ; Thu, 5 Nov 2020 04:35:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRW0F18xZz4lhF for ; Thu, 5 Nov 2020 04:35:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 09E241924C for ; Thu, 5 Nov 2020 04:35:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A54Z8gl073701 for ; Thu, 5 Nov 2020 04:35:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A54Z8bW073699 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 04:35:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250795] support RFB 3.3 for VNC client interoperability Date: Thu, 05 Nov 2020 04:35:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 04:35:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250795 Peter Grehan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grehan@FreeBSD.org --- Comment #2 from Peter Grehan --- I was able to apply the failed portion of the patch manually. Amazing to see VNC display in the macos client :) There do appear to be some issues though: a disconnect and reconnect (and sometimes the first connect) will fail maybe 40% of the time. Perhaps a race with the first thread and the update message ? There are also some issues with VNC viewer - every now and then it won't refresh on connect. This wasn't the case prior to the patch - perhaps anoth= er interaction with the update message. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 06:48:14 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E308644CB2E for ; Thu, 5 Nov 2020 06:48:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRYxp5p7xz4rG5 for ; Thu, 5 Nov 2020 06:48:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C557844C9F3; Thu, 5 Nov 2020 06:48:14 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C51F644CABF for ; Thu, 5 Nov 2020 06:48:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRYxp4w3Kz4rDD for ; Thu, 5 Nov 2020 06:48:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8C8191ABB8 for ; Thu, 5 Nov 2020 06:48:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A56mEwa019924 for ; Thu, 5 Nov 2020 06:48:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A56mEWd019923 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 06:48:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250795] support RFB 3.3 for VNC client interoperability Date: Thu, 05 Nov 2020 06:48:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: henrik@gulbra.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 06:48:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250795 Henrik Gulbrandsen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |henrik@gulbra.net --- Comment #3 from Henrik Gulbrandsen --- This is just a reminder that I had to make big changes in the RFB code to m= ake it work with TigerVNC while I was working on the Video BIOS. Unsolicited updates and occasional refresh problems were among the issues I fixed. From= my notes: "While debugging, I noticed that the display was not correctly updated when= I filled it with black, although it worked well for other fill colors. This w= as because the CRC values had been cleared in the recent resize, so rfb.c thou= ght the display was already black. I fixed the problem by adding an invalid variable in rfb.c, to make sure that all data is sent in the update followi= ng the resize." My patch for rfb.c still applies cleanly to 12.2-STABLE, but the patch in t= his bug report will almost certainly give conflicts, so I thought I should ment= ion my changes again before they become hopelessly obsolete. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 06:52:05 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 61B3A44CFEC for ; Thu, 5 Nov 2020 06:52:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRZ2F23R4z4rrW for ; Thu, 5 Nov 2020 06:52:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 467E344CD36; Thu, 5 Nov 2020 06:52:05 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4649A44CBD6 for ; Thu, 5 Nov 2020 06:52:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRZ2F12cCz4rRh for ; Thu, 5 Nov 2020 06:52:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 072E81AD9C for ; Thu, 5 Nov 2020 06:52:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A56q4u3025329 for ; Thu, 5 Nov 2020 06:52:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A56q4sF025326 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 06:52:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250671] error reporting with bhyvectl could be improved Date: Thu, 05 Nov 2020 06:52:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 06:52:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250671 Peter Grehan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grehan@FreeBSD.org --- Comment #1 from Peter Grehan --- This looks fine. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 06:56:43 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4D83F44D202 for ; Thu, 5 Nov 2020 06:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRZ7b1PJkz4s3N for ; Thu, 5 Nov 2020 06:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2E3B444D201; Thu, 5 Nov 2020 06:56:43 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2DFDB44D200 for ; Thu, 5 Nov 2020 06:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRZ7b0V4Cz4s3M for ; Thu, 5 Nov 2020 06:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E9DB11A9E0 for ; Thu, 5 Nov 2020 06:56:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A56ugPZ028915 for ; Thu, 5 Nov 2020 06:56:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A56ugRJ028914 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 06:56:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250795] support RFB 3.3 for VNC client interoperability Date: Thu, 05 Nov 2020 06:56:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: henrik@gulbra.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 06:56:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250795 --- Comment #4 from Henrik Gulbrandsen --- For some reason, Bugzilla refused to accept the patch as an attachment, so I have uploaded it to my web server for easy access: https://www.gulbra.net/freebsd-bhyve/RFB_changes_for_Video_BIOS.diff --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 07:50:27 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B534D460C79 for ; Thu, 5 Nov 2020 07:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRbKb4YqZz4Ljt for ; Thu, 5 Nov 2020 07:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9AE88460C78; Thu, 5 Nov 2020 07:50:27 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9AAED460C77 for ; Thu, 5 Nov 2020 07:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRbKb3vcRz4LST for ; Thu, 5 Nov 2020 07:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 75E50104FF for ; Thu, 5 Nov 2020 07:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A57oRUI086854 for ; Thu, 5 Nov 2020 07:50:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A57oRhn086853 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 07:50:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250795] support RFB 3.3 for VNC client interoperability Date: Thu, 05 Nov 2020 07:50:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marko@apache.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 07:50:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250795 --- Comment #5 from marko@apache.org --- Thanks for the review, and comments. I'll switch over to head of trunk to do follow-up dev on this code. My bad = for not checking the patch against it. I agree, TX of screen updates needs a bit of followup work. We should honor= the order of client request vs. first TX of server screen data, which hopefully should address that first refresh. I'll look into that. I tested the code with TigerVNC also, rudimentary tests showed it behaving = ok. Admittedly, didn't test it very thoroughly. Interesting observation regardi= ng combination of all black screen block & CRC. It seemed to me that the CRC variation here would produce non-zero results for all black data, but I hav= en't validated that. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 09:20:41 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 97D7D462F58 for ; Thu, 5 Nov 2020 09:20:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRdKj3kbxz4QZ3 for ; Thu, 5 Nov 2020 09:20:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7FE06462D7D; Thu, 5 Nov 2020 09:20:41 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7FA8A462E55 for ; Thu, 5 Nov 2020 09:20:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRdKj331Vz4QTZ for ; Thu, 5 Nov 2020 09:20:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5C2A4119AD for ; Thu, 5 Nov 2020 09:20:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A59Kf66086383 for ; Thu, 5 Nov 2020 09:20:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A59KfOU086382 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 09:20:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Thu, 05 Nov 2020 09:20:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr.xanto@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 09:20:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #10 from mr.xanto@gmail.com --- (In reply to Konstantin Belousov from comment #9) bhyve options: [bhyve options: -c 1 -m 3G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U 7bd95998-1d4b-11eb-b522-70f3951447ea -S] [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,ahci,hd:/mnt/Data/vm/bsd_test/disk0.img -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:0a:22:9a -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1 -s 7:0,xhci,tablet] [bhyve console: -l com1,stdio] [bhyve iso device: -s 3:0,ahci-cd,/mnt/Data/vm/.iso/FreeBSD-12.1-STABLE-amd64-20200827-r364849-bo= otonly.iso,ro] log errors: bhyve exited with status 4 bhyve: failed to initialize BARs for PCI 1/0/0 device emulation initialization error: No such file or directory # pciconf -lvcb ppt0@pci0:1:0:0: class=3D0x030000 card=3D0x38991642 chip=3D0x0a6310d= e rev=3D0xa2 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'GT218 [GeForce 310]' class =3D display subclass =3D VGA bar [10] =3D type Memory, range 32, base 0xfa000000, size 16777216, e= nabled bar [14] =3D type Prefetchable Memory, range 64, base 0xc0000000, size 268435456, enabled bar [1c] =3D type Prefetchable Memory, range 64, base 0xd0000000, size 33554432, enabled bar [24] =3D type I/O Port, range 32, base 0xe000, size 128, enabled cap 01[60] =3D powerspec 3 supports D0 D3 current D0 cap 05[68] =3D MSI supports 1 message, 64 bit cap 10[78] =3D PCI-Express 2 endpoint max data 128(128) RO NS max read 128 link x16(x16) speed 2.5(2.5) ASPM disabled(L0s/L1) ClockPM enabled cap 09[b4] =3D vendor (length 20) ecap 0002[100] =3D VC 1 max VC0 ecap 0004[128] =3D Power Budgeting 1 ecap 000b[600] =3D Vendor 1 ID 1 ppt1@pci0:1:0:1: class=3D0x040300 card=3D0x38991642 chip=3D0x0be310d= e rev=3D0xa1 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'High Definition Audio Controller' class =3D multimedia subclass =3D HDA bar [10] =3D type Memory, range 32, base 0xfb080000, size 16384, enab= led cap 01[60] =3D powerspec 3 supports D0 D3 current D0 cap 05[68] =3D MSI supports 1 message, 64 bit cap 10[78] =3D PCI-Express 2 endpoint max data 128(128) NS max read 128 link x16(x16) speed 2.5(2.5) ASPM L0s/L1(L0s/L1) ClockPM enabled --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 09:35:22 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B84354631BD for ; Thu, 5 Nov 2020 09:35:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRdff4g5cz4R2j for ; Thu, 5 Nov 2020 09:35:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9E1F44631BC; Thu, 5 Nov 2020 09:35:22 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9CA754631BB for ; Thu, 5 Nov 2020 09:35:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRdff3lDSz4R51 for ; Thu, 5 Nov 2020 09:35:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 73F4F11D9B for ; Thu, 5 Nov 2020 09:35:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A59ZMsM005688 for ; Thu, 5 Nov 2020 09:35:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A59ZMnh005687 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 09:35:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250865] Usage of recent windows virtio-blk driver crashes the bhyve VM Date: Thu, 05 Nov 2020 09:35:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 09:35:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250865 --- Comment #4 from Michael Reifenberger --- (In reply to Jason Tubnor from comment #3) What blocksize would you recommend for NTFS? The ZFS pool is on a 4k SSD. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 09:56:34 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EC1774636E4 for ; Thu, 5 Nov 2020 09:56:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRf7668rQz4SCH for ; Thu, 5 Nov 2020 09:56:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D1A11463928; Thu, 5 Nov 2020 09:56:34 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D1681463A90 for ; Thu, 5 Nov 2020 09:56:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRf765Vvfz4Ryn for ; Thu, 5 Nov 2020 09:56:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AEF821203E for ; Thu, 5 Nov 2020 09:56:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A59uYvK026225 for ; Thu, 5 Nov 2020 09:56:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A59uYwW026222 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 09:56:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250865] Usage of recent windows virtio-blk driver crashes the bhyve VM Date: Thu, 05 Nov 2020 09:56:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 09:56:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250865 --- Comment #5 from Michael Reifenberger --- I tested now with volblocksizes of 32k and 8k (the default). This settings last longer but both produce bluescreens during random write. Driver version was 1.185. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 12:40:29 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8E8FD4675CD for ; Thu, 5 Nov 2020 12:40:29 +0000 (UTC) (envelope-from 01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@amazonses.com) Received: from a48-102.smtp-out.amazonses.com (a48-102.smtp-out.amazonses.com [54.240.48.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRjmD62JBz4dgp for ; Thu, 5 Nov 2020 12:40:28 +0000 (UTC) (envelope-from 01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1604580027; h=Reply-To:To:References:From:Cc:Subject:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=pLX4KnU2l6Y7X1kYQPSsvxoHHodsWT0bUHVNlG5XCvI=; b=Ug3g4U7EK7L11tP/YYVlRs1lhoDNSf5Q1YBY9pqaEgmP7MUKgZCTBkA8/zhUfrCZ H+echopYSCTZvbsPLts9ZbOgIR7w0y0LXMPXfe4hPAku2SRkqe1X/ddWT3CneiervKL enIu315IvruP10XFtb8BxdM7m4iPteNMbYjTdLG4= Reply-To: lausts@acm.org To: Jason Tubnor References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> From: Thomas Laus Cc: "freebsd-virtualization@freebsd.org" Subject: Re: Using OpenBSD guest as PF firewall Message-ID: <01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@email.amazonses.com> Date: Thu, 5 Nov 2020 12:40:27 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-SES-Outgoing: 2020.11.05-54.240.48.102 Feedback-ID: 1.us-east-1.9pbSdi8VQuDGy3n7CRAr3/hYnLCug78GrsPo0xSgBOs=:AmazonSES X-Rspamd-Queue-Id: 4CRjmD62JBz4dgp X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=amazonses.com header.s=224i4yxa5dv7c2xz3womw6peuasteono header.b=Ug3g4U7E; dmarc=none; spf=pass (mx1.freebsd.org: domain of 01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@amazonses.com designates 54.240.48.102 as permitted sender) smtp.mailfrom=01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@amazonses.com X-Spamd-Result: default: False [1.30 / 15.00]; HAS_REPLYTO(0.00)[lausts@acm.org]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[amazonses.com:s=224i4yxa5dv7c2xz3womw6peuasteono]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:54.240.0.0/18]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[acm.org]; SPAMHAUS_ZRD(0.00)[54.240.48.102:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[amazonses.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[54.240.48.102:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[lausts@acm.org,01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@amazonses.com]; RCVD_COUNT_ZERO(0.00)[0]; RWL_MAILSPIKE_POSSIBLE(0.00)[54.240.48.102:from]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[54.240.48.102:from]; ASN(0.00)[asn:14618, ipnet:54.240.48.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[lausts@acm.org,01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@amazonses.com]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 12:40:29 -0000 On 11/4/20 4:52 PM, Jason Tubnor wrote: > > I think you are getting a few things mixed up here.  If you pass through > the adaptor to OpenBSD, then you'll address it by the real device name > and not use the vio driver.  Once you pass it through, the host will not > be able to communicate with the guest via the same path, it will be via > some other physical connection back to a switch.  If you want the guest > and host to communicate over the same wire, then you need to bridge the > physical interface at the host level and then add a tap to that bridge > that the guest will then use. > I am fairly sure that is not my case. I have provided the FreeBSD NIC to the OpenBSD client with pci-passthru. This NIC will be internet facing and I want to have the OpenBSD PF provide the firewall service to the FreeBSD host like this Forum Link. https://forums.freebsd.org/threads/howto-bhyve-using-openbsd-as-main-firewall-in-freebsd.50470/ My question to this list was how this can be done using vm-bhyve commands. This 'how-to' showed the traditional scripting method and I would prefer using the 'vm' commands. The tap0 created as part of the 'vm switch' utility, is able to make the connection to the OpenBSD guest 'vio0'. The OpenBSD guest is also able to make the connection to 'tap0' on the FreeBSD host. The OpenBSD guest has normal internet connections to the world using the NIC that was passed through. The FreeBSD host is not able to make any other connections anywhere other than to the OpenBSD guest. This forum article says it is possible. I just need a handbook reference or a 'how-to' writeup for doing this using the vm-bhyve utility. > > We use the bridge/vio/tap configuration extensively. Testing on -HEAD > shows that two OpenBSD guests can communicate with each other and the > rest of the network at 3.5Gb/s with bridge.  We see even faster with > netmap/VALE (17Gb/s) but OpenBSD vio driver has checksum issues that I > need to sort out.  We don't pass-thru any hardware as it exceeds the > level of comfort that we are happy with with deployed remote hosts. > This is not what I am trying to accomplish. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF From owner-freebsd-virtualization@freebsd.org Thu Nov 5 12:53:08 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2B6C0467773 for ; Thu, 5 Nov 2020 12:53:08 +0000 (UTC) (envelope-from 010001759877babf-ecf79ea6-31d9-49bf-85c5-b93c2689cb96-000000@amazonses.com) Received: from a48-89.smtp-out.amazonses.com (a48-89.smtp-out.amazonses.com [54.240.48.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRk2q3SWqz4fMT for ; Thu, 5 Nov 2020 12:53:07 +0000 (UTC) (envelope-from 010001759877babf-ecf79ea6-31d9-49bf-85c5-b93c2689cb96-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1604580785; h=Reply-To:To:References:From:Cc:Subject:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=2QOdZ19H8iNLjF+x3yHJUlzezZo0paUJYjzxu4h2MG0=; b=KQHxn7SxJP//VxrlmCP7eemmD01iVxh+ABMz+hR7SUIqFA3bV4z/CzArYrLA3eze 2qnuywGzAj8abt4kvx/PN8mNvkw4sOMtn5I+K/P4/tvDWz3k/+MzI7CgX8V+VbyvBQz A8ytUluiVKruXcar/qJMIAg73yOAAMl31R5hXJtk= Reply-To: lausts@acm.org To: Mateusz Piotrowski <0mp@FreeBSD.org> References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> <974524126.1643642.1604508967098@mail.yahoo.com> <0100017594cd88fb-b5e708e7-8213-4c8e-9446-9b1a28fb2a61-000000@email.amazonses.com> <1520318938.1718710.1604519358758@mail.yahoo.com> From: Thomas Laus Cc: "freebsd-virtualization@freebsd.org" Subject: Re: Using OpenBSD guest as PF firewall Message-ID: <010001759877babf-ecf79ea6-31d9-49bf-85c5-b93c2689cb96-000000@email.amazonses.com> Date: Thu, 5 Nov 2020 12:53:04 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-SES-Outgoing: 2020.11.05-54.240.48.89 Feedback-ID: 1.us-east-1.9pbSdi8VQuDGy3n7CRAr3/hYnLCug78GrsPo0xSgBOs=:AmazonSES X-Rspamd-Queue-Id: 4CRk2q3SWqz4fMT X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=amazonses.com header.s=224i4yxa5dv7c2xz3womw6peuasteono header.b=KQHxn7Sx; dmarc=none; spf=pass (mx1.freebsd.org: domain of 010001759877babf-ecf79ea6-31d9-49bf-85c5-b93c2689cb96-000000@amazonses.com designates 54.240.48.89 as permitted sender) smtp.mailfrom=010001759877babf-ecf79ea6-31d9-49bf-85c5-b93c2689cb96-000000@amazonses.com X-Spamd-Result: default: False [1.30 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[lausts@acm.org]; R_DKIM_ALLOW(-0.20)[amazonses.com:s=224i4yxa5dv7c2xz3womw6peuasteono]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:54.240.0.0/18:c]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; DMARC_NA(0.00)[acm.org]; SPAMHAUS_ZRD(0.00)[54.240.48.89:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[amazonses.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[54.240.48.89:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[lausts@acm.org,010001759877babf-ecf79ea6-31d9-49bf-85c5-b93c2689cb96-000000@amazonses.com]; RCVD_COUNT_ZERO(0.00)[0]; RWL_MAILSPIKE_POSSIBLE(0.00)[54.240.48.89:from]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[54.240.48.89:from]; ASN(0.00)[asn:14618, ipnet:54.240.48.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[lausts@acm.org,010001759877babf-ecf79ea6-31d9-49bf-85c5-b93c2689cb96-000000@amazonses.com]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 12:53:08 -0000 On 11/4/20 4:40 PM, Mateusz Piotrowski wrote: > > Just for the record, the pf version currently available in FreeBSD is > not just an old OpenBSD pf. See the note in the PF chapter in the > handbook (https://www.freebsd.org/doc/handbook/firewalls-pf.html): > > "Warning: > > When reading the PF FAQ, keep in mind that FreeBSD's version of PF has > diverged substantially from the upstream OpenBSD version over the years. > Not all features work the same way on FreeBSD as they do in OpenBSD and > vice versa." > OpenBSD has all it's PF functionality built as part of their standard kernel including traffic shaping queues. Their rule syntax has also been simplified over the version in FreeBSD. I can write a 'pass in' for a port, assign it to a queue, and redirect the output to another port all in one statement. The version in FreeBSD is a little more complicated. FreeBSD's version also requires recompiling the kernel source to activate the queues. Running an OpenBSD firewall front end to a FreeBSD bhyve host has a small overhead of less than 1G of disk and 1G of RAM on a server with 16G of RAM and 1T of disk. OpenBSD uses 'syspatch' for binary upgrades. I would have to recompile the kernel source each time on a FreeBSD host to have bandwidth shaping queues. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF From owner-freebsd-virtualization@freebsd.org Thu Nov 5 14:14:10 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 43626469601 for ; Thu, 5 Nov 2020 14:14:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRlrL1F73z4kKH for ; Thu, 5 Nov 2020 14:14:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2A90B469600; Thu, 5 Nov 2020 14:14:10 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2A576468D7A for ; Thu, 5 Nov 2020 14:14:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRlrL0dQxz4kbL for ; Thu, 5 Nov 2020 14:14:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 08E1815386 for ; Thu, 5 Nov 2020 14:14:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A5EE9l5037174 for ; Thu, 5 Nov 2020 14:14:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A5EE9jj037173 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 14:14:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC. Date: Thu, 05 Nov 2020 14:14:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ali.abdallah@suse.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 14:14:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246121 Ali Abdallah changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ali.abdallah@suse.com --- Comment #18 from Ali Abdallah --- Just for sharing, I'm using also the bhyve_qemu_ext_key_event_msg_fbsd121r.patch from the first time I found it = on the ML on my FreeBSD 12.1 box (which is now running FreeBSD 12.2). It final= ly allows me to use correctly my Italian keyboard layout on my VMs.=20 I have it also on my T495 running 13-current. It would be very nice to incl= ude it in the official repo. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 18:35:05 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B79446E4D0 for ; Thu, 5 Nov 2020 18:35:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRsdP068Dz3GHK for ; Thu, 5 Nov 2020 18:35:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 01D5346E0F1; Thu, 5 Nov 2020 18:35:05 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0198546DF78 for ; Thu, 5 Nov 2020 18:35:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRsdN6XRYz3GFJ for ; Thu, 5 Nov 2020 18:35:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CF6EF1848C for ; Thu, 5 Nov 2020 18:35:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A5IZ4F2018312 for ; Thu, 5 Nov 2020 18:35:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A5IZ4qe018310 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 18:35:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 195819] TSC calibration can hang FreeBSD in Hyper-V Generation 2 VM Date: Thu, 05 Nov 2020 18:35:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: patch, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 18:35:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195819 --- Comment #28 from Li-Wen Hsu --- (In reply to Dexuan Cui from comment #27) Thanks for the explanation. IIUC, the both problems in this and bug 211746 = have been fixed. It just doesn't get final tests. Is anyone able to confirm th= at 12.2-RELEASE and -CURRENT can boot in the Hyper-V Generation-2 VM? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 20:19:49 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 090882D0150 for ; Thu, 5 Nov 2020 20:19:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRvyD6cDtz3M6t for ; Thu, 5 Nov 2020 20:19:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E0F682D014F; Thu, 5 Nov 2020 20:19:48 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E0BF02D014E for ; Thu, 5 Nov 2020 20:19:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRvyD5ryWz3MWR for ; Thu, 5 Nov 2020 20:19:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BBF15197FB for ; Thu, 5 Nov 2020 20:19:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A5KJmh1055785 for ; Thu, 5 Nov 2020 20:19:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A5KJmph055784 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 20:19:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 195819] TSC calibration can hang FreeBSD in Hyper-V Generation 2 VM Date: Thu, 05 Nov 2020 20:19:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: patch, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: decui@microsoft.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 20:19:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195819 --- Comment #29 from Dexuan Cui --- (In reply to Li-Wen Hsu from comment #28) Yes, I believe both the problems are fixed. I just created some Generation-2 32-CPU VMs on 2 different Hyper-V hosts (B= uild 17763, and 20195(internal build)) with these images and all of the VMs boot= ed up successfully: http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/12.2-STABLE/amd64/20= 201105/FreeBSD-12.2-STABLE-amd64-20201105-r367336.vhd.xz http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/13.0-CURRENT/amd64/2= 0201029/FreeBSD-13.0-CURRENT-amd64-20201029-b9403d7aae8.vhd.xz --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 20:52:11 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8B6142D0C8D for ; Thu, 5 Nov 2020 20:52:11 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRwgb2W1Wz3NmD for ; Thu, 5 Nov 2020 20:52:11 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: by mailman.nyi.freebsd.org (Postfix) id 55FF62D0C8C; Thu, 5 Nov 2020 20:52:11 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5488D2D0E01; Thu, 5 Nov 2020 20:52:11 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (mail.norma.perm.ru [128.127.146.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.norma.perm.ru", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRwgW5LBhz3Ndh; Thu, 5 Nov 2020 20:52:07 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from [192.168.243.9] ([192.168.243.9]) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTP id 0A5Kqq2k065035; Fri, 6 Nov 2020 01:52:52 +0500 (+05) (envelope-from emz@norma.perm.ru) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=norma.perm.ru; s=key; t=1604609572; bh=WDieaXhnqVWLBfCNHhRuk2MQ5+/8Krt7CQejpvD2e+Y=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=UgF/e4R8vFmcKW4v7+zzsCAY6A2RcD/70erwCMEsOCpFat0uSBVb43j8GbFfPq2lv qzUxjbWTqKZuzgYY5vLdIN3zrfBXKEia/FYrB9lq6h9Bhrr5m+6g8h4XFiK1N+unZ/ s4VDOf5aBvr0WwnqF9sNOcHgtoaTaZIKeFxHhwR4= Subject: Re: FreeBSD 12.x, virtio and alicloud (aliyun.com) To: freebsd-stable@freebsd.org References: Cc: virtualization@freebsd.org From: "Eugene M. Zheganin" Message-ID: <98cd7866-7d05-6e49-e53b-e8dedf2a1531@norma.perm.ru> Date: Fri, 6 Nov 2020 01:52:03 +0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ru X-Rspamd-Queue-Id: 4CRwgW5LBhz3Ndh X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=norma.perm.ru header.s=key header.b=UgF/e4R8; dmarc=pass (policy=none) header.from=perm.ru; spf=pass (mx1.freebsd.org: domain of emz@norma.perm.ru designates 128.127.146.8 as permitted sender) smtp.mailfrom=emz@norma.perm.ru X-Spamd-Result: default: False [4.28 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.127.146.8:from]; R_DKIM_ALLOW(0.00)[norma.perm.ru:s=key]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(0.00)[+a]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HFILTER_HELO_IP_A(1.00)[elf.hq.norma.perm.ru]; HFILTER_HELO_NORES_A_OR_MX(0.30)[elf.hq.norma.perm.ru]; SPAMHAUS_ZRD(0.00)[128.127.146.8:from:127.0.2.255]; RBL_VIRUSFREE_BOTNET(2.00)[128.127.146.8:from]; NEURAL_SPAM_SHORT(0.98)[0.984]; DKIM_TRACE(0.00)[norma.perm.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[perm.ru,none]; BAD_REP_POLICIES(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:212494, ipnet:128.127.146.0/24, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable,virtualization]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 20:52:11 -0000 Hello. Well, with this patch I'm getting trap immediately on the kernel booting phase: ===Cut=== virtio_pci2:virtqueue 0 (vtnet0-0 rx) does not exists (size is zero) virtio_pci2: cannot allocate virtqueue 0: 19 vtnet0: cannot allocate virtqueues ===Cut=== see the screenshot below: https://enazadev.ru/stub-data/freebsd12-patched-trap.png 05.11.2020 11:06, Cevin пишет: > The problem seems to have been fixed, but the code is still in the review. > For more details, see https://reviews.freebsd.org/D26915#601420 > > Eugene M. Zheganin 于2020年11月5日周四 下午12:35写道: > >> Hello, >> >> >> Guys, does anyone have VM running in AliCloud Chinese provider (one of >> the biggest, if not the biggest one) ? They seem to provide stock >> FreeBSD 11.x images on some Redhat-based Linux with VirtIO which run >> just fine (at least I take a look at their kernel and it seem to be a >> stock GENERIC), but after source uprgading to 12.2 it cannot mountroot, >> because literally no disks are found after thee kernel booting stage. >> This, in turn, is cause by a bunch of repeatable virtio errors, which >> looks like (screenshot provided in the link): >> >> >> virtio_pci1: cannot map I/O space >> >> device_attach: virtio_pci1 attach returned 6 >> >> >> (https://enazadev.ru/stub-data/freebsd12-alicloud-cannot-map-io.png) >> >> So not only vtbd0 cannot be attached to, but also a network adater. >> Surprisingly, virtio_console and memory baloon device seems to be working. >> >> I've took a look at various VirtIO cases in the bug tracker and compiled >> a kernel without netmap (yeah, after some consideration this could help >> only with virtio_net part), but this doesn't help. >> >> Is this some sort of regression that needs to be reported ? Is there >> some kind of known workaround ? >> >> I also have a running 11.3 on a second VM, so I can provide any >> necessary details if needed. >> >> >> Thanks. >> >> Eugene. >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-virtualization@freebsd.org Thu Nov 5 21:46:20 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A7312D1D23 for ; Thu, 5 Nov 2020 21:46:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRxt36hv8z3hPR for ; Thu, 5 Nov 2020 21:46:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E5EB22D1D22; Thu, 5 Nov 2020 21:46:19 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E5B0B2D1E04 for ; Thu, 5 Nov 2020 21:46:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRxt35z19z3hGd for ; Thu, 5 Nov 2020 21:46:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BFD091A253 for ; Thu, 5 Nov 2020 21:46:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A5LkJkD050930 for ; Thu, 5 Nov 2020 21:46:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A5LkJXx050929 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 21:46:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Thu, 05 Nov 2020 21:46:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 21:46:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #11 from Konstantin Belousov --- (In reply to mr.xanto from comment #10) Try with the Diff 79234 from the same review. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 22:06:42 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 173242D1EF5 for ; Thu, 5 Nov 2020 22:06:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRyKY75jmz3jLp for ; Thu, 5 Nov 2020 22:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F38F82D2120; Thu, 5 Nov 2020 22:06:41 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0C9B2D20C5 for ; Thu, 5 Nov 2020 22:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRyKY6Qh7z3jJ3 for ; Thu, 5 Nov 2020 22:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CF8071AD08 for ; Thu, 5 Nov 2020 22:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A5M6f84073666 for ; Thu, 5 Nov 2020 22:06:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A5M6ftJ073665 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 22:06:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC. Date: Thu, 05 Nov 2020 22:06:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 22:06:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246121 --- Comment #19 from Peter Grehan --- There is some activity on VNC (and TigerVNC client perf) in PR 250795 so I think the qemu ext kbd change could drop in when that is done. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 22:26:40 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D79A2D2882 for ; Thu, 5 Nov 2020 22:26:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRymc22GPz3k5V for ; Thu, 5 Nov 2020 22:26:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 45B252D2428; Thu, 5 Nov 2020 22:26:40 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 456A72D2653 for ; Thu, 5 Nov 2020 22:26:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRymc1R6Wz3k5T for ; Thu, 5 Nov 2020 22:26:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 236011AB79 for ; Thu, 5 Nov 2020 22:26:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A5MQeMT094378 for ; Thu, 5 Nov 2020 22:26:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A5MQenK094377 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 22:26:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Thu, 05 Nov 2020 22:26:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crowston@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 22:26:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #12 from Robert Crowston --- With diff 79192 I have the same error on my AMD Ryzen system. The (base + size) <=3D limit check in pci_emul_alloc_resource() fails. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 5 22:55:02 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7C2A92D2FB0 for ; Thu, 5 Nov 2020 22:55:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRzPL2vnYz3lgF for ; Thu, 5 Nov 2020 22:55:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 63CDA2D304E; Thu, 5 Nov 2020 22:55:02 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 639592D2B6F for ; Thu, 5 Nov 2020 22:55:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRzPL2Hbqz3lSr for ; Thu, 5 Nov 2020 22:55:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 40F931B448 for ; Thu, 5 Nov 2020 22:55:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A5Mt2r8026025 for ; Thu, 5 Nov 2020 22:55:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A5Mt22s026024 for virtualization@FreeBSD.org; Thu, 5 Nov 2020 22:55:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Thu, 05 Nov 2020 22:55:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crowston@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 22:55:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #13 from Robert Crowston --- Likewise for 79234 (if I leave the size of the small allocation at 32 MB). Raising it to 256 MB "fixes" the problem. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Nov 6 00:02:16 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0E7F2D4B04 for ; Fri, 6 Nov 2020 00:02:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CS0tw3KXDz3pwW for ; Fri, 6 Nov 2020 00:02:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6F72B2D48A2; Fri, 6 Nov 2020 00:02:16 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6F20D2D485B for ; Fri, 6 Nov 2020 00:02:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CS0tw29Fbz3qGJ for ; Fri, 6 Nov 2020 00:02:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2EDC71C1AB for ; Fri, 6 Nov 2020 00:02:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A602GNP000661 for ; Fri, 6 Nov 2020 00:02:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A602GPS000660 for virtualization@FreeBSD.org; Fri, 6 Nov 2020 00:02:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Fri, 06 Nov 2020 00:02:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 00:02:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #14 from Konstantin Belousov --- (In reply to Robert Crowston from comment #13) Please try Diff 79243. I think I see the issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Nov 6 00:46:18 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ADEFA2D646B for ; Fri, 6 Nov 2020 00:46:18 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CS1sj2ygNz3sph for ; Fri, 6 Nov 2020 00:46:17 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: by mail-wm1-f67.google.com with SMTP id d142so3298059wmd.4 for ; Thu, 05 Nov 2020 16:46:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MC8hRDD3loralQ+oU1rPicN4YLx8WrxeCgt0CmvD3MQ=; b=Tjjb0AMqDmPzJ0lhhKWtvlDXoIk6g8KgxrxrzgoZ8moa0RnDsDJSp1uZtd3b1mDf56 +uH0f2FA/ILSzsFML0ImmFlYYunHmX8yzJt0QXlFHZ0b7W6jjldiPiSuL2DPUd0nIEY5 qGm0g7gB+He1t6XRQwvVeztih/h2IQ25Nvbx0FnKW386JcqILmRKUhFEXMbpiax1dl6p UjUvbOs7ci3ROlT7v0RbfwnXwth5Ger9Y9soIn5UZiJc95WVYtp2XieaQMiqZBIF4s75 qwIbijdesmuDFdLVlsptXZCnCCEc9SUHpPG0wt0YL86OH2Gr4visaoXy/zRBk1vpJ2pD Dppw== X-Gm-Message-State: AOAM5331jGStesrHH4rTh1VK05Xr1VQXZVpRbCYOeZCnqRqdjuwHDIDJ 0WgpR6uueS1MXX2enhHSUfmk+FDCnREK9PCZXPQ= X-Google-Smtp-Source: ABdhPJy8T2WNQxjO0t/wG2XSQxO8wB4YCC02gYNBKFnOEsyz5D/FvKazBI574tUN4nGiOXFeNb0U3qgU+RlnF2PQ0XM= X-Received: by 2002:a1c:61d4:: with SMTP id v203mr5240100wmb.1.1604623575872; Thu, 05 Nov 2020 16:46:15 -0800 (PST) MIME-Version: 1.0 References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> <01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@email.amazonses.com> In-Reply-To: <01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@email.amazonses.com> From: Jason Tubnor Date: Fri, 6 Nov 2020 11:46:04 +1100 Message-ID: Subject: Re: Using OpenBSD guest as PF firewall To: lausts@acm.org Cc: "freebsd-virtualization@freebsd.org" X-Rspamd-Queue-Id: 4CS1sj2ygNz3sph X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jtubnor@gmail.com designates 209.85.128.67 as permitted sender) smtp.mailfrom=jtubnor@gmail.com X-Spamd-Result: default: False [0.46 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.128.67:from]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_SPAM_SHORT(1.00)[0.996]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; ARC_NA(0.00)[]; DMARC_NA(0.00)[tubnor.net]; SPAMHAUS_ZRD(0.00)[209.85.128.67:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.128.67:from]; NEURAL_HAM_MEDIUM(-0.53)[-0.532]; FORGED_SENDER(0.30)[jason@tubnor.net,jtubnor@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.128.67:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[jason@tubnor.net,jtubnor@gmail.com]; MAILMAN_DEST(0.00)[freebsd-virtualization]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 00:46:18 -0000 On Thu, 5 Nov 2020 at 23:40, Thomas Laus wrote: > > My question to this list was how this can be done using vm-bhyve > commands. This 'how-to' showed the traditional scripting method and I > would prefer using the 'vm' commands. The tap0 created as part of the > 'vm switch' utility, is able to make the connection to the OpenBSD guest > 'vio0'. The OpenBSD guest is also able to make the connection to 'tap0' > on the FreeBSD host. The OpenBSD guest has normal internet connections > to the world using the NIC that was passed through. The FreeBSD host is > not able to make any other connections anywhere other than to the > OpenBSD guest. This forum article says it is possible. I just need a > handbook reference or a 'how-to' writeup for doing this using the > vm-bhyve utility. > Review the vm-bhyve man page. You just need to add an option to {guest}.conf file that references the device you are passing through. The section you are looking for is passthruX passthru0=Base/Slot/Function. Cheers, Jason. From owner-freebsd-virtualization@freebsd.org Fri Nov 6 01:10:19 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5AD3A2D7181 for ; Fri, 6 Nov 2020 01:10:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CS2PR1kfVz3vC8 for ; Fri, 6 Nov 2020 01:10:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3B6022D702F; Fri, 6 Nov 2020 01:10:19 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3B2262D7180 for ; Fri, 6 Nov 2020 01:10:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CS2PR17FYz3v98 for ; Fri, 6 Nov 2020 01:10:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 155661CCC0 for ; Fri, 6 Nov 2020 01:10:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A61AIhm070958 for ; Fri, 6 Nov 2020 01:10:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A61AIa3070957 for virtualization@FreeBSD.org; Fri, 6 Nov 2020 01:10:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 195819] TSC calibration can hang FreeBSD in Hyper-V Generation 2 VM Date: Fri, 06 Nov 2020 01:10:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: patch, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 01:10:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195819 Li-Wen Hsu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED --- Comment #30 from Li-Wen Hsu --- (In reply to Dexuan Cui from comment #29) Thanks very much for confirming the fix! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Nov 6 01:29:41 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A96562D75DA for ; Fri, 6 Nov 2020 01:29:41 +0000 (UTC) (envelope-from 010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@amazonses.com) Received: from a48-102.smtp-out.amazonses.com (a48-102.smtp-out.amazonses.com [54.240.48.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CS2qm3x5gz3vv5 for ; Fri, 6 Nov 2020 01:29:40 +0000 (UTC) (envelope-from 010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1604626178; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To:Feedback-ID; bh=vMjoM2wHVc4YcLa56heiQ4wQ3wjvZCvznQ2VA5bncuU=; b=Q4fgoW77sjFBlvGbmNqn/xGb595xNXnAIwmQAsGsdd5wu2Ipm3PD4nZqn2fXHxz8 p5g1XRMt60eqXqjUn6T9fVGp6Bnhs7X9VbkCiHuRHdtfWzHHgXcMJXyhfE84HBTxG78 CJiRoH231JbRF37R+sIMwYL6sVHe2COoG+HYlqnc= Date: Fri, 6 Nov 2020 01:29:38 +0000 From: Thomas Laus To: Jason Tubnor Cc: freebsd-virtualization@freebsd.org Subject: Re: Using OpenBSD guest as PF firewall Message-ID: <010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@email.amazonses.com> References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> <01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@email.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 12.2-RELEASE on an amd64 X-SES-Outgoing: 2020.11.06-54.240.48.102 Feedback-ID: 1.us-east-1.9pbSdi8VQuDGy3n7CRAr3/hYnLCug78GrsPo0xSgBOs=:AmazonSES X-Rspamd-Queue-Id: 4CS2qm3x5gz3vv5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=amazonses.com header.s=224i4yxa5dv7c2xz3womw6peuasteono header.b=Q4fgoW77; dmarc=none; spf=pass (mx1.freebsd.org: domain of 010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@amazonses.com designates 54.240.48.102 as permitted sender) smtp.mailfrom=010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@amazonses.com X-Spamd-Result: default: False [-2.20 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[amazonses.com:s=224i4yxa5dv7c2xz3womw6peuasteono]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:54.240.0.0/18]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[acm.org]; SPAMHAUS_ZRD(0.00)[54.240.48.102:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[amazonses.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[54.240.48.102:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[lausts@acm.org,010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@amazonses.com]; RCVD_COUNT_ZERO(0.00)[0]; RWL_MAILSPIKE_POSSIBLE(0.00)[54.240.48.102:from]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[54.240.48.102:from]; ASN(0.00)[asn:14618, ipnet:54.240.48.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[lausts@acm.org,010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@amazonses.com]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 01:29:41 -0000 Jason Tubnor [jason@tubnor.net] wrote: > On Thu, 5 Nov 2020 at 23:40, Thomas Laus wrote: > > Review the vm-bhyve man page. You just need to add an option to > {guest}.conf file that references the device you are passing through. The > section you are looking for is passthruX > > passthru0=Base/Slot/Function. > I have that entry and passthru is working fine for me. It is only the bridge function that is not working like the Forum article. The 'vm switch tap' creation gives me access to the OpenBSD guest, but I still can't pass internet traffic from the FreeBSD host through the guest OpenBSD PF and then onto the internet. The forum article states that it can be done by using the provided rc.local script. I was asking for vm-bhyve assistance to get the same functionality without resorting to scripting. Auto guest startup and shutdown is a lot cleaner using 'vm' commands. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF From owner-freebsd-virtualization@freebsd.org Fri Nov 6 02:24:25 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6EFA62D8700 for ; Fri, 6 Nov 2020 02:24:25 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CS42w447Jz4S3F for ; Fri, 6 Nov 2020 02:24:24 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id v5so323wmh.1 for ; Thu, 05 Nov 2020 18:24:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vBS+7hdktPaZSHD0GF3MAuzM40YYwD3QZ1VXBf/Jkw8=; b=XcpP6dPMXtHk+WS+0dZhA+mwZzgTNSRqxti3777ncCX2Lnbx8Gv53ktMbCIw+NDxv3 799n8ELLtjKnlg+L86wPbiTHpcnvUQoKvlH6fF2fe5+di1Y0EvzQShiYooetm5iKKU7R SBWQMPp+UZeZGwlHGl8+NCBERzaEjc1l6zwDCfPqV6A1ribR6RsIdFWW4hJ0+LzPuuBh 7HtfiL8GHY1NepXNBaK80mc+MtlQyJ925SBKYcEsR0f1s1pWcKKas0uptrbC91PQudPt I+zFifFCVaBJ+2M3uyLGPb4Zotzjj5IzJTGGHGOq76VQLh2kL39m2uI86rB5E69jQbEv RV9A== X-Gm-Message-State: AOAM530NAS74m1MBQHcnlw6Bjc4/g96LWJNT6X7cpj0xhAbj0PptrfBT eR9srZ8uUx1n//p2zZQMMkajMu6cD74rKwDLDdI= X-Google-Smtp-Source: ABdhPJypYD3boma6gVCXoepmc7oEZeGaeysyj8kZ88AsnDXX+DteUuflaDTq5sf80j6FWQ0oKgQgEb7XJjlYQBv2LjQ= X-Received: by 2002:a1c:6284:: with SMTP id w126mr5732205wmb.145.1604629463129; Thu, 05 Nov 2020 18:24:23 -0800 (PST) MIME-Version: 1.0 References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> <01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@email.amazonses.com> <010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@email.amazonses.com> In-Reply-To: <010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@email.amazonses.com> From: Jason Tubnor Date: Fri, 6 Nov 2020 13:24:11 +1100 Message-ID: Subject: Re: Using OpenBSD guest as PF firewall To: Thomas Laus Cc: "freebsd-virtualization@freebsd.org" X-Rspamd-Queue-Id: 4CS42w447Jz4S3F X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jtubnor@gmail.com designates 209.85.128.48 as permitted sender) smtp.mailfrom=jtubnor@gmail.com X-Spamd-Result: default: False [-1.97 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[tubnor.net]; SPAMHAUS_ZRD(0.00)[209.85.128.48:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.128.48:from]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.128.48:from]; NEURAL_HAM_MEDIUM(-0.98)[-0.976]; FORGED_SENDER(0.30)[jason@tubnor.net,jtubnor@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.128.48:from]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[jason@tubnor.net,jtubnor@gmail.com]; MAILMAN_DEST(0.00)[freebsd-virtualization] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 02:24:25 -0000 On Fri, 6 Nov 2020 at 12:29, Thomas Laus wrote: > > bridge function that is not working like the Forum article. The 'vm > switch tap' creation gives me access to the OpenBSD guest, but I still > can't pass internet traffic from the FreeBSD host through the guest > OpenBSD PF and then onto the internet. The forum article states that it > can be done by using the provided rc.local script. I was asking for You could create a clone (lo) with an IP address, add that as an interface to a vm switch and then guest tap to that vm switch? Cheers, Jason. From owner-freebsd-virtualization@freebsd.org Fri Nov 6 11:51:58 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D6902EC914 for ; Fri, 6 Nov 2020 11:51:58 +0000 (UTC) (envelope-from mr@freebsd.org) Received: from app.eeeit.de (app.eeeit.de [188.68.43.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSJdn4r4Qz3QqX for ; Fri, 6 Nov 2020 11:51:57 +0000 (UTC) (envelope-from mr@freebsd.org) Received: from localhost (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mike@reifenberger.com) by app.eeeit.de (Postfix) with ESMTPSA id 52766108583 for ; Fri, 6 Nov 2020 12:51:50 +0100 (CET) Received: from ipbcc2b3a3.dynamic.kabel-deutschland.de (ipbcc2b3a3.dynamic.kabel-deutschland.de [188.194.179.163]) by app.eeeit.de (Horde Framework) with HTTPS; Fri, 06 Nov 2020 11:51:50 +0000 Date: Fri, 06 Nov 2020 11:51:50 +0000 Message-ID: <20201106115150.Horde.kld5ixhZv-Oan7CNg9WPeX8@app.eeeit.de> From: MR To: freebsd-virtualization@freebsd.org Subject: edk2 port of the tianocore sources User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-Rspamd-Queue-Id: 4CSJdn4r4Qz3QqX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:197540, ipnet:188.68.32.0/20, country:DE]; local_wl_from(0.00)[freebsd.org] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 11:51:58 -0000 Hi, has anyone already ported the edk2 sources of tianocore? I'm trying to adapt the uefi-edk2-bhyve-devel but I'm currently struggling with the git submodules... Thanks in advance. greetings --- Michael -- greetings --- mike mr@freebsd.org From owner-freebsd-virtualization@freebsd.org Fri Nov 6 14:06:51 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34C4A2EFB0A for ; Fri, 6 Nov 2020 14:06:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CSMdR0p3Xz3pvw for ; Fri, 6 Nov 2020 14:06:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1B4D82EF7F3; Fri, 6 Nov 2020 14:06:51 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B15E2EFA0F for ; Fri, 6 Nov 2020 14:06:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSMdR0BD8z3q86 for ; Fri, 6 Nov 2020 14:06:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E99A125EDE for ; Fri, 6 Nov 2020 14:06:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A6E6ow0085953 for ; Fri, 6 Nov 2020 14:06:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A6E6oU8085952 for virtualization@FreeBSD.org; Fri, 6 Nov 2020 14:06:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250795] support RFB 3.3 for VNC client interoperability Date: Fri, 06 Nov 2020 14:06:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marko@apache.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 14:06:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250795 marko@apache.org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #219296|0 |1 is obsolete| | CC| |marko@apache.org --- Comment #6 from marko@apache.org --- Created attachment 219393 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219393&action= =3Dedit svn diff output of the relevant changes; ver2 Here's an updated version of the patch, which includes additional performan= ce fixes. I incorporated Henrik's changes from the pointed diff; the most important performance improvement from there was the fact that the server would not s= end an update until client requests one. I also reduced the amount of memory allocated for CRC buffers. It was compu= ted slightly incorrectly, but ended up allocating 32 times too much memory. Behaviour changes are now that a) support RFB protocol versions 3.3 and 3.7= for authentication, b) don't send first screen until client asks for it c) don't send updates (at all) unless client has asked for it AND we have data to se= nd. I've tested this against tightVNC, realVNC, apple's screen sharing, tigerVN= C, krdc and vinagre. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Nov 6 14:09:47 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E6AE72EF866 for ; Fri, 6 Nov 2020 14:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CSMhq61q1z3pwH for ; Fri, 6 Nov 2020 14:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CE89D2EF865; Fri, 6 Nov 2020 14:09:47 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE4A32EFB91 for ; Fri, 6 Nov 2020 14:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSMhq5Lptz3pwG for ; Fri, 6 Nov 2020 14:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AAD7C26396 for ; Fri, 6 Nov 2020 14:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A6E9lmP088228 for ; Fri, 6 Nov 2020 14:09:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A6E9lW1088227 for virtualization@FreeBSD.org; Fri, 6 Nov 2020 14:09:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Fri, 06 Nov 2020 14:09:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr.xanto@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 14:09:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #15 from mr.xanto@gmail.com --- (In reply to Konstantin Belousov from comment #14) I've applied patch https://pastebin.com/JJ80p7jf FreeBSD guest: root@:~ # pciconf -lvcb hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x00000000 chip=3D0x1275127= 5 rev=3D0x00 hdr=3D0x00 vendor =3D 'Network Appliance Corporation' class =3D bridge subclass =3D HOST-PCI cap 10[40] =3D PCI-Express 2 root port max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) ahci0@pci0:0:3:0: class=3D0x010601 card=3D0x00000000 chip=3D0x2821808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]' class =3D mass storage subclass =3D SATA bar [24] =3D type Memory, range 32, base 0xc0000000, size 1024, enabl= ed cap 05[40] =3D MSI supports 8 messages, 64 bit enabled with 8 messages ahci1@pci0:0:4:0: class=3D0x010601 card=3D0x00000000 chip=3D0x2821808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]' class =3D mass storage subclass =3D SATA bar [24] =3D type Memory, range 32, base 0xc0000400, size 1024, enabl= ed cap 05[40] =3D MSI supports 8 messages, 64 bit enabled with 8 messages virtio_pci0@pci0:0:5:0: class=3D0x020000 card=3D0x00011af4 chip=3D0x10001af= 4 rev=3D0x00 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'Virtio network device' class =3D network subclass =3D ethernet bar [10] =3D type I/O Port, range 32, base 0x2000, size 32, enabled bar [14] =3D type Memory, range 32, base 0xc0002000, size 8192, enabl= ed cap 11[40] =3D MSI-X supports 3 messages, enabled Table in map 0x14[0x0], PBA in map 0x14[0x1000] cap 05[4c] =3D MSI supports 1 message, 64 bit vgapci0@pci0:0:6:0: class=3D0x030000 card=3D0x38991642 chip=3D0x0a6310d= e rev=3D0xa2 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'GT218 [GeForce 310]' class =3D display subclass =3D VGA bar [10] =3D type Memory, range 32, base 0xc1000000, size 16777216, e= nabled bar [14] =3D type Prefetchable Memory, range 64, base 0x800000000, si= ze 268435456, enabled bar [1c] =3D type Prefetchable Memory, range 64, base 0xc2000000, size 33554432, enabled bar [24] =3D type I/O Port, range 32, base 0x2080, size 128, enabled cap 01[60] =3D powerspec 3 supports D0 D3 current D0 cap 05[68] =3D MSI supports 1 message, 64 bit cap 10[78] =3D PCI-Express 2 endpoint max data 128(128) RO NS link x16(x16) speed 2.5(2.5) ASPM disabled(L0s/L1) ClockPM enabled cap 09[b4] =3D vendor (length 20) hdac0@pci0:0:6:1: class=3D0x040300 card=3D0x38991642 chip=3D0x0be310d= e rev=3D0xa1 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'High Definition Audio Controller' class =3D multimedia subclass =3D HDA bar [10] =3D type Memory, range 32, base 0xc4000000, size 16384, enab= led cap 01[60] =3D powerspec 3 supports D0 D3 current D0 cap 05[68] =3D MSI supports 1 message, 64 bit cap 10[78] =3D PCI-Express 2 endpoint max data 128(128) NS link x16(x16) speed 2.5(2.5) ASPM L0s/L1(L0s/L1) ClockPM enabled xhci0@pci0:0:7:0: class=3D0x0c0330 card=3D0x00000000 chip=3D0x1e31808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '7 Series/C210 Series Chipset Family USB xHCI Host Contr= oller' class =3D serial bus subclass =3D USB bar [10] =3D type Memory, range 32, base 0xc4004000, size 4096, enabl= ed cap 05[40] =3D MSI supports 1 message, 64 bit enabled with 1 message isab0@pci0:0:31:0: class=3D0x060100 card=3D0x00000000 chip=3D0x7000808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82371SB PIIX3 ISA [Natoma/Triton II]' class =3D bridge subclass =3D PCI-ISA root@:~ # But Windows 10 guest still won't work: booting [bhyve options: -c 1 -m 3G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U 00dad61d-0d2e-11eb-936d-70f3951447ea -S] [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,ahci,hd:/mnt/Data/vm/win10/disk0.img,cd:/mnt/Data/vm/.iso/virtio-win-0.= 1.189.iso -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:01:00:a8 - s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1 -s 7:0,xhci,tablet] [bhyve console: -l com1,stdio] [bhyve iso device: -s 3:0,ahci-cd,/mnt/Data/vm/.config/null.iso] starting bhyve (run 1) bhyve exited with status 134 Unhandled ps2 keyboard command 0x02 Unhandled ps2 keyboard command 0x02 Assertion failed: (pi->pi_bar[baridx].type =3D=3D PCIBAR_IO), function passthru_write, file /usr/src/usr.sbin/bhyve/pci_passthru.c, line 916. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Nov 6 14:42:33 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4278E4406E0 for ; Fri, 6 Nov 2020 14:42:33 +0000 (UTC) (envelope-from rebecca@bsdio.com) Received: from out03.mta.xmission.com (out03.mta.xmission.com [166.70.13.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSNQc3WTyz3ry5; Fri, 6 Nov 2020 14:42:32 +0000 (UTC) (envelope-from rebecca@bsdio.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=bsdio.com; s=xmission; h=Subject:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Sender:Reply-To:Cc:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=/4YWMs//kOiWX2E6A1rVbCElLZahnLbEOm9WB+RW5w8=; b=HCbQpWHGJDed9mf9CekcOU0NjV elKnw56vcKS4qSlQbuz0sWoSGs3B8/LelEWu6NZAfrKjrGb4QU7HNDAwyATGiM+MvFzIkvmRRKfn0 Q+FQa25SjsFWMjkeml+4hO+h6KNskfrHJo+9Js5pWwTKepkSJGNKCIXlJYokvkT+LdDA=; Received: from in01.mta.xmission.com ([166.70.13.51]) by out03.mta.xmission.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kb2wg-00F04x-0z; Fri, 06 Nov 2020 07:42:30 -0700 Received: from mta4.zcs.xmission.com ([166.70.13.68]) by in01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1kb2wf-0007op-HJ; Fri, 06 Nov 2020 07:42:29 -0700 Received: from localhost (localhost [127.0.0.1]) by mta4.zcs.xmission.com (Postfix) with ESMTP id 687305005FA; Fri, 6 Nov 2020 07:42:29 -0700 (MST) X-Amavis-Modified: Mail body modified (using disclaimer) - mta4.zcs.xmission.com Received: from mta4.zcs.xmission.com ([127.0.0.1]) by localhost (mta4.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id hiHEdf2QC7Im; Fri, 6 Nov 2020 07:42:29 -0700 (MST) Received: from [10.0.10.142] (c-174-52-16-57.hsd1.ut.comcast.net [174.52.16.57]) by mta4.zcs.xmission.com (Postfix) with ESMTPSA id 32D5A5005E8; Fri, 6 Nov 2020 07:42:29 -0700 (MST) To: MR , freebsd-virtualization@freebsd.org References: <20201106115150.Horde.kld5ixhZv-Oan7CNg9WPeX8@app.eeeit.de> From: Rebecca Cran Message-ID: <81edd978-18e5-a42f-3218-43c1a767e949@bsdio.com> Date: Fri, 6 Nov 2020 07:42:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201106115150.Horde.kld5ixhZv-Oan7CNg9WPeX8@app.eeeit.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-XM-SPF: eid=1kb2wf-0007op-HJ; ; ; mid=<81edd978-18e5-a42f-3218-43c1a767e949@bsdio.com>; ; ; hst=in01.mta.xmission.com; ; ; ip=166.70.13.68; ; ; frm=rebecca@bsdio.com; ; ; spf=none X-SA-Exim-Connect-IP: 166.70.13.68 X-SA-Exim-Mail-From: rebecca@bsdio.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa07.xmission.com X-Spam-Level: X-Spam-Status: No, score=-0.1 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,NICE_REPLY_A,T_TM2_M_HEADER_IN_MSG,TooManyTo_001 autolearn=disabled version=3.4.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5021] * 0.3 TooManyTo_001 Multiple "To" Header Recipients 2x (uncommon) * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa07 1397; IP=ok Body=1 Fuz1=1] [Fuz2=1] * -0.3 NICE_REPLY_A Looks like a legit reply (A) X-Spam-DCC: XMission; sa07 1397; IP=ok Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;MR , freebsd-virtualization@freebsd.org X-Spam-Relay-Country: X-Spam-Timing: total 260 ms - load_scoreonly_sql: 0.05 (0.0%), signal_user_changed: 9 (3.4%), b_tie_ro: 8 (2.9%), parse: 1.23 (0.5%), extract_message_metadata: 3.9 (1.5%), get_uri_detail_list: 0.68 (0.3%), tests_pri_-1000: 3.0 (1.2%), tests_pri_-950: 1.40 (0.5%), tests_pri_-900: 1.07 (0.4%), tests_pri_-90: 67 (26.0%), check_bayes: 66 (25.3%), b_tokenize: 4.8 (1.9%), b_tok_get_all: 4.6 (1.8%), b_comp_prob: 1.80 (0.7%), b_tok_touch_all: 51 (19.6%), b_finish: 1.05 (0.4%), tests_pri_0: 158 (60.7%), check_dkim_signature: 0.53 (0.2%), check_dkim_adsp: 27 (10.6%), poll_dns_idle: 20 (7.9%), tests_pri_10: 3.1 (1.2%), tests_pri_500: 9 (3.5%), rewrite_mail: 0.00 (0.0%) Subject: Re: edk2 port of the tianocore sources X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) X-Rspamd-Queue-Id: 4CSNQc3WTyz3ry5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdio.com header.s=xmission header.b=HCbQpWHG; dmarc=none; spf=none (mx1.freebsd.org: domain of rebecca@bsdio.com has no SPF policy when checking 166.70.13.233) smtp.mailfrom=rebecca@bsdio.com X-Spamd-Result: default: False [-2.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; R_DKIM_ALLOW(-0.20)[bsdio.com:s=xmission]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bsdio.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[166.70.13.233:from]; SPAMHAUS_ZRD(0.00)[166.70.13.233:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[174.52.16.57:received]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[bsdio.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6315, ipnet:166.70.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization]; RCVD_IN_DNSWL_LOW(-0.10)[166.70.13.233:from] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 14:42:33 -0000 On 11/6/20 4:51 AM, MR wrote: > Hi, > has anyone already ported the edk2 sources of tianocore? > > I'm trying to adapt the uefi-edk2-bhyve-devel but I'm currently > struggling with the git submodules... Bhyve is upstream, in https://github.com/tianocore/edk2/tree/master/OvmfPkg/Bhyve . It's getting rather outdated though and I need to spend some time updating it. Also, I'm really hoping we can agree to drop the requirement that the port needs CSM support, in which case I can update uefi-edk2-bhyve to use the TianoCore version. -- Rebecca Cran From owner-freebsd-virtualization@freebsd.org Fri Nov 6 16:26:59 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EA93E442021 for ; Fri, 6 Nov 2020 16:26:59 +0000 (UTC) (envelope-from mr@freebsd.org) Received: from app.eeeit.de (app.eeeit.de [188.68.43.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSQl74260z4Sm9 for ; Fri, 6 Nov 2020 16:26:59 +0000 (UTC) (envelope-from mr@freebsd.org) Received: from localhost (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mike@reifenberger.com) by app.eeeit.de (Postfix) with ESMTPSA id 6EEBF109D94; Fri, 6 Nov 2020 17:26:57 +0100 (CET) Received: from ipbcc2b3a3.dynamic.kabel-deutschland.de (ipbcc2b3a3.dynamic.kabel-deutschland.de [188.194.179.163]) by app.eeeit.de (Horde Framework) with HTTPS; Fri, 06 Nov 2020 16:26:57 +0000 Date: Fri, 06 Nov 2020 16:26:57 +0000 Message-ID: <20201106162657.Horde.tSuiVD8yFbKXT-w7KFDrP--@app.eeeit.de> From: MR To: Rebecca Cran Cc: freebsd-virtualization@freebsd.org Subject: Re: edk2 port of the tianocore sources References: <20201106115150.Horde.kld5ixhZv-Oan7CNg9WPeX8@app.eeeit.de> <81edd978-18e5-a42f-3218-43c1a767e949@bsdio.com> In-Reply-To: <81edd978-18e5-a42f-3218-43c1a767e949@bsdio.com> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-Rspamd-Queue-Id: 4CSQl74260z4Sm9 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:197540, ipnet:188.68.32.0/20, country:DE] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 16:27:00 -0000 Hi Rebecca, Zitat von Rebecca Cran : > On 11/6/20 4:51 AM, MR wrote: > >> Hi, >> has anyone already ported the edk2 sources of tianocore? >> >> I'm trying to adapt the uefi-edk2-bhyve-devel but I'm currently >> struggling with the git submodules... > > > Bhyve is upstream, in > https://github.com/tianocore/edk2/tree/master/OvmfPkg/Bhyve . It's > getting rather outdated though and I need to spend some time > updating it. > > > Also, I'm really hoping we can agree to drop the requirement that > the port needs CSM support, in which case I can update > uefi-edk2-bhyve to use the TianoCore version. > As it is now the ports would be deleted anyway due to python 2.7 dependency. So I would suggest to update it without CSM support for now and work on it later on. Greetings --- Michael -- greetings --- mike mr@freebsd.org From owner-freebsd-virtualization@freebsd.org Fri Nov 6 16:56:55 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 20221443856; Fri, 6 Nov 2020 16:56:55 +0000 (UTC) (envelope-from andrei.cos.martin@gmail.com) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSRPf2jDJz4VSc; Fri, 6 Nov 2020 16:56:54 +0000 (UTC) (envelope-from andrei.cos.martin@gmail.com) Received: by mail-ed1-x52f.google.com with SMTP id e18so1964161edy.6; Fri, 06 Nov 2020 08:56:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=8It0Iws1KmFR+ocdnM7v8Lq9H2QNxnEj09+rd0DfcOM=; b=CQggjE2Irg2k48mORyAI1/NBrXmWGxZooFTd8UV2FhKS6D8Y4Mu5nXJSZYmcftHN0j NezNY0nx5b7GFVG/faVJBtlKZzwvuVQfT80WqgoY9euElRVXWhbPPVU1BZ4H99XcHlZ3 lUjch76JX4NUh914tqVHRaXUEoj6/l4jvnByHpo7kfklJVbulg7egjM7PiT5NF3SV+sd XzN6TLA7DqnK/EO0ApHlzW5e6Ll24OlaHNakKqfWSQtw5Yjk57TJxvWpTPB+vuFU+1Vs w2kY2rDClsw40rFFbOWMQc/u5+zGxrkevLaY7bsBThYq76f1dI2rATMK9s5Oai+agX44 Qw3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=8It0Iws1KmFR+ocdnM7v8Lq9H2QNxnEj09+rd0DfcOM=; b=cQIQ6UnDFsHZHwC/4dZ7LanfgiMIl1dJ0gYn0skoQeBUr8WrHjRNDgVvnqemVoMc5f FwCZZqfm3j88jBubPEuu9teUkFjpLLMul/VF7+v+6R0kkzrS1PNUCLzfNJ+fSKhME0zK vEdQqBH08aLO0kuoduN+vb/jnfSmcoUVwc5aE8mWvW7aJDkq/9Mmh1l5/xmfcPkrkIWM L6uFjTcUk9KVoXxSoPXuE1vMxpJUQuyNGr6A6db6n0Du4q8dzh+KV/lJcN/uHUUQrX4n 9jpaJ+6ij5obV8YW1po91OmNWaB/YfWUBISitsE3OvvJRrBN/2p7epzscoIY3bs07lV1 n5Kw== X-Gm-Message-State: AOAM533jAq5H/QNlZ/ZrIZdLVujWVLTwXoPYW9bMm333FgT77n/JwnOJ Qs9c0LWqponiB/gUMPY73kHYFUyRb6FMmQ== X-Google-Smtp-Source: ABdhPJzd1T0sYFyBlEyDv4B9bchLQ8Kh3p5DNf4JXJdvaYGlDWpThrboby34rhIaF3vDpTAncvEk7g== X-Received: by 2002:aa7:da44:: with SMTP id w4mr3004168eds.131.1604681811843; Fri, 06 Nov 2020 08:56:51 -0800 (PST) Received: from [192.168.0.115] ([31.5.53.36]) by smtp.gmail.com with ESMTPSA id h24sm1405099ejk.31.2020.11.06.08.56.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Nov 2020 08:56:51 -0800 (PST) From: Andrei Martin Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: [arm64][bhyve] Hypervisor implementation proposal Message-Id: <92471791-E6DC-47E4-9124-79558DDCA7D0@gmail.com> Date: Fri, 6 Nov 2020 18:56:49 +0200 To: freebsd-virtualization@freebsd.org, freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 4CSRPf2jDJz4VSc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CQggjE2I; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of andreicosmartin@gmail.com designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=andreicosmartin@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[31.5.53.36:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::52f:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::52f:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52f:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization,freebsd-arm] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 16:56:55 -0000 Hello, The UPB team made a revision for the bhyve on arm/arm64 on phabricator[1]. Any feedback is greatly appreciated. [1] https://reviews.freebsd.org/D26976 Thanks, Andrei From owner-freebsd-virtualization@freebsd.org Fri Nov 6 17:01:13 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A24A6443C29 for ; Fri, 6 Nov 2020 17:01:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CSRVd422Bz4VWg for ; Fri, 6 Nov 2020 17:01:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8A43D443976; Fri, 6 Nov 2020 17:01:13 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A102443D80 for ; Fri, 6 Nov 2020 17:01:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSRVd3RNwz4VwY for ; Fri, 6 Nov 2020 17:01:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 693ED28507 for ; Fri, 6 Nov 2020 17:01:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A6H1DQk078913 for ; Fri, 6 Nov 2020 17:01:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A6H1DHl078912 for virtualization@FreeBSD.org; Fri, 6 Nov 2020 17:01:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Fri, 06 Nov 2020 17:01:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 17:01:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #16 from Konstantin Belousov --- (In reply to mr.xanto from comment #15) Can you install sysutils/x86info and paste the output of 'x86info -a' there, please ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Nov 6 17:46:10 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8FC8B44517B for ; Fri, 6 Nov 2020 17:46:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CSSVV3Tp9z4Y3C for ; Fri, 6 Nov 2020 17:46:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 75A72445179; Fri, 6 Nov 2020 17:46:10 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 75625444E71 for ; Fri, 6 Nov 2020 17:46:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSSVV2l4Kz4YB5 for ; Fri, 6 Nov 2020 17:46:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 50F1728C30 for ; Fri, 6 Nov 2020 17:46:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A6HkAw4027978 for ; Fri, 6 Nov 2020 17:46:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A6HkAfZ027977 for virtualization@FreeBSD.org; Fri, 6 Nov 2020 17:46:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Fri, 06 Nov 2020 17:46:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 17:46:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #17 from Konstantin Belousov --- (In reply to Konstantin Belousov from comment #16) Also I assume that vm itself should be around after the bhyve process terminated. Paste the output from 'bhyvectl --vm=3D --get-all' --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Nov 6 19:25:40 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 62B4B447AAB for ; Fri, 6 Nov 2020 19:25:40 +0000 (UTC) (envelope-from 010001759f0579e5-9d7d33c4-ac14-4f53-baf9-de548f7adbd0-000000@amazonses.com) Received: from a48-106.smtp-out.amazonses.com (a48-106.smtp-out.amazonses.com [54.240.48.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSVjH44Bdz4fCl for ; Fri, 6 Nov 2020 19:25:39 +0000 (UTC) (envelope-from 010001759f0579e5-9d7d33c4-ac14-4f53-baf9-de548f7adbd0-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1604690737; h=Reply-To:To:References:Cc:From:Subject:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=a5mlrcLU/EXJaIEIKuABv+s+zzHTkHxJ58oeaEMHOBk=; b=iUTZBjC7DZiq7YrXE2dF6tHZnUzQKGw9JRm0rVeNzNqiH1xoEvMEFZhzi+xJ7Iiv o7MFqVfpyVzPFfcokAET1Lvry3JXjYWaM1cxI+/Jb+S1/WAoZ+7ftQcvlPs7yW/iEjA zSWv64Kk6cANkiJGg4aRWE3i2bJokvaqgxNCaPWo= Reply-To: lausts@acm.org To: Jason Tubnor References: <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> <01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@email.amazonses.com> <010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@email.amazonses.com> Cc: "freebsd-virtualization@freebsd.org" From: Thomas Laus Subject: Re: Using OpenBSD guest as PF firewall Message-ID: <010001759f0579e5-9d7d33c4-ac14-4f53-baf9-de548f7adbd0-000000@email.amazonses.com> Date: Fri, 6 Nov 2020 19:25:37 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-SES-Outgoing: 2020.11.06-54.240.48.106 Feedback-ID: 1.us-east-1.9pbSdi8VQuDGy3n7CRAr3/hYnLCug78GrsPo0xSgBOs=:AmazonSES X-Rspamd-Queue-Id: 4CSVjH44Bdz4fCl X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=amazonses.com header.s=224i4yxa5dv7c2xz3womw6peuasteono header.b=iUTZBjC7; dmarc=none; spf=pass (mx1.freebsd.org: domain of 010001759f0579e5-9d7d33c4-ac14-4f53-baf9-de548f7adbd0-000000@amazonses.com designates 54.240.48.106 as permitted sender) smtp.mailfrom=010001759f0579e5-9d7d33c4-ac14-4f53-baf9-de548f7adbd0-000000@amazonses.com X-Spamd-Result: default: False [0.30 / 15.00]; HAS_REPLYTO(0.00)[lausts@acm.org]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:54.240.0.0/18]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DKIM_TRACE(0.00)[amazonses.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[lausts@acm.org,010001759f0579e5-9d7d33c4-ac14-4f53-baf9-de548f7adbd0-000000@amazonses.com]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[54.240.48.106:from]; ASN(0.00)[asn:14618, ipnet:54.240.48.0/23, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_NEQ_ENVFROM(0.00)[lausts@acm.org,010001759f0579e5-9d7d33c4-ac14-4f53-baf9-de548f7adbd0-000000@amazonses.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[amazonses.com:s=224i4yxa5dv7c2xz3womw6peuasteono]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[acm.org]; SPAMHAUS_ZRD(0.00)[54.240.48.106:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[54.240.48.106:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[54.240.48.106:from]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 19:25:40 -0000 On 11/5/20 9:24 PM, Jason Tubnor wrote: > > You could create a clone (lo) with an IP address, add that as an > interface to a vm switch and then guest tap to that vm switch? >I ended up getting this all to function by removing bridge 'public' created by the vm-bhyve utility and manually making the loader.conf and rc.conf changes listed in the forum article. My loader.conf: vmm_load="YES" if_tap_load="YES" if_bridge_load="YES" pptdevs=2/0/0 I edited my rc.conf and added: cloned_interfaces="bridge0" ifconfig_bridge0="inet 172.16.1.2 netmask 255.255.255.0" defaultrouter="176.16.1.1" gateway_enable-"YES" The OpenBSD guest has a vio0 address set to 172.16.1.1 in hostname.vio0. The OpenBSD guest sees the host motherboard NIC that is passed through and is properly configured through DHCP. The only hiccup is that I can't enable the tap0 interface in the host /etc/rc.conf because the OpenBSD takes 35 seconds to boot and vio0 on that end is not visible until the boot process has been completed. I made a script for /usr/local/etc/rc.d on the host to add tap0 to bridge0. It errors out during the host boot process, but runs fine when getting a 'onestart' after the host is booted. I have already tried adding a 'sleep 40' to the start of the script without success. I now have a 'mostly' operational OpenBSD PF guest for my FreeBSD host. Thanks for the help and a few pointers to the right direction. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF From owner-freebsd-virtualization@freebsd.org Fri Nov 6 20:15:55 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 644422D0AC0 for ; Fri, 6 Nov 2020 20:15:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CSWqH2D1Sz4j2Y for ; Fri, 6 Nov 2020 20:15:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4A2E82D0ABF; Fri, 6 Nov 2020 20:15:55 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 49F542D0E0D for ; Fri, 6 Nov 2020 20:15:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSWqH1bQrz4j19 for ; Fri, 6 Nov 2020 20:15:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 29CD92A99D for ; Fri, 6 Nov 2020 20:15:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A6KFtH4017418 for ; Fri, 6 Nov 2020 20:15:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A6KFtfi017417 for virtualization@FreeBSD.org; Fri, 6 Nov 2020 20:15:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Fri, 06 Nov 2020 20:15:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr.xanto@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 20:15:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #18 from mr.xanto@gmail.com --- (In reply to Konstantin Belousov from comment #16) x86info output: https://pastebin.com/LAkTvc9G (In reply to Konstantin Belousov from comment #17) As I understand, bhyvectl --get-all output will be different in different times, one output: https://pastebin.com/wdV6dJ3v --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Nov 6 20:57:15 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9FD642D22BC for ; Fri, 6 Nov 2020 20:57:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CSXkz3qBsz4lVy for ; Fri, 6 Nov 2020 20:57:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 830BC2D21BF; Fri, 6 Nov 2020 20:57:15 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 82D142D22BB for ; Fri, 6 Nov 2020 20:57:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSXkz37T4z4lgv for ; Fri, 6 Nov 2020 20:57:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E96D2B0E5 for ; Fri, 6 Nov 2020 20:57:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A6KvFZh063188 for ; Fri, 6 Nov 2020 20:57:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A6KvFwS063187 for virtualization@FreeBSD.org; Fri, 6 Nov 2020 20:57:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Fri, 06 Nov 2020 20:57:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 20:57:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #19 from Konstantin Belousov --- (In reply to mr.xanto from comment #18) The output from bhyvectl --get-all should be stable after bhyve process aborted, since VM is stopped and there is nobody who would direct it to continue execution. Was your paste obtained this way ? Because 'exit_reason[0] 0x1' means that VMX was exited due to external interrupts, from what I understand. It should not result in bhyve usermode emulating B= AR access. So it is strange at least. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 11:51:10 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C31B22ED529 for ; Sat, 7 Nov 2020 11:51:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CSwZQ4vShz4kGL for ; Sat, 7 Nov 2020 11:51:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A66182ED528; Sat, 7 Nov 2020 11:51:10 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A623D2ED587 for ; Sat, 7 Nov 2020 11:51:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSwZQ4FjLz4kNh for ; Sat, 7 Nov 2020 11:51:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8519C5F59 for ; Sat, 7 Nov 2020 11:51:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7BpAKs094039 for ; Sat, 7 Nov 2020 11:51:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7BpAYD094038 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 11:51:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 11:51:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr.xanto@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 11:51:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #20 from mr.xanto@gmail.com --- (In reply to Konstantin Belousov from comment #19) I mean, that when bhyve process is aborted, bhyvectl return "VM: is n= ot created. I've wrote stupid script for get bhyvectl message before start and after cl= ose vm: #!/bin/sh echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D" >> /mnt/Data/vm/win10/get.log date +"%Y.%m.%d - %X" >> /mnt/Data/vm/win10/get.log bhyvectl --vm=3Dwin10 --get-all >> /mnt/Data/vm/win10/get.log echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D" >> /mnt/Data/vm/win10/get.log vm start win10 sleep 1 while pgrep bhyve >/dev/null; do date +"%Y.%m.%d - %X" >> /mnt/Data/vm/win10/get.log bhyvectl --vm=3Dwin10 --get-all >> /mnt/Data/vm/win10/get.log echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D" >> /mnt/Data/vm/win10/get.log sleep 0.1 done sleep 1 date +"%Y.%m.%d - %X" >> /mnt/Data/vm/win10/get.log bhyvectl --vm=3Dwin10 --get-all >> /mnt/Data/vm/win10/get.log echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D" >> /mnt/Data/vm/win10/get.log Result of work this script I've placed at https://yadi.sk/d/Xn3AFSoW_wDdRA bhyve log: Unhandled ps2 keyboard command 0x02 Unhandled ps2 keyboard command 0x02 Assertion failed: (pi->pi_bar[baridx].type =3D=3D PCIBAR_IO), function passthru_write, file /usr/src/usr.sbin/bhyve/pci_passthru.c, line 916. bhyve options: Nov 07 14:32:42: booting Nov 07 14:32:42: [bhyve options: -c 1 -m 3G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U 00dad61d-0d2e-11eb-936d-70f3951447ea -S] Nov 07 14:32:42: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,ahci,hd:/mnt/Data/vm/win10/disk0.img -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:01:00:a8 -s 6:0,passthru,1/0 /0 -s 6:1,passthru,1/0/1] Nov 07 14:32:42: [bhyve console: -l com1,stdio] Nov 07 14:32:42: [bhyve iso device: -s 3:0,ahci-cd,/mnt/Data/vm/.config/null.iso] Nov 07 14:32:42: starting bhyve (run 1) Nov 07 14:33:40: bhyve exited with status 0 Nov 07 14:33:40: restarting Nov 07 14:33:40: [bhyve options: -c 1 -m 3G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U 00dad61d-0d2e-11eb-936d-70f3951447ea -S] Nov 07 14:33:40: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,ahci,hd:/mnt/Data/vm/win10/disk0.img -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:01:00:a8 -s 6:0,passthru,1/0 /0 -s 6:1,passthru,1/0/1] Nov 07 14:33:40: [bhyve console: -l com1,stdio] Nov 07 14:33:40: [bhyve iso device: -s 3:0,ahci-cd,/mnt/Data/vm/.config/null.iso] Nov 07 14:33:40: starting bhyve (run 2) Nov 07 14:34:15: bhyve exited with status 134 Some explanations: first start of Windows guest after crash will be in diagnostic mode, and because I don't have console access to VM (as I understand, GPU pass through not compatible with "fbuf" options), then I've reset VM and when VM load, bhyve exited. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 14:07:38 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E844C460F81 for ; Sat, 7 Nov 2020 14:07:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CSzbt63ZKz4rYW for ; Sat, 7 Nov 2020 14:07:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CE22D2EFFF9; Sat, 7 Nov 2020 14:07:38 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CDE84460DB5 for ; Sat, 7 Nov 2020 14:07:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSzbt55pwz4rQs for ; Sat, 7 Nov 2020 14:07:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D8647752 for ; Sat, 7 Nov 2020 14:07:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7E7cxq071422 for ; Sat, 7 Nov 2020 14:07:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7E7cOK071421 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 14:07:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250924] Bhyve AHCI disk controller regression due to r364334 Date: Sat, 07 Nov 2020 14:07:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@gulag.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 14:07:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250924 Bug ID: 250924 Summary: Bhyve AHCI disk controller regression due to r364334 Product: Base System Version: 12.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: freebsd@gulag.ch Created attachment 219426 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219426&action= =3Dedit diff patch against r364334 Since https://svnweb.freebsd.org/base?view=3Drevision&revision=3D364334 Sol= aris and Illumos guests are no longer able to detect the Bhyve AHCI disk controller = and the following error is reported: --- SATA disk device at port X does not support UDMA --- https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/common/io/s= ata/impl/sata.c#L12752 The culprit seems to be the missing ATA flag 88 at offset 53 in the paramet= er buffer and this flag is indeed no longer set in 12.2-p0: RELEASE-12.1: buf[53] =3D (1 << 1 | 1 << 2); RELEASE-12.2: ata_ident->atavalid =3D (ATA_FLAG_54_58 | ATA_FLAG_64_70) sys/sys/ata.h: #define ATA_FLAG_54_58 0x0001 /* words 54-58 valid */ #define ATA_FLAG_64_70 0x0002 /* words 64-70 valid */ #define ATA_FLAG_88 0x0004 /* word 88 valid */ --- Setting the old parameters solves the problem (at least for Solaris/Illumos= ): ata_ident->atavalid =3D (ATA_FLAG_64_70 | ATA_FLAG_88) The attached patch reverts these parameters and thus restores the old behav= iour for both controllers (disk and cdrom). The question is whether this change is intentional or simply a bug. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 14:56:58 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 561B9461C49 for ; Sat, 7 Nov 2020 14:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CT0hp1p81z4tdS for ; Sat, 7 Nov 2020 14:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3C0B2461D8D; Sat, 7 Nov 2020 14:56:58 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3BD45461D8B for ; Sat, 7 Nov 2020 14:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CT0hp19JWz4tVK for ; Sat, 7 Nov 2020 14:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1B5A5104E4 for ; Sat, 7 Nov 2020 14:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7EuvqH028485 for ; Sat, 7 Nov 2020 14:56:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7EuvcQ028484 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 14:56:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 14:56:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crowston@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 14:56:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #21 from Robert Crowston --- With the latest patches I now get a failure at the vm_map_pptdev_mmio() cal= l. (gdb)=20 597 error =3D vm_map_pptdev_mmio(ctx, sc->psc_sel.pc_bus, =3D> 0x000000000023d178 : 41 0f b6 b4 24 ac 00 00 0= 0=20=20=20=20=20 movzbl 0xac(%r12),%esi (gdb) p/x *sc=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 $14 =3D {psc_pi =3D 0x800ad4a00, psc_bar =3D {{type =3D 0x2, size =3D 0x100= 0000, addr =3D 0xf5000000}, {type =3D 0x3, size =3D 0x8000000, addr =3D 0xe0000000}, {type= =3D 0x0, size =3D 0x0, addr =3D 0x0},=20 {type =3D 0x0, size =3D 0x0, addr =3D 0x0}, {type =3D 0x0, size =3D 0x0= , addr =3D 0x0}, {type =3D 0x0, size =3D 0x0, addr =3D 0x0}}, psc_msi =3D {capoff =3D 0x68, = msgctrl =3D 0x80, emulated =3D 0x0},=20 psc_msix =3D {capoff =3D 0x0}, psc_sel =3D {pc_domain =3D 0x0, pc_bus =3D= 0x7, pc_dev =3D 0x0, pc_func =3D 0x0}} (gdb) p i $15 =3D 1 (gdb) p/x pi->pi_bar[1] $16 =3D {type =3D 0x3, size =3D 0x8000000, addr =3D 0x800000000000} --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 18:39:29 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 310A9466C3B for ; Sat, 7 Nov 2020 18:39:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CT5dY0glRz3QHs for ; Sat, 7 Nov 2020 18:39:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 17246466BBC; Sat, 7 Nov 2020 18:39:29 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 16EBE466D32 for ; Sat, 7 Nov 2020 18:39:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CT5dY04xZz3QHr for ; Sat, 7 Nov 2020 18:39:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EA3C7130A9 for ; Sat, 7 Nov 2020 18:39:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7IdS8f081027 for ; Sat, 7 Nov 2020 18:39:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7IdSN3081026 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 18:39:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 18:39:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 18:39:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #22 from Konstantin Belousov --- (In reply to mr.xanto from comment #20) Ok, do the following. Start your bhyve command under gdb. Like this: /usr/local/bin/gdb /usr/sbin/bhyve (gdb) set args ... (gdb) run Now on assert the process should stop in debugger instead of terminating, and hopefully bhyvectl would find still alive VM. (In reply to Robert Crowston from comment #21) What exactly is the 'failure' ? Is it SIGSEGV, other signal, error returned from ioctl, etc ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 20:27:45 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 45F332D0FBB for ; Sat, 7 Nov 2020 20:27:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CT82T1K62z3mKS for ; Sat, 7 Nov 2020 20:27:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2B4F92D11B2; Sat, 7 Nov 2020 20:27:45 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 29F382D1054 for ; Sat, 7 Nov 2020 20:27:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CT82S74wvz3mSb for ; Sat, 7 Nov 2020 20:27:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E1F931426F for ; Sat, 7 Nov 2020 20:27:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7KRi6a024417 for ; Sat, 7 Nov 2020 20:27:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7KRihU024416 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 20:27:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 20:27:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crowston@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 20:27:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #23 from Robert Crowston --- (In reply to Konstantin Belousov from comment #22) The ioctl fails with ENOMEM.=20 (gdb) c Continuing. bhyve: failed to initialize BARs for PCI 7/0/0 device emulation initialization error: Cannot allocate memory [LWP 102417 of process 27361 exited] [LWP 102535 of process 27361 exited] [LWP 102530 of process 27361 exited] [LWP 102534 of process 27361 exited] [LWP 102528 of process 27361 exited] [LWP 102533 of process 27361 exited] [LWP 102536 of process 27361 exited] [LWP 102537 of process 27361 exited] [LWP 102538 of process 27361 exited] [Inferior 1 (process 27361) exited with code 04] vm_map_pptdev_mmio() is called with (ctx=3D0x800299040, bus=3D7, slot=3D0, = func=3D0,=20 gpa=3D140737488355328, len=3D134217728, hpa=3D3758096384). I don't have a kernel debugger set up, but it looks like ENOMEM can only ha= ppen if vm_pager_allocate() fails. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 20:36:24 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 601082D1336 for ; Sat, 7 Nov 2020 20:36:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CT8DS1xGmz3mjN for ; Sat, 7 Nov 2020 20:36:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4030D2D15A2; Sat, 7 Nov 2020 20:36:24 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3ED0F2D13A6 for ; Sat, 7 Nov 2020 20:36:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CT8DS106Yz3mjM for ; Sat, 7 Nov 2020 20:36:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 150C11472C for ; Sat, 7 Nov 2020 20:36:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7KaNo0036505 for ; Sat, 7 Nov 2020 20:36:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7KaNow036504 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 20:36:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 20:36:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crowston@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 20:36:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #24 from Robert Crowston --- Correction: ENOMEM can also happen if vm_map_find() fails [which seems more likely given that vm_pager_allocate() in vmm_mmio_alloc() is not a function= of the gpa]. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 20:42:34 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3C0312D1376 for ; Sat, 7 Nov 2020 20:42:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CT8MZ12wxz3nHw for ; Sat, 7 Nov 2020 20:42:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 23DAA2D1802; Sat, 7 Nov 2020 20:42:34 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 23A3A2D170D for ; Sat, 7 Nov 2020 20:42:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CT8MZ0Rxgz3n8W for ; Sat, 7 Nov 2020 20:42:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0290B14A18 for ; Sat, 7 Nov 2020 20:42:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7KgXTx043738 for ; Sat, 7 Nov 2020 20:42:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7KgXIV043737 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 20:42:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 20:42:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mr.xanto@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 20:42:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #25 from mr.xanto@gmail.com --- (In reply to Konstantin Belousov from comment #22) (gdb) run Starting program: /usr/sbin/bhyve -c 1 -m 3G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U 00dad61d-0d2e-11eb-936d-70f3951447ea -S -s 0,hostbridge -s 31,lpc -s 4:0,ahci,hd:/mnt/Data/vm/win10/disk0.img -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:01:00:a8 -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1 win10 [New LWP 101371 of process 48097] [New LWP 101372 of process 48097] [New LWP 101373 of process 48097] [New LWP 101374 of process 48097] [New LWP 101375 of process 48097] [New LWP 101376 of process 48097] [New LWP 101377 of process 48097] [New LWP 101378 of process 48097] [New LWP 101379 of process 48097] [New LWP 101380 of process 48097] Unhandled ps2 keyboard command 0x02 Unhandled ps2 keyboard command 0x02 Assertion failed: (pi->pi_bar[baridx].type =3D=3D PCIBAR_IO), function passthru_write, file /usr/src/usr.sbin/bhyve/pci_passthru.c, line 916. Thread 11 "vcpu 0" received signal SIGABRT, Aborted. [Switching to LWP 101380 of process 48097] 0x000000080080aafa in thr_kill () from /lib/libc.so.7 (gdb) # bhyvectl --vm=3Dwin10 --get-all https://pastebin.com/77mgyp9Q --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 21:21:24 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 374C42D2228 for ; Sat, 7 Nov 2020 21:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CT9DN0v0yz3prw for ; Sat, 7 Nov 2020 21:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1E7F42D2227; Sat, 7 Nov 2020 21:21:24 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1E4202D23A6 for ; Sat, 7 Nov 2020 21:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CT9DN0JkMz3prv for ; Sat, 7 Nov 2020 21:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F1D3E1519E for ; Sat, 7 Nov 2020 21:21:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7LLNb2086178 for ; Sat, 7 Nov 2020 21:21:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7LLNk0086177 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 21:21:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 21:21:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 21:21:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #26 from Konstantin Belousov --- (In reply to Robert Crowston from comment #24) Please try Diff 79310 from the review. I assume you are on HEAD. If you use stable/12. then replace VM_MAXUSER_ADDRESS_LA47 with VM_MAXUSER_ADDRESS. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 21:46:38 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5CC8F2D244C for ; Sat, 7 Nov 2020 21:46:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CT9nR4tWzz3qWk for ; Sat, 7 Nov 2020 21:46:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8CADB2D244B; Sat, 7 Nov 2020 21:46:34 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 82FD22D244A for ; Sat, 7 Nov 2020 21:46:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CT9nQ1PNKz3qh9 for ; Sat, 7 Nov 2020 21:46:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E11B21552D for ; Sat, 7 Nov 2020 21:46:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7LkXG9016482 for ; Sat, 7 Nov 2020 21:46:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7LkXeT016481 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 21:46:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 21:46:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crowston@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 21:46:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #27 from Robert Crowston --- (In reply to Konstantin Belousov from comment #26) I am on stable/12, so I added if (cpu_maxphysaddr > VM_MAXUSER_ADDRESS) cpu_maxphysaddr =3D VM_MAXUSER_ADDRESS; (I also needed #include and #include .) Now I am back to the original error: wrmsr to register 0xc0011029(0x3) on vcpu 0 rdmsr to register 0xc00000e9 on vcpu 0 Unhandled ps2 mouse command 0xe1 Unhandled ps2 mouse command 0x88 Assertion failed: (pi->pi_bar[baridx].type =3D=3D PCIBAR_IO), function passthru_write, file /usr/src/usr.sbin/bhyve/pci_passthru.c, line 916. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 21:49:28 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 389AD2D2B8E for ; Sat, 7 Nov 2020 21:49:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CT9rm0wk5z3r5H for ; Sat, 7 Nov 2020 21:49:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1FB662D2B8D; Sat, 7 Nov 2020 21:49:28 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1F7F62D2A38 for ; Sat, 7 Nov 2020 21:49:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CT9rm0KKWz3qvZ for ; Sat, 7 Nov 2020 21:49:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F1168156A3 for ; Sat, 7 Nov 2020 21:49:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7LnROl019029 for ; Sat, 7 Nov 2020 21:49:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7LnRd1019028 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 21:49:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 21:49:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crowston@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 21:49:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #28 from Robert Crowston --- (Sorry, I see there are more changes than just those two lines. I will apply the diff again from stable/12 to ensure there is no confusion.) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 22:08:34 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2C0462D2FC9 for ; Sat, 7 Nov 2020 22:08:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CTBGp0VXcz3rsy for ; Sat, 7 Nov 2020 22:08:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0F2C22D3096; Sat, 7 Nov 2020 22:08:34 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0EE7E2D3095 for ; Sat, 7 Nov 2020 22:08:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CTBGn6xJxz3rvp for ; Sat, 7 Nov 2020 22:08:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E0FDD1584A for ; Sat, 7 Nov 2020 22:08:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7M8XCP041294 for ; Sat, 7 Nov 2020 22:08:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7M8X59041293 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 22:08:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 22:08:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crowston@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 22:08:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #29 from Robert Crowston --- OK, to be clear, I did not change vmm.c (because the LA47 isn't in 12.2, right?), and I used VM_MAXUSER_ADDRESS in place of VM_MAXUSER_ADDRESS_LA47. Aside from that I applied Diff 79310. I also needed to add #include #include to pci_emul.c to find the VM_MAXUSER_ADDRESS macro constant. I lower the limit from 128 MB to 32 MB (because I want to test if your patch fixes the 64 bit mapping, and my BAR is 128 MB.) Then I get: wrmsr to register 0xc0011029(0x3) on vcpu 0 rdmsr to register 0xc00000e9 on vcpu 0 Unhandled ps2 mouse command 0xe1 Unhandled ps2 mouse command 0x88 Assertion failed: (pi->pi_bar[baridx].type =3D=3D PCIBAR_IO), function passthru_write, file /usr/src/usr.sbin/bhyve/pci_passthru.c, line 916. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 22:43:37 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CD5482D3C1D for ; Sat, 7 Nov 2020 22:43:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CTC3F5Gylz3tDd for ; Sat, 7 Nov 2020 22:43:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B4D1D2D3B48; Sat, 7 Nov 2020 22:43:37 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B49C92D3F06 for ; Sat, 7 Nov 2020 22:43:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CTC3F4g7tz3tXR for ; Sat, 7 Nov 2020 22:43:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9347D15EB7 for ; Sat, 7 Nov 2020 22:43:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7Mhbu0083065 for ; Sat, 7 Nov 2020 22:43:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7MhbCT083064 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 22:43:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Date: Sat, 07 Nov 2020 22:43:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 22:43:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #30 from Konstantin Belousov --- (In reply to Robert Crowston from comment #28) If you see the same error i.e. vmexit to assist memory access in BAR, please provide *consistent* set of the following data, for the problematic VM: 1. pciconf -lvcb from the guest (boot FreeeBSD installation ISO once) 2. bhyvectl --get-all --vm=3DVM (with bhyvectl abort catched in gdb, see comment #22 3. gdb 'p/x pi->pi_bar' output from bhyve stopped in abort in item 2. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 7 23:44:45 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BFC512D5278 for ; Sat, 7 Nov 2020 23:44:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CTDPn4rvSz4S03 for ; Sat, 7 Nov 2020 23:44:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A67FB2D5675; Sat, 7 Nov 2020 23:44:45 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A64622D5172 for ; Sat, 7 Nov 2020 23:44:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CTDPn4Ft3z4RlB for ; Sat, 7 Nov 2020 23:44:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 853B816A5F for ; Sat, 7 Nov 2020 23:44:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A7NijbU052185 for ; Sat, 7 Nov 2020 23:44:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A7NijoF052184 for virtualization@FreeBSD.org; Sat, 7 Nov 2020 23:44:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250934] grub-bhyve "ls" causes kernel panic Date: Sat, 07 Nov 2020 23:44:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 23:44:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250934 Li-Wen Hsu changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |virtualization@FreeBSD.org CC| |lwhsu@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.=