From nobody Mon Jul 26 01:52:13 2021 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C8DBA127AC7F for ; Mon, 26 Jul 2021 01:52: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GY2wt54JMz3D8N for ; Mon, 26 Jul 2021 01:52: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 962B96855 for ; Mon, 26 Jul 2021 01:52: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 16Q1qETJ067124 for ; Mon, 26 Jul 2021 01:52:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16Q1qERC067123 for virtualization@FreeBSD.org; Mon, 26 Jul 2021 01:52: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 254513] virtio_random: random_harvestq spinning on a CPU with Q35 virtio random device Date: Mon, 26 Jul 2021 01:52:13 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: performance, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: georgewilliamfoster@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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254513 --- Comment #15 from Billy --- (In reply to Jamie Landeg-Jones from comment #14) Thanks, Jamie -- that workaround worked. Nice of Vultr to provide that support, and hopefully this bug gets fixed soon. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Mon Jul 26 12:03:23 2021 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B2E0612BA88D for ; Mon, 26 Jul 2021 12:03: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GYJV44Hlyz3msp for ; Mon, 26 Jul 2021 12:03: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 7185016C36 for ; Mon, 26 Jul 2021 12:03: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 16QC3Oe8091658 for ; Mon, 26 Jul 2021 12:03:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16QC3OYk091657 for virtualization@FreeBSD.org; Mon, 26 Jul 2021 12:03: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 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC. Date: Mon, 26 Jul 2021 12:03: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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marietto2008@gmail.com X-Bugzilla-Status: In Progress 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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246121 mario felicioni changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marietto2008@gmail.com --- Comment #28 from mario felicioni --- Hello. I have the same problem explained here and I tried to apply the patc= h as follows : but Im not sure if it worked / how much it worked...what do u thi= nk ? I've got the patch file here :=20 https://osdn.net/users/koinec/pf/bhyve_keyboard_layout_patch/scm/blobs/b081= 7c73acee1ed5a2b3621590fa6fc1cca89425/kbdlayout_option/bhyve_kbdlayout_fbsd1= 3c.patch root@marietto:/usr/src/usr.sbin # patch -u < bhyve_kbdlayout_fbsd13c.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -upN bhyve_orig/Makefile bhyve/Makefile |--- bhyve_orig/Makefile 2020-04-23 09:06:39.000000000 +0900 |+++ bhyve/Makefile 2020-05-02 13:09:01.382770000 +0900 -------------------------- Patching file Makefile using Plan A... Hunk #1 failed at 99. 1 out of 1 hunks failed--saving rejects to Makefile.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -upN bhyve_orig/bhyve.8 bhyve/bhyve.8 |--- bhyve_orig/bhyve.8 2020-04-23 09:06:39.000000000 +0900 |+++ bhyve/bhyve.8 2020-05-02 13:11:28.198679000 +0900 -------------------------- Patching file bhyve/bhyve.8 using Plan A... Hunk #1 failed at 47. Hunk #2 succeeded at 150 (offset -12 lines). 1 out of 2 hunks failed--saving rejects to bhyve/bhyve.8.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -upN bhyve_orig/bhyverun.c bhyve/bhyverun.c |--- bhyve_orig/bhyverun.c 2020-04-23 09:06:39.000000000 +0900 |+++ bhyve/bhyverun.c 2020-05-02 13:09:01.437624000 +0900 -------------------------- Patching file bhyve/bhyverun.c using Plan A... Hunk #1 succeeded at 188 (offset 20 lines). Hunk #2 failed at 239. Hunk #3 succeeded at 230 with fuzz 1 (offset 1 line). Hunk #4 failed at 1024. Hunk #5 succeeded at 1146 (offset 85 lines). 2 out of 5 hunks failed--saving rejects to bhyve/bhyverun.c.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -upN bhyve_orig/bhyverun.h bhyve/bhyverun.h |--- bhyve_orig/bhyverun.h 2020-04-23 09:06:39.000000000 +0900 |+++ bhyve/bhyverun.h 2020-05-02 13:09:01.444814000 +0900 -------------------------- Patching file bhyve/bhyverun.h using Plan A... Hunk #1 failed at 39. 1 out of 1 hunks failed--saving rejects to bhyve/bhyverun.h.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Common subdirectories: bhyve_orig/kbdlayout and bhyve/kbdlayout |diff -upN bhyve_orig/ps2kbd.c bhyve/ps2kbd.c |--- bhyve_orig/ps2kbd.c 2020-04-23 09:06:39.000000000 +0900 |+++ bhyve/ps2kbd.c 2020-05-02 13:09:01.462761000 +0900 -------------------------- Patching file bhyve/ps2kbd.c using Plan A... Hunk #1 failed at 31. Hunk #2 succeeded at 67 (offset 3 lines). Hunk #3 succeeded at 97 (offset 3 lines). Hunk #4 succeeded at 169 (offset 3 lines). Hunk #5 succeeded at 327 (offset 3 lines). Hunk #6 succeeded at 377 (offset 3 lines). 1 out of 6 hunks failed--saving rejects to bhyve/ps2kbd.c.rej done --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jul 26 12:45:54 2021 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B0C3E127E948 for ; Mon, 26 Jul 2021 12:45: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GYKR72HTNz3vxh for ; Mon, 26 Jul 2021 12:45: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 362401714E for ; Mon, 26 Jul 2021 12:45: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 16QCjtKY014674 for ; Mon, 26 Jul 2021 12:45:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16QCjtvm014673 for virtualization@FreeBSD.org; Mon, 26 Jul 2021 12:45: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 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC. Date: Mon, 26 Jul 2021 12:45: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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marietto2008@gmail.com X-Bugzilla-Status: In Progress 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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246121 --- Comment #29 from mario felicioni --- root@marietto:/usr/src/usr.sbin # sh bhyve_kbdlayout.shar sh: cannot open bhyve_kbdlayout.shar: No such file or directory root@marietto:/usr/src/usr.sbin # cd /usr/src/usr.sbin/bhyve root@marietto:/usr/src/usr.sbin/bhyve # make [Creating objdir /usr/obj/usr/src/amd64.amd64/usr.sbin/bhyve...] echo bhyve.full: /usr/lib/libc.a /usr/lib/libvmmapi.a /usr/lib/libmd.a /usr/lib/libpthread.a /usr/lib/libz.a /usr/lib/libutil.a /usr/lib/libsbuf.a /usr/lib/libcam.a /usr/lib/lib9p.a /usr/lib/libnetgraph.a /usr/lib/libcrypt= o.a >> .depend ...... cc -O2 -pipe -fno-common -I/usr/src/usr.sbin/bhyve/../../contrib/lib9p -I/usr/src/sys -DINET -DINET6 -DNETGRAPH -I/usr/src/sys/dev/e1000 -I/usr/src/sys/dev/mii -I/usr/src/sys/dev/usb/controller -g -MD -MF.depend.ps2kbd.o -MTps2kbd.o -std=3Dgnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.sbin/bhyve/ps2kbd.c -o ps2kbd.o /usr/src/usr.sbin/bhyve/ps2kbd.c:407:14: error: variable has incomplete type 'struct stat' struct stat sb; ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:407:9: note: forward declaration of 'struct stat' struct stat sb; ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:413:16: error: use of undeclared identifier 'kbdlayout_name' strncat(path, kbdlayout_name, (sizeof(path) - strlen(PS2KBD_LAYOUT_BASEDIR)= - 1)); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:415:8: error: implicit declaration of func= tion 'stat' is invalid in C99 [-Werror,-Wimplicit-function-declaration] err =3D stat(path, &sb); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:423:7: error: implicit declaration of func= tion 'open' is invalid in C99 [-Werror,-Wimplicit-function-declaration] fd =3D open(path, O_RDONLY); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:423:18: error: use of undeclared identifier 'O_RDONLY' fd =3D open(path, O_RDONLY); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:427:7: error: implicit declaration of func= tion 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration] sz =3D read(fd, buf, sb.st_size ); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:427:7: note: did you mean 'fread'? /usr/include/stdio.h:263:9: note: 'fread' declared here size_t fread(void * __restrict, size_t, size_t, FILE * __restrict); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:429:2: error: implicit declaration of func= tion 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration] close(fd); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:458:6: error: use of undeclared identifier 'kbdlayout_name' if (kbdlayout_name !=3D NULL) ^ 8 errors generated. *** Error code 1 Stop. make: stopped in /usr/src/usr.sbin/bhyve --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jul 26 16:58:17 2021 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C460B12B020A for ; Mon, 26 Jul 2021 16:58: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GYR2K3DQJz4YT5 for ; Mon, 26 Jul 2021 16:58: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 4D6441AC86 for ; Mon, 26 Jul 2021 16:58: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 16QGwH88045104 for ; Mon, 26 Jul 2021 16:58:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16QGwHCB045103 for virtualization@FreeBSD.org; Mon, 26 Jul 2021 16:58: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 251046] bhyve PCI passthrough does not work inside jail Date: Mon, 26 Jul 2021 16:58:17 +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 Many People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open 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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251046 --- Comment #8 from Mark Johnston --- Sorry for the delayed follow up. I wrote some patches to remove the need f= or /dev/io: https://reviews.freebsd.org/D31307 https://reviews.freebsd.org/D31308 Testing would be appreciated. This does not remove the dependency on /dev/= mem yet. I am very skeptical that jailing bhyve with PCI passthrough enabled provides any meaningful security. /dev/pci allows a jailed root to access all PCI(e) devices in the system. Jails can be a useful deployment mechanism though, = so I think we should better support their integration with bhyve. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jul 26 18:23:34 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8CADE12A55BA for ; Mon, 26 Jul 2021 18:23:36 +0000 (UTC) (envelope-from robert.watson@cl.cam.ac.uk) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4GYSwm2CQ7z3Cfq for ; Mon, 26 Jul 2021 18:23:36 +0000 (UTC) (envelope-from robert.watson@cl.cam.ac.uk) Received: from smtpclient.apple (host81-153-41-52.range81-153.btcentralplus.com [81.153.41.52]) by cyrus.watson.org (Postfix) with ESMTPSA id 897678F42D for ; Mon, 26 Jul 2021 18:23:35 +0000 (UTC) From: "Robert N. M. Watson" Content-Type: multipart/alternative; boundary="Apple-Mail=_16888066-14AF-4776-8C99-B4685BBCA204" List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: OpenStack hosting with FreeBSD + bhyve? Message-Id: Date: Mon, 26 Jul 2021 19:23:34 +0100 To: freebsd-virtualization@freebsd.org X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4GYSwm2CQ7z3Cfq X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[cl.cam.ac.uk]; ASN(0.00)[asn:11288, ipnet:204.107.128.0/24, country:US] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_16888066-14AF-4776-8C99-B4685BBCA204 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi all: Arm is releasing a new experimental CPU + SoC + board in early 2021, = Morello, based on our CHERI research at SRI International and the = University of Cambridge. At Cambridge, we=E2=80=99re looking to create a = =E2=80=98Morello Cloud=E2=80=99 facility to allow intra- and = inter-institutional access to Morello virtual machines hosted on a = couple of racks of Morello boards, which would run CheriBSD (our = CHERI-extended version of FreeBSD). Cambridge's Research Computing = Services currently use OpenStack to host VMs on several HPC clusters out = of our main university datacenter, and it seems that we will ask them to = host and manage the Morello Cloud facility for us. We=E2=80=99ve = identified and largely resolved on key technical dependency, bhyve = support for not just arm64, but also Morello, and so that seems likely = to be ready by our 2022 launch date. Which then raises the question: What obstacles exist between us and = having FreeBSD host OpenStack compute VMs using bhyve on these boards? = OpenStack has a lot of moving parts, and casual googling has not made it = immediately obvious to me whether there is currently a community of = FreeBSD OpenStack users using FreeBSD for hosting, rather than just on = VMs. I see lots of queries (and information) on VM image creation, but = all I=E2=80=99ve spotted really spotted on the hosting topic was a 2014 = presentation from Semihalf. However, their Nova GitHub repository that = appears untouched since roughly then: https://github.com/Semihalf/openstack-nova = I wonder if anyone on this list could point me at anything more recent, = or if there are folks actively working on this currently / have = OpenStack deployed with FreeBSD hosting + bhyve? We can put in some = amount of engineering effort, but right now we=E2=80=99re running a bit = context free as to whether there=E2=80=99s existing work in this space. Thanks, Robert= --Apple-Mail=_16888066-14AF-4776-8C99-B4685BBCA204-- From nobody Mon Jul 26 18:34:00 2021 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5947A12A8CC2 for ; Mon, 26 Jul 2021 18:34: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GYT8n1RyWz3G5G for ; Mon, 26 Jul 2021 18:34: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 0270C1C0A2 for ; Mon, 26 Jul 2021 18:34: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 16QIY0aj097981 for ; Mon, 26 Jul 2021 18:34:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16QIY0n5097980 for virtualization@FreeBSD.org; Mon, 26 Jul 2021 18:34:00 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 251046] bhyve PCI passthrough does not work inside jail Date: Mon, 26 Jul 2021 18:34:00 +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 Many People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open 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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251046 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org --- Comment #9 from Bjoern A. Zeeb --- The /dev/mem ones could probably be PCIOCBARMMAP if that could be/is locked down enough? But I assume all the checks needed are in place (now) somewhe= re for the IO ioctl? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jul 26 18:43:54 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C338112ACC07 for ; Mon, 26 Jul 2021 18:44:14 +0000 (UTC) (envelope-from mihai.carabas@gmail.com) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 4GYTNZ30v5z3Jb5 for ; Mon, 26 Jul 2021 18:44:14 +0000 (UTC) (envelope-from mihai.carabas@gmail.com) Received: by mail-lf1-x135.google.com with SMTP id u3so17219183lff.9 for ; Mon, 26 Jul 2021 11:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1VUN/Hdp7pDt4qmjCa5OSa4yVwGcDDOlLmYbzqx+wGk=; b=R8uLlTRnSsPSlwr37Mdqblfn3MWLjthSbCjAbxpbXqJilXo6kHgm2EGR3uOYnhGveN kqJNe3Yga29Bvi0oKUagPlTAy7IHTjjCw/r5qGmepbchpToWpStIbCl5HH8Gjj5uCV2M FVWg9duXaGrjuVb2qb/t6ASTSGuYCJRBaQYCYz0SwfA9vGaqb0jZi9K/2JSCvGWt0GX6 MEq654MViaCuWYappGNnpaKEqUtrLk39am1Ad2W856ih1ZCL8K6Wm7sDYCyW4Y0udKuv XIdKQmWeK7YNF0lzLJ3/cZL7lRxVjgeYMVl0cl5D0BwlrXwbE60xtQuPHyaj+umIMxzv tjAA== 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=1VUN/Hdp7pDt4qmjCa5OSa4yVwGcDDOlLmYbzqx+wGk=; b=fnMcjtBhicSozIiw900Z3M3vGRqowtncIBCYXtJsln5HcLlAqmR2Q1Q91fBbvkR8mw HFBxXZ1YaTFEv/r7ERRMhrIK5Kd2ZcI+ruX3Xp4U13MfJ1tWQJJ1nIQAVoM/utWOhNmK 9r9sdA2oM341Vg5+WbYDK9Y+tcU9+sJ30vjq6F++sNfDuhbh5Y9g4E12xPcK0N913eFw XeOp6EhWMmS/OWhQGZcp/aNwYZsfJAaM0BNYmpwAkTGQbDVCfxYk+pDCvOsHPE2k40xZ iEFROKENJm/r/UQS22P4PYfDKlVmanmxRg2KK94y5rIl9LyhZKB2dS0k8/gWriYaiyT1 6BaA== X-Gm-Message-State: AOAM533qTdbL2zXpFmZ4qjeTUJ2k1sEjaWJ+tabwl0+bAmKLMDXKCjMR 0aNONGykseIDxhcRv6zQcKhQgSS0NNmDtKvTChs= X-Google-Smtp-Source: ABdhPJxZYFs/jWo3zkH8K7L0Qeduxalq2YznyfwYSG8V76hEapSyxIaDEQ9NAHKYyamSrPAc6npexDV5tFe/6Jao7V0= X-Received: by 2002:a05:6512:3225:: with SMTP id f5mr13279898lfe.97.1627325045683; Mon, 26 Jul 2021 11:44:05 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mihai Carabas Date: Mon, 26 Jul 2021 21:43:54 +0300 Message-ID: Subject: Re: OpenStack hosting with FreeBSD + bhyve? To: "Robert N. M. Watson" , Sergiu Weisz , Elena Mihailescu , Darius Mihai Cc: freebsd-virtualization@freebsd.org Content-Type: multipart/alternative; boundary="000000000000483b9805c80b2330" X-Rspamd-Queue-Id: 4GYTNZ30v5z3Jb5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000483b9805c80b2330 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Robert, We are also running Openstack at our University (University POLITEHNICA of Bucharest). Mainly we are using KVM hypervisors. We had last year a diploma project to bring in support for bhyve as a hypervisor in Openstack. The whole nova part was resolved (we were able to create guests using the Openstack commands) but openvswitch (used by neutron service) was still in progress (so no networking at that time). There is a paper that does an overview of the current work: https://ieeexplore.ieee.org/document/9266213 If you need more details or acces to code, Sergiu and Elena at CC can help us. Thank you, Mihai On Mon, Jul 26, 2021 at 9:24 PM Robert N. M. Watson < robert.watson@cl.cam.ac.uk> wrote: > Hi all: > > Arm is releasing a new experimental CPU + SoC + board in early 2021, > Morello, based on our CHERI research at SRI International and the > University of Cambridge. At Cambridge, we=E2=80=99re looking to create a = =E2=80=98Morello > Cloud=E2=80=99 facility to allow intra- and inter-institutional access to= Morello > virtual machines hosted on a couple of racks of Morello boards, which wou= ld > run CheriBSD (our CHERI-extended version of FreeBSD). Cambridge's Researc= h > Computing Services currently use OpenStack to host VMs on several HPC > clusters out of our main university datacenter, and it seems that we will > ask them to host and manage the Morello Cloud facility for us. We=E2=80= =99ve > identified and largely resolved on key technical dependency, bhyve suppor= t > for not just arm64, but also Morello, and so that seems likely to be read= y > by our 2022 launch date. > > Which then raises the question: What obstacles exist between us and havin= g > FreeBSD host OpenStack compute VMs using bhyve on these boards? OpenStack > has a lot of moving parts, and casual googling has not made it immediatel= y > obvious to me whether there is currently a community of FreeBSD OpenStack > users using FreeBSD for hosting, rather than just on VMs. I see lots of > queries (and information) on VM image creation, but all I=E2=80=99ve spot= ted really > spotted on the hosting topic was a 2014 presentation from Semihalf. > However, their Nova GitHub repository that appears untouched since roughl= y > then: > > https://github.com/Semihalf/openstack-nova < > https://github.com/Semihalf/openstack-nova> > > I wonder if anyone on this list could point me at anything more recent, o= r > if there are folks actively working on this currently / have OpenStack > deployed with FreeBSD hosting + bhyve? We can put in some amount of > engineering effort, but right now we=E2=80=99re running a bit context fre= e as to > whether there=E2=80=99s existing work in this space. > > Thanks, > > Robert --000000000000483b9805c80b2330-- From nobody Tue Jul 27 13:44:42 2021 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B1A5412BDBE1 for ; Tue, 27 Jul 2021 13:44: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GYyhV5X0Zz4W1R for ; Tue, 27 Jul 2021 13:44: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 A1DEE3A6C for ; Tue, 27 Jul 2021 13:44: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 16RDigoB095202 for ; Tue, 27 Jul 2021 13:44:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16RDigWU095201 for virtualization@FreeBSD.org; Tue, 27 Jul 2021 13:44: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 251046] bhyve PCI passthrough does not work inside jail Date: Tue, 27 Jul 2021 13:44:42 +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 Many People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open 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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251046 --- Comment #10 from Mark Johnston --- (In reply to Bjoern A. Zeeb from comment #9) > The /dev/mem ones could probably be PCIOCBARMMAP if that could be/is lock= ed down enough? Yes, it seems possible. > But I assume all the checks needed are in place (now) somewhere for the I= O ioctl? I'm not sure if I understand the question. The new ioctl limits accesses to the specified BAR and verifies that the accesses is within bounds. The /de= v/io interface permits access to any system I/O port. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jul 29 10:54:20 2021 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6007F12B30CB for ; Thu, 29 Jul 2021 10:54: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gb6q00Lf4z4V98 for ; Thu, 29 Jul 2021 10:54: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 E9E8810C01 for ; Thu, 29 Jul 2021 10:54: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 16TAsJRM016166 for ; Thu, 29 Jul 2021 10:54:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16TAsJ2d016165 for virtualization@FreeBSD.org; Thu, 29 Jul 2021 10:54: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 250865] Usage of recent windows virtio-blk driver crashes the bhyve VM Date: Thu, 29 Jul 2021 10:54: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: igorz@yandex.ru 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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250865 Igor Zabelin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |igorz@yandex.ru --- Comment #6 from Igor Zabelin --- I have installed Windows 10 on 13.0-STABLE.=20 Zvol sparse volume with default 8k volblocksize. The latest working driver 0.1.187 With the newer version installation is interrupted. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jul 30 00:26:24 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CAD0F12AFDC1 for ; Fri, 30 Jul 2021 00:26:37 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbSrD6C5vz4ttR for ; Fri, 30 Jul 2021 00:26:36 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 7E9538D4A172 for ; Fri, 30 Jul 2021 00:26:28 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 652E3E707FC for ; Fri, 30 Jul 2021 00:26:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id TC1TrxL6dEbT for ; Fri, 30 Jul 2021 00:26:25 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id C9B5CE707EC for ; Fri, 30 Jul 2021 00:26:24 +0000 (UTC) Date: Fri, 30 Jul 2021 00:26:24 +0000 (UTC) From: "Bjoern A. Zeeb" To: freebsd-virtualization@freebsd.org Subject: ivhd0 IO_PAGE_FAULT EVT with external disk Message-ID: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4GbSrD6C5vz4ttR X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-1.28 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.992]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_SPAM_SHORT(1.00)[0.999]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-ThisMailContainsUnwantedMimeParts: N Hi, I grabbed an external USB drive from an Intel machine and put it to an AMD host using it to boot directly from it like: -s 3,ahci-hd,/dev/da0,sectorsize=512 \ On the AMD machine this doesn't work and I get a lot of: ivhd0: EVT INTR 45 Status:0x1a EVT Head:0xfb0 Tail:0x430]^M [CMD Total 0xaf] Tail:0xaf0, Head:0xaf0.^M ivhd0: [Event0: Head:0xfb0 Tail:0x440]^M [IO_PAGE_FAULT EVT: devId:0x80 DomId:0x0 Addr:0xaa4cf410 0x20]^M ivhd0: [Event1: Head:0xfc0 Tail:0x460]^M [IO_PAGE_FAULT EVT: devId:0x80 DomId:0x0 Addr:0xaa4ce010 0x20]^M ivhd0: [Event2: Head:0xfd0 Tail:0x470]^M [IO_PAGE_FAULT EVT: devId:0x80 DomId:0x0 Addr:0xaa5c4000 0x20]^M ivhd0: [Event3: Head:0xfe0 Tail:0x470]^M [IO_PAGE_FAULT EVT: devId:0x80 DomId:0x0 Addr:0xaa4cf410 0x20]^M ivhd0: [Event4: Head:0xff0 Tail:0x470]^M [IO_PAGE_FAULT EVT: devId:0x80 DomId:0x0 Addr:0xaa5c4000 0x20]^M ivhd0: [Event5: Head:0x0 Tail:0x470]^M [IO_PAGE_FAULT EVT: devId:0x80 DomId:0x0 Addr:0xaa4cfa90 0x20]^M ... Is this in theory supposed to work? Does this in any way depend on the USB port used or are we simply working on the device node? /bz -- Bjoern A. Zeeb r15:7 From nobody Fri Jul 30 00:50:21 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BB02812B147C for ; Fri, 30 Jul 2021 00:50:41 +0000 (UTC) (envelope-from SRS0=MDqz=MW=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) (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 4GbTN13H1jz3DBY for ; Fri, 30 Jul 2021 00:50:40 +0000 (UTC) (envelope-from SRS0=MDqz=MW=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id C482420926CF for ; Fri, 30 Jul 2021 10:50:30 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id B9BC3213B5E7 for ; Fri, 30 Jul 2021 10:50:30 +1000 (AEST) Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pyG6TYhden79 for ; Fri, 30 Jul 2021 10:50:30 +1000 (AEST) Received: from MacBook-Air-4.local (unknown [1.132.241.186]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 0F7C1213B5E4; Fri, 30 Jul 2021 10:50:29 +1000 (AEST) Subject: Re: ivhd0 IO_PAGE_FAULT EVT with external disk To: "Bjoern A. Zeeb" , freebsd-virtualization@freebsd.org References: From: Peter Grehan Message-ID: <4c6865aa-f772-b6bd-d16c-ca8958352837@freebsd.org> Date: Fri, 30 Jul 2021 10:50:21 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=RuVe0BuK c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=/I+irHSVYzOtzKyRi3N8rQ==:17 a=IkcTkHD0fZMA:10 a=e_q4qTt1xDgA:10 a=MPwyPw_FKERZEhlSbUcA:9 a=QEXdDO2ut3YA:10 X-Rspamd-Queue-Id: 4GbTN13H1jz3DBY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi Bjoern, > I grabbed an external USB drive from an Intel machine and put it to an=20 > AMD host > using it to boot directly from it like: > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -s 3,ahci-hd,/dev/da0,secto= rsize=3D512 \ ... > On the AMD machine this doesn't work and I get a lot of: >=20 > ivhd0: EVT INTR 45 Status:0x1a EVT Head:0xfb0 Tail:0x430]^M > =C2=A0 [CMD Total 0xaf] Tail:0xaf0, Head:0xaf0.^M ... > Is this in theory supposed to work? Yes. > Does this in any way depend on the USB > port used or are we simply working on the device node? bhyve only uses the device node. Do you have passthru devices configured ? If so, are they under the=20 same controller that the USB device is on ? (also what version of FreeBSD on the host) later, Peter. From nobody Fri Jul 30 08:22:27 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E0FC112D952A for ; Fri, 30 Jul 2021 08:22:39 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbgPW54TQz3vl6; Fri, 30 Jul 2021 08:22:39 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 95CEF8D4A172; Fri, 30 Jul 2021 08:22:31 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 878D8E707FC; Fri, 30 Jul 2021 08:22:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id dAHtZ0Mls0zM; Fri, 30 Jul 2021 08:22:29 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id CC17CE707EC; Fri, 30 Jul 2021 08:22:28 +0000 (UTC) Date: Fri, 30 Jul 2021 08:22:27 +0000 (UTC) From: "Bjoern A. Zeeb" To: Peter Grehan cc: freebsd-virtualization@freebsd.org Subject: Re: ivhd0 IO_PAGE_FAULT EVT with external disk In-Reply-To: <4c6865aa-f772-b6bd-d16c-ca8958352837@freebsd.org> Message-ID: References: <4c6865aa-f772-b6bd-d16c-ca8958352837@freebsd.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-2078708839-1627633348=:68830" X-Rspamd-Queue-Id: 4GbgPW54TQz3vl6 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-2078708839-1627633348=:68830 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 30 Jul 2021, Peter Grehan wrote: >> I grabbed an external USB drive from an Intel machine and put it to an AMD >> host >> using it to boot directly from it like: >>         -s 3,ahci-hd,/dev/da0,sectorsize=512 \ > ... > >> On the AMD machine this doesn't work and I get a lot of: >> >> ivhd0: EVT INTR 45 Status:0x1a EVT Head:0xfb0 Tail:0x430]^M >>   [CMD Total 0xaf] Tail:0xaf0, Head:0xaf0.^M > ... >> Is this in theory supposed to work? > > Yes. Good. >> Does this in any way depend on the USB >> port used or are we simply working on the device node? > > bhyve only uses the device node. Also good. > Do you have passthru devices configured ? If so, are they under the same > controller that the USB device is on ? I do. And they did work fine without the raw disk (netbooting FreeBSD). If I remove the passthru devices the Linux on the disk boots. nexus0 cryptosoft0 aesni0 smbios0 ram0 apic0 vtvga0 acpi0 cpu0 hwpstate0 acpi_perf0 cpufreq0 cpu1 acpi_perf1 cpu2 acpi_perf2 cpu3 acpi_perf3 acpi_button0 pcib0 pci0 hostb0 amdiommu0 hostb1 pcib1 pci1 ppt0 pcib2 pci2 igb0 pcib3 pci3 ppt1 pcib4 pci4 ppt2 pcib5 pci5 ppt3 xhci0 usbus0 uhub1 umass0 ahci0 ahcich0 ahcich1 ehci0 usbus1 uhub0 uhub2 isab0 isa0 orm0 superio0 wbwd0 sdhci_pci0 hostb2 hostb3 hostb4 hostb5 hostb6 hostb7 acpi_tz0 ... > (also what version of FreeBSD on the host) HEAD as of a few days or weeks ago. -- Bjoern A. Zeeb r15:7 --0-2078708839-1627633348=:68830-- From nobody Fri Jul 30 08:50:07 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D3DD012DB5F1 for ; Fri, 30 Jul 2021 08:50:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gbh1K0HG1z4SN8; Fri, 30 Jul 2021 08:50:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id CE73A8D4A172; Fri, 30 Jul 2021 08:50:11 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 95BE3E707FC; Fri, 30 Jul 2021 08:50:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id ueTaWQc0ERrx; Fri, 30 Jul 2021 08:50:08 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 9063EE707EC; Fri, 30 Jul 2021 08:50:08 +0000 (UTC) Date: Fri, 30 Jul 2021 08:50:07 +0000 (UTC) From: "Bjoern A. Zeeb" To: Peter Grehan cc: freebsd-virtualization@freebsd.org Subject: Re: ivhd0 IO_PAGE_FAULT EVT with external disk In-Reply-To: Message-ID: References: <4c6865aa-f772-b6bd-d16c-ca8958352837@freebsd.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1284825450-1627635008=:68830" X-Rspamd-Queue-Id: 4Gbh1K0HG1z4SN8 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-0.45 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.85)[0.850]; CTYPE_MIXED_BOGUS(1.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1284825450-1627635008=:68830 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 30 Jul 2021, Bjoern A. Zeeb wrote: > On Fri, 30 Jul 2021, Peter Grehan wrote: > >>> I grabbed an external USB drive from an Intel machine and put it to an AMD >>> host >>> using it to boot directly from it like: >>>         -s 3,ahci-hd,/dev/da0,sectorsize=512 \ >> ... >> >>> On the AMD machine this doesn't work and I get a lot of: >>> >>> ivhd0: EVT INTR 45 Status:0x1a EVT Head:0xfb0 Tail:0x430]^M >>>   [CMD Total 0xaf] Tail:0xaf0, Head:0xaf0.^M >> ... >>> Is this in theory supposed to work? >> >> Yes. > > Good. > > >>> Does this in any way depend on the USB >>> port used or are we simply working on the device node? >> >> bhyve only uses the device node. > > Also good. > > >> Do you have passthru devices configured ? If so, are they under the same >> controller that the USB device is on ? > > I do. > And they did work fine without the raw disk (netbooting FreeBSD). > If I remove the passthru devices the Linux on the disk boots. Actually, I as too early given it went through grub and was saying: Loading Linux 5.10.40 ... Loading initial ramdisk ... Then bhyve died with: vm_run error -1, errno 14 but no other information in dmesg or console or from bhyve. I assume that is two issues now... > nexus0 > cryptosoft0 > aesni0 > smbios0 > ram0 > apic0 > vtvga0 > acpi0 > cpu0 > hwpstate0 > acpi_perf0 > cpufreq0 > cpu1 > acpi_perf1 > cpu2 > acpi_perf2 > cpu3 > acpi_perf3 > acpi_button0 > pcib0 > pci0 > hostb0 > amdiommu0 > hostb1 > pcib1 > pci1 > ppt0 > pcib2 > pci2 > igb0 > pcib3 > pci3 > ppt1 > pcib4 > pci4 > ppt2 > pcib5 > pci5 > ppt3 > xhci0 > usbus0 > uhub1 > umass0 > ahci0 > ahcich0 > ahcich1 > ehci0 > usbus1 > uhub0 > uhub2 > isab0 > isa0 > orm0 > superio0 > wbwd0 > sdhci_pci0 > hostb2 > hostb3 > hostb4 > hostb5 > hostb6 > hostb7 > acpi_tz0 > ... > > >> (also what version of FreeBSD on the host) > > HEAD as of a few days or weeks ago. > > -- Bjoern A. Zeeb r15:7 --0-1284825450-1627635008=:68830-- From nobody Fri Jul 30 17:51:02 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 59F6712D2989 for ; Fri, 30 Jul 2021 17:51:06 +0000 (UTC) (envelope-from khng300@gmail.com) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (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 4Gbw1Q1ST8z3LBK; Fri, 30 Jul 2021 17:51:06 +0000 (UTC) (envelope-from khng300@gmail.com) Received: by mail-pl1-x62d.google.com with SMTP id k1so11943760plt.12; Fri, 30 Jul 2021 10:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lbW4aGVt2Eru6zvGeT/4/16/hlQROjbzFVsglrMPsbc=; b=BpSEazusYCoxBhnBt+FXQY+Zz2jQNpJaaJanrqBnt/J/03gPIW6hvlXLCOtFdKaZf1 I/j4pcAOdrxYU3FD3Py844/5fdipAWDhEzrWwM7OvDjeweqyeETVzdhqhIIc8mgLhCqM b5U+NX8KkCf1mnkvdYqfl/396hTSSF4omOWid0pQ4aDv+cKIkl6AwWSzIYT+cB5dSc1P PiU6ZPxIPAZdJC2KQ2ozqkYuC/DXho23njv8qOOUPa/prcm66RWWv/cZLv0MZuY8vsLo GiRpMcpRZGAV4MRfkcj3zhxuEt46gt7oKGCzwAYl6rYyCY42848cHcTH+1Lmw4CvfCJr 14ow== 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-language :content-transfer-encoding; bh=lbW4aGVt2Eru6zvGeT/4/16/hlQROjbzFVsglrMPsbc=; b=JAxeE7FUIUWAlTgFSJpGn9eoXRkSO5Tw8UOxFIEq8WgN5sO/bmVmZRHHCzVzPWaOJd do8KO/VAW4u8B5NMx18M44p23UqJ4daUB1vqrMrkoUBQR6kQyYYgQQmI4wOioVUlXUPb DpaLGzgebBEoaNnZgAsrVODF/0vjG6lR//FBHdlg2tjkMV/HlVjF1wUjhCI1NDELVfWE /WKhq0HIE2y+t9yAV38J5rVCS11wzpe9OdRz8U2YtobqIeSSrHwOhvvJGV6eHVC8f5Y6 B+OMWuTpxYaMcSxkqR5tdeZTC22ggTIzrmTahyOAJDINUnt6L37XY/bx6jtyDTxt6pLI 1i7Q== X-Gm-Message-State: AOAM530pSD4o2M7PNIc4iFzeZGUtNc73wMYxlyw7KpdUlGXmZUcNSLno xR2HFHaWpe1FObUYs2lf/i4djzfjI6p2/qme X-Google-Smtp-Source: ABdhPJyNDutQlssguGs5RBKWC6j4PGfwi7QWsfGkmBKlsigSu6T4dbl4uh1sWnaPCoCj2wHPT9IKuw== X-Received: by 2002:a17:902:d2c6:b029:12b:6f6d:87d1 with SMTP id n6-20020a170902d2c6b029012b6f6d87d1mr3352808plc.11.1627667465057; Fri, 30 Jul 2021 10:51:05 -0700 (PDT) Received: from Kas-MacBook-Pro.local ([2001:470:f816:0:7987:1f30:b459:3a36]) by smtp.gmail.com with ESMTPSA id w2sm2819660pjd.35.2021.07.30.10.51.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Jul 2021 10:51:04 -0700 (PDT) Subject: Re: ivhd0 IO_PAGE_FAULT EVT with external disk To: "Bjoern A. Zeeb" , Peter Grehan Cc: freebsd-virtualization@freebsd.org References: <4c6865aa-f772-b6bd-d16c-ca8958352837@freebsd.org> From: Ka Ho Ng Message-ID: <6546f9f7-72f7-2f89-42e0-a35618d322f8@gmail.com> Date: Sat, 31 Jul 2021 01:51:02 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Gbw1Q1ST8z3LBK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2021/7/30 4:50 PM, Bjoern A. Zeeb wrote: > On Fri, 30 Jul 2021, Bjoern A. Zeeb wrote: > >> On Fri, 30 Jul 2021, Peter Grehan wrote: >> >>>> I grabbed an external USB drive from an Intel machine and put it to >>>> an AMD host >>>> using it to boot directly from it like: >>>>          -s 3,ahci-hd,/dev/da0,sectorsize=512 \ >>> ... >>> >>>> On the AMD machine this doesn't work and I get a lot of: >>>> >>>> ivhd0: EVT INTR 45 Status:0x1a EVT Head:0xfb0 Tail:0x430]^M >>>>    [CMD Total 0xaf] Tail:0xaf0, Head:0xaf0.^M >>> ... >>>> Is this in theory supposed to work? >>> >>> Yes. >> >> Good. >> >> >>>> Does this in any way depend on the USB >>>> port used or are we simply working on the device node? >>> >>> bhyve only uses the device node. >> >> Also good. >> >> >>> Do you have passthru devices configured ? If so, are they under the >>> same controller that the USB device is on ? >> >> I do. >> And they did work fine without the raw disk (netbooting FreeBSD). >> If I remove the passthru devices the Linux on the disk boots. > > Actually, I as too early given it went through grub and was saying: > Loading Linux 5.10.40 ... > Loading initial ramdisk ... > > Then bhyve died with: >     vm_run error -1, errno 14 > > but no other information in dmesg or console or from bhyve.  I assume > that is two issues now... > > >> nexus0 >>  cryptosoft0 >>  aesni0 >>  smbios0 >>  ram0 >>  apic0 >>  vtvga0 >>  acpi0 >>    cpu0 >>      hwpstate0 >>      acpi_perf0 >>      cpufreq0 >>    cpu1 >>      acpi_perf1 >>    cpu2 >>      acpi_perf2 >>    cpu3 >>      acpi_perf3 >>    acpi_button0 >>    pcib0 >>      pci0 >>        hostb0 >>        amdiommu0 >>        hostb1 >>        pcib1 >>          pci1 >>            ppt0 >>        pcib2 >>          pci2 >>            igb0 >>        pcib3 >>          pci3 >>            ppt1 >>        pcib4 >>          pci4 >>            ppt2 >>        pcib5 >>          pci5 >>            ppt3 >>        xhci0 >>          usbus0 >>            uhub1 >>              umass0 >>        ahci0 >>          ahcich0 >>          ahcich1 >>        ehci0 >>          usbus1 >>            uhub0 >>              uhub2 >>        isab0 >>          isa0 >>            orm0 >>            superio0 >>              wbwd0 >>        sdhci_pci0 >>        hostb2 >>        hostb3 >>        hostb4 >>        hostb5 >>        hostb6 >>        hostb7 >>    acpi_tz0 >> ... >> >> >>> (also what version of FreeBSD on the host) >> >> HEAD as of a few days or weeks ago. >> >> > I am interested in the 'pciconf -lb' output (which is dumped to stdout) and '/usr/local/bin/acpidump -b -n IVRS' output (which generates a ivrs.dat) file. Ka Ho From nobody Fri Jul 30 20:51:45 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 653C912DC782 for ; Fri, 30 Jul 2021 20:51:51 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gc01z1m9fz3ngM; Fri, 30 Jul 2021 20:51:51 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 1106C8D4A179; Fri, 30 Jul 2021 20:51:48 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 98093E70881; Fri, 30 Jul 2021 20:51:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 9sVmCQOn6mHY; Fri, 30 Jul 2021 20:51:46 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 6FD0BE707EC; Fri, 30 Jul 2021 20:51:46 +0000 (UTC) Date: Fri, 30 Jul 2021 20:51:45 +0000 (UTC) From: "Bjoern A. Zeeb" To: Ka Ho Ng cc: Peter Grehan , freebsd-virtualization@freebsd.org Subject: Re: ivhd0 IO_PAGE_FAULT EVT with external disk In-Reply-To: <6546f9f7-72f7-2f89-42e0-a35618d322f8@gmail.com> Message-ID: References: <4c6865aa-f772-b6bd-d16c-ca8958352837@freebsd.org> <6546f9f7-72f7-2f89-42e0-a35618d322f8@gmail.com> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4Gc01z1m9fz3ngM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sat, 31 Jul 2021, Ka Ho Ng wrote: Hi, > I am interested in the 'pciconf -lb' output (which is dumped to stdout) and > '/usr/local/bin/acpidump -b -n IVRS' output (which generates a ivrs.dat) > file. I'll send them out-of-band. /bz -- Bjoern A. Zeeb r15:7 From nobody Sun Aug 1 14:16:41 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5E03A12B631B for ; Sun, 1 Aug 2021 14:16:54 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gd39J64hcz4XRv for ; Sun, 1 Aug 2021 14:16:52 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 9A1CE8D4A15D for ; Sun, 1 Aug 2021 14:16:44 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 7EB19E707B4 for ; Sun, 1 Aug 2021 14:16:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id wLp_th80mOrs for ; Sun, 1 Aug 2021 14:16:42 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 731BCE707AD for ; Sun, 1 Aug 2021 14:16:42 +0000 (UTC) Date: Sun, 1 Aug 2021 14:16:41 +0000 (UTC) From: "Bjoern A. Zeeb" To: freebsd-virtualization@freebsd.org Subject: 9p and Win10? Message-ID: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4Gd39J64hcz4XRv X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-2.28 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; 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.00)[-1.000]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_HAM_SHORT(-0.98)[-0.975]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-ThisMailContainsUnwantedMimeParts: N Hi, there seems to be very little that can be found on bhyve and 9p so far. I've seen Linux exmaples. Does it also work with modern Windows (e.g., recent Win10) or is SMB still the best way to currently share host/win guest files? /bz -- Bjoern A. Zeeb r15:7 From nobody Sun Aug 1 16:52:15 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1702412D174F; Sun, 1 Aug 2021 16:52:45 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gd6d74jkzz4mgy; Sun, 1 Aug 2021 16:52:43 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 2c694c77; Sun, 1 Aug 2021 16:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; s=20180501; bh=jJ42k2+NXMRSKlsR4cI4J FWy3LI=; b=uQ5mdze5k4r/C6mjxYnt2aPlfuZIRe+s8G3p7+nNF350FoAwbN8JJ B7q+YftvZ5bTh24ikKX/QvLVoS5ydvtX2lCLTxO90ulh8P4N9bFo4cqgtSPtLsaX NdSONsWx7EfcikHad1utob6+d9M86PkDfMUVQjON5InWnL9ybRMc3gBRQmxXSabh hDczaEHnk2QgtPDr5rW9EDTOfjngMwUj6rO4YsOo2oxLsYr+lZNEJiykejCulraL 0opAdRLNeRp4pf0kYydBjWz1DbRTHI6UZtPK8FFuBv8pxk52+6oC4EYGNFWrnRI4 m8fXJMFJ+6x3Xcyg9+jDxIkFstPsJZ6hg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=20180501; b=joXUYWuqcRAuuI4 o4OW3U9JGByREqBMFNXUGGBsuJVHAWq9WyMyacxdgJV+dth4y6bYpnwHyKsHPkq2 fE9X1u7ieGhytXTUzY3RE4pdS6PaIfecd+Kj2JoLwDMGWllT7qNI5UwhO6mf+c0a IgiDaOxCPp8neOJPYw9SzNVgSVeISKrynys3HFz8ETKXcJdJS4ccfDxPv0cjI2px IYmsbbiL4Iueda+ouawaWBXsAeecz7MZiu17/B90zf/cY479QL9iqm1YYIZq/u7P oLBZKB+xRGIxuc9E8Y4mc2kIv767mLX0oR8K8TDTmxVH0z+x0E/H6/4OUp8twEnq yFx6BhQ== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id b972708d (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sun, 1 Aug 2021 16:52:28 +0000 (UTC) Date: Sun, 1 Aug 2021 18:52:15 +0200 From: Michael Gmelin To: "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" Subject: Should we include ttyu* to devfs_ruleset 3 (devfsrules_unhide_login)? Message-ID: <20210801185215.645cf0c8@bsd64.grem.de> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Gd6d74jkzz4mgy X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=uQ5mdze5; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-2.49 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.990]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-virtualization] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N Hi, There are many TTY devices in devfsrules_unhide_login=3, but ttyu* (serial lines) are not part of it. As a result, certain things won't work as expected when connecting over a serial console, one example being connecting to a local bhyve vm over serial console (e.g., `vm console myvm' when using vm-bhyve). The example that brought this to my attention is using ssh within a jail that's running inside of a VM, while being connected to that VM over serial console. So the setup is: - FreeBSD 13 host - bhyve vm running FreeBSD 13 on top - Jail using mount.devfs running within the bhyve vm, using the default devfs_ruleset inside of the bhyve vm (which in turn loads devfsrules_jail=4, which includes devfsrules_unhide_login=3). Now, ssh within that jail won't work, as /dev/tty can't be accessed. Example (while being connected to the vm over a serial line): # jail -c path=/ mount.devfs ip4=inherit command=ssh localhost Host key verification failed. jail: ssh localhost: failed Now, adding in an extra rule to ruleset 3: # devfs rule -s 3 add 3250 path "ttyu*" unhide Things work as expected: # jail -c path=/ mount.devfs ip4=inherit command=ssh localhost The authenticity of host 'localhost (127.0.0.1)' can't be established... Are you sure you want to continue connecting (yes/no)? Now the question is, would it make sense to add ttyu* (or at least ttyu0) to [devfsrules_unhide_login=3] in /etc/defaults/devfs.rules, or are there any (security) reasons why this might be a bad idea? Best, Michael -- Michael Gmelin From nobody Sun Aug 1 21:00:36 2021 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1439113465FF for ; Sun, 1 Aug 2021 21:00: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GdD78321Tz3hcc for ; Sun, 1 Aug 2021 21:00: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 33EF3133B3 for ; Sun, 1 Aug 2021 21:00:36 +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 171L0akq012799 for ; Sun, 1 Aug 2021 21:00:36 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 171L0a6E012798 for virtualization@FreeBSD.org; Sun, 1 Aug 2021 21:00:36 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202108012100.171L0a6E012798@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 Aug 2021 21:00:36 +0000 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16278516361.1dDA.12032" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N --16278516361.1dDA.12032 Date: Sun, 1 Aug 2021 21:00:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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 Open | 244838 | "bectl activate -t" does not honor the -t flag in 3 problems total for which you should take action. --16278516361.1dDA.12032--