From owner-freebsd-virtualization@freebsd.org Sun Jan 5 21:04: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 B86591E660C for ; Sun, 5 Jan 2020 21:04:18 +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 47rWNL20Jnz3H34 for ; Sun, 5 Jan 2020 21:04:18 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id C75B31E65F5; Sun, 5 Jan 2020 21:04: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 C71F71E65F4 for ; Sun, 5 Jan 2020 21:04: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) server-signature RSA-PSS (4096 bits) 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 47rWNK24fGz3H2n for ; Sun, 5 Jan 2020 21:04: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 386B939AD for ; Sun, 5 Jan 2020 21:04: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 005L4HHU097783 for ; Sun, 5 Jan 2020 21:04:17 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 005L4Hnt097774 for virtualization@FreeBSD.org; Sun, 5 Jan 2020 21:04:17 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202001052104.005L4Hnt097774@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, 5 Jan 2020 21:04:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 05 Jan 2020 21:04:18 -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 ------------+-----------+--------------------------------------------------- New | 240945 | [hyper-v] [netvsc] hn network driver incorrectly 1 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Mon Jan 6 00:49: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 5CDE91EBFCB for ; Mon, 6 Jan 2020 00:49: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 47rcNZ1sZmz3ykt for ; Mon, 6 Jan 2020 00:49:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3E1C51EBFC8; Mon, 6 Jan 2020 00:49: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 3CD031EBFC7 for ; Mon, 6 Jan 2020 00:49: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) server-signature RSA-PSS (4096 bits) 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 47rcNZ0nHQz3yks for ; Mon, 6 Jan 2020 00:49: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1654563A9 for ; Mon, 6 Jan 2020 00:49: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 0060nn6t059756 for ; Mon, 6 Jan 2020 00:49:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0060nnAE059752 for virtualization@FreeBSD.org; Mon, 6 Jan 2020 00:49: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Mon, 06 Jan 2020 00:49:43 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 06 Jan 2020 00:49:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #8 from John Hartley --- Hi MattS, no progress sorry, as I hit catch-22... Do get the VMWare VMTools Port built, I needed access to network, which I do not have ... :-( A bit of Murphy's law hit as well, as at the same time as finding the 11.3 = bug I also hit Ubuntu 19.10 kernel bug, which I also reported and have been wor= king to get this resolved. Given current dead-lock with networking (and X-mas / new year break having passed), I might try: 1. Create 11.3 build with VMWare Tools installed via VMWare and convert thi= s to KVM/QEMU VM via qemu-img utility and see if this works. 2. See if I can get full source code build going .... What we really need is person with serious FreeBSD Kernel / Driver contribu= tor to weigh in on this bug... I report back on strategy (1) once later today, as this is relatively simpl= e to try. Cheers, John --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Jan 6 05:38:44 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 C42F11F64CE for ; Mon, 6 Jan 2020 05:38:44 +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 47rknw4rSCz4FXd for ; Mon, 6 Jan 2020 05:38:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A45181F64CD; Mon, 6 Jan 2020 05:38:44 +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 A410B1F64CC for ; Mon, 6 Jan 2020 05:38:44 +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) server-signature RSA-PSS (4096 bits) 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 47rknw3w2kz4FXc for ; Mon, 6 Jan 2020 05:38: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 81C22990C for ; Mon, 6 Jan 2020 05:38: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 0065ciFk021042 for ; Mon, 6 Jan 2020 05:38:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0065cikC021041 for virtualization@FreeBSD.org; Mon, 6 Jan 2020 05:38: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Mon, 06 Jan 2020 05:38: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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 06 Jan 2020 05:38:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #9 from John Hartley --- Hi Matts, did some additional testing in hope of find easy resolution. 1. Tested FreeBSD 11.3 on VMWare with vmxnet3 network interface This works with build in vmx driver that is already part of pre-build drive= rs so there is no need to explicitly install Open VMWare Tools to get vmxnet3 driver working. 2. Change QEMU / KVM network device type to: vmxnet3 I was not aware that VMWare vmxnet3 was an available option for QEMU, but f= ound this when searching VMWare tools and QEMU / KVM. Result: still no network interface found... As counter point test I run 11.2 Live CD with vmxnet3 on QEMU / KVM and net= work interface was found. So there is definitely vmxnet3 support within QEMU / KVM / LibVirt on Ubuntu 19.10. Again problem appears to be 11.3 . So it looks like all potential quick work-around options are now closed off= and only way to fix this is via kernel / driver changes. Cheers, John. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Jan 6 13:17: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 E37851DD94C for ; Mon, 6 Jan 2020 13:17:59 +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 47rwzq5kvJz3D2h for ; Mon, 6 Jan 2020 13:17:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C32061DD94B; Mon, 6 Jan 2020 13:17:59 +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 C2E551DD94A for ; Mon, 6 Jan 2020 13:17:59 +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) server-signature RSA-PSS (4096 bits) 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 47rwzq4vHvz3D2g for ; Mon, 6 Jan 2020 13:17:59 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A3AEAEE5F for ; Mon, 6 Jan 2020 13:17:59 +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 006DHxkX038651 for ; Mon, 6 Jan 2020 13:17:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 006DHxht038650 for virtualization@FreeBSD.org; Mon, 6 Jan 2020 13:17:59 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 238095] Current console input freezes in hyperv gen 2 VM after randon amount of time Date: Mon, 06 Jan 2020 13:17:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael.adm@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.29 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, 06 Jan 2020 13:17:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238095 --- Comment #15 from Michael --- Faced an interesting moment. I install from the iso-image from 2019-12-05. FreeBSD-13.0-CURRENT-amd64-20191205-r355406-disc1.iso When loading an already working system at the time of the countdown of 10 seconds of the boot selection option, press Enter and get a completely free= zing system. If we do not touch anything (a countdown of 10 seconds occurs), the system boots and works. Made a complete system update. make buildworld && make buildkernel KERNCONF=3DGENERIC make installkernel KERNCONF=3DGENERIC make installworld mergemaster -Ui reboot ...the same - at the time of the countdown of 10 seconds of the boot select= ion option, press Enter and get a completely freezing system. If we do not touch anything (a countdown of 10 seconds occurs), the system boots and works. ok. mount -t msdosfs /dev/da0p1 /mnt cp /boot/loader.efi /mnt/EFI/freebsd reboot at the time of the countdown of 10 seconds of the boot selection option, pr= ess Enter and system boots normal, as it shuld. Could these spontaneous keyboard disappearances in running multiprocessor virtual machines be due to this? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240734 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Jan 6 20:04: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 7C4F41E86C3 for ; Mon, 6 Jan 2020 20:04: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 47s6112qV4z48W3 for ; Mon, 6 Jan 2020 20:04:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 60FB11E86C2; Mon, 6 Jan 2020 20:04: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 60C281E86C1 for ; Mon, 6 Jan 2020 20:04: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) server-signature RSA-PSS (4096 bits) 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 47s61120Ncz48W1 for ; Mon, 6 Jan 2020 20:04: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3FCFE1B9F2 for ; Mon, 6 Jan 2020 20:04: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 006K4bdV046140 for ; Mon, 6 Jan 2020 20:04:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 006K4bAZ046139 for virtualization@FreeBSD.org; Mon, 6 Jan 2020 20:04: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 242106] [panic] zfree(0xe4e9690,8224): wild pointer during install from 12.1R amd64 ISO in Parallels VM Date: Mon, 06 Jan 2020 20:04:37 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: krachynski@me.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.29 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, 06 Jan 2020 20:04:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242106 Ken Rachynski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krachynski@me.com --- Comment #1 from Ken Rachynski --- I reported this to Parallels and received the following reply: "Please be informed that the FreeBSD is supported till 12 and hence will not support 12.1 or later. We will take this as a feedback and forward it to our Product Management Team for their consideration." --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Jan 6 21:56: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 041461F40B0 for ; Mon, 6 Jan 2020 21:56:16 +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 47s8Tq6Mlxz4Hqh for ; Mon, 6 Jan 2020 21:56:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DA95A1F40AF; Mon, 6 Jan 2020 21:56: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 DA5BF1F40AE for ; Mon, 6 Jan 2020 21:56: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) server-signature RSA-PSS (4096 bits) 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 47s8Tq5TD0z4Hqg for ; Mon, 6 Jan 2020 21:56: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B755C1CE23 for ; Mon, 6 Jan 2020 21:56: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 006LuFKp088625 for ; Mon, 6 Jan 2020 21:56:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 006LuFEh088624 for virtualization@FreeBSD.org; Mon, 6 Jan 2020 21:56: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Mon, 06 Jan 2020 21:56:15 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: matt@snowtrek.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.29 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, 06 Jan 2020 21:56:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #10 from MattS --- Thanks for the update. It's my understanding that Proxmox(host)is not experiencing this issue. I don't use Proxmox, but I guess it doesn't use libvirt. So maybe a clue there. Any idea on how to actually get some attention on this bug? I really hate b= eing stuck on an EoL OS. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jan 7 00:17: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 7FAB81D8EB9 for ; Tue, 7 Jan 2020 00:17: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 47sCdJ2sn0z4Rfh for ; Tue, 7 Jan 2020 00:17:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 604D71D8EB8; Tue, 7 Jan 2020 00:17: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 601011D8EB6 for ; Tue, 7 Jan 2020 00:17: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) server-signature RSA-PSS (4096 bits) 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 47sCdJ1qf5z4Rfg for ; Tue, 7 Jan 2020 00:17: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A3411E7A5 for ; Tue, 7 Jan 2020 00:17: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 0070HueZ095819 for ; Tue, 7 Jan 2020 00:17:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0070HusD095809 for virtualization@FreeBSD.org; Tue, 7 Jan 2020 00:17: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 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Tue, 07 Jan 2020 00:17:56 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@gmail.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 07 Jan 2020 00:17:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #18 from Tommy P --- (In reply to John Hartley from comment #16) Thanks John for the feedback. Are you using the default GENERIC kernel? I didn't have any issues with my custom (trimmed of the GENERIC by removing unused drivers) kernel in conjunction with i440FX chipset. All of the VirtIO (block devices, NIC, memory balloon, etc) work OK. All of the SCSI control= lers (Hypervisor default and VirtIO SCSI models) in addition VirtIO Serial work = OK.=20 It's when I created a VM configuration with Q35 chipset instead of i440FX t= hat none of the VirtIO devices (including the VirtIO Serial & SCSI) are working= as per my previous troubleshooting (comment #5 - #7). Thus, I don't think it's relating the OVMF firmware configuration within KVM-QEMU nor the FreeBSD version. I'm pretty sure it's how the VirtIO devices are detected and load= ed as per FreeBSD's source code /usr/src/sys/dev/virtio/virtio_ids.h. If you compare the pciconf on a working i440FX VM system vs. a non working Q35 VM, you'll notice the matching 'card' ID to virtio_ids.h on the working i440FX = VM while the non-working Q35 VM doesn't have any. For example: none2@pci0:2:0:0: class=3D0x010000 card=3D0x11001af4 chip=3D0x10481af= 4 rev=3D0x01 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'Virtio SCSI' class =3D mass storage subclass =3D SCSI Here are the images of the my config: https://imgur.com/a/rftzjO3 Devices that are loaded and not loaded (no driver attached) root@d-fbsd:~ # ls /dev/*da* /dev/ada0 /dev/ada1 /dev/ada2p1 /dev/ada4 /dev/ada5p1= =20=20=20=20 /dev/da1 /dev/da2p1 /dev/da4 /dev/da5p1 /dev/da6p1 /dev/ada0p1 /dev/ada1p1 /dev/ada3 /dev/ada4p1 /dev/da0=20= =20=20=20=20=20=20 /dev/da1p1 /dev/da3 /dev/da4p1 /dev/da5p2 /dev/da6p2 /dev/ada0p2 /dev/ada2 /dev/ada3p1 /dev/ada5 /dev/da0p1= =20=20=20=20=20 /dev/da2 /dev/da3p1 /dev/da5 /dev/da6 root@d-fbsd:~ # dmesg | egrep -i 'scsi|mass stor|sym' pci2: at device 0.0 (no driver attached) sym0: <895a> port 0xe000-0xe0ff mem 0xfca02000-0xfca023ff,0xfca00000-0xfca0= 1fff irq 22 at device 0.0 on pci4 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking sym1: <895a> port 0xd000-0xd0ff mem 0xfc802000-0xfc8023ff,0xfc800000-0xfc80= 1fff irq 22 at device 0.0 on pci5 sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking da0 at sym0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SPC-3 SCSI device pass13: da1 at sym0 bus 0 scbus0 target 1 lun 0 Removable CD-ROM SCSI device da1: Fixed Direct Access SPC-3 SCSI device da2 at sym0 bus 0 scbus0 target 2 lun 0 pass13: 150.000MB/s transfers da2: Fixed Direct Access SPC-3 SCSI device da3 at sym0 bus 0 scbus0 target 3 lun 0 da3: Fixed Direct Access SPC-3 SCSI device da4 at sym0 bus 0 scbus0 target 4 lun 0 da4: Fixed Direct Access SPC-3 SCSI device da5 at sym1 bus 0 scbus1 target 5 lun 0 da5: Fixed Direct Access SPC-3 SCSI device da6 at sym1 bus 0 scbus1 target 6 lun 0 da6: Fixed Direct Access SPC-3 SCSI device root@d-fbsd:~ # uname -a FreeBSD d-fbsd 11.2-RELEASE-p15 FreeBSD 11.2-RELEASE-p15 #0 r356353: Sat Ja= n 4 16:10:17 PST 2020 root@d-fbsd:/usr/obj/usr/src11.2/sys/Custom amd64 Regarding the matrix, from my troubleshooting, everything should work as lo= ng as you use the i440FX. If you decide to use the Q35, do not use anything relating to VirtIO (SCSI and Serial storages, NIC, etc). BTW, if you use s= hell scripts to maintain your VMs, simply changing the configuration of i440FX to Q35 only would still work since the existing VirtIO devices are attached to= the PCI-ISA bus instead of PCIe-PCI (please see https://forums.freebsd.org/threads/freebsd-12-release-guest-in-qemu-kvm.702= 07/ and https://wiki.qemu.org/Features/Q35). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jan 7 00:53: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 7FDB41DCFE4 for ; Tue, 7 Jan 2020 00:53: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 47sDQp2v1Mz4TJb for ; Tue, 7 Jan 2020 00:53:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 631751DCFE3; Tue, 7 Jan 2020 00:53: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 61C0B1DCFE2 for ; Tue, 7 Jan 2020 00:53: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) server-signature RSA-PSS (4096 bits) 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 47sDQp1vNQz4TJZ for ; Tue, 7 Jan 2020 00:53: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3C81D1EEE6 for ; Tue, 7 Jan 2020 00:53: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 0070rsXK018241 for ; Tue, 7 Jan 2020 00:53:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0070rsAF018240 for virtualization@FreeBSD.org; Tue, 7 Jan 2020 00:53: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 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Tue, 07 Jan 2020 00:53:46 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@gmail.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 07 Jan 2020 00:53:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #19 from Tommy P --- More specific VM's configuration: PCI-E bus: -device virtio-serial-pci,id=3Dvirtio-serial0,bus=3Dpci.1,addr= =3D0x0 PCI bus: -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x6,drive=3Ddrive-virtio-disk0= ,id=3Dvirtio-disk0,bootindex=3D1=20 Note the bus=3Dpci.1 vs bus=3Dpci.0. If I'm correct, the pci.1 (PCI_ABI_VE= RSION) configure that device is connected to the PCI-E bus instead PCI (pci.0), wh= ich utilize different ID as per /usr/src/sys/dev/virtio/pci/virtio_pci.h: /* VirtIO PCI vendor/device ID. */ #define VIRTIO_PCI_VENDORID 0x1AF4 #define VIRTIO_PCI_DEVICEID_MIN 0x1000 #define VIRTIO_PCI_DEVICEID_MAX 0x103F /* VirtIO ABI version, this must match exactly. */ #define VIRTIO_PCI_ABI_VERSION 0 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jan 7 04:07: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 7C3B11F8F9B for ; Tue, 7 Jan 2020 04:07: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 47sJk92nM2z4dTw for ; Tue, 7 Jan 2020 04:07:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5DA0F1F8F9A; Tue, 7 Jan 2020 04:07: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 5D6701F8F99 for ; Tue, 7 Jan 2020 04:07: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) server-signature RSA-PSS (4096 bits) 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 47sJk91vPYz4dTv for ; Tue, 7 Jan 2020 04:07: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3CAB421252 for ; Tue, 7 Jan 2020 04:07:29 +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 00747TZ4081098 for ; Tue, 7 Jan 2020 04:07:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00747TG0081097 for virtualization@FreeBSD.org; Tue, 7 Jan 2020 04:07:29 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 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Tue, 07 Jan 2020 04:07: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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 07 Jan 2020 04:07:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #20 from John Hartley --- Hi Tommy P, thanks very much for response. Yes I am using GENERIC kernel, I did try a custom kernel removing all the unused devices but that also failed. Yes agree that issue relates to Q35. Since original posting I have done testing with Q35 with BIOS & OVMF Firmwa= re and find that with 11.3 and 12.x that VirtIO based device all fail. Unfortunately with 11.3 & 12.x all available NIC device options (not just VirtIO) also fail (e1000, e1000-82545em, rtl8130 & vmxnet3). So issue extends beyond just VirtIO based devices. It seems that between 11.2 and 11.3 there where some changes make to PCI sub-system the result of which is that the PCIe (??) enumeration if failing= to detect that NICs at all. Yesterday I tried to build a 11.3 kernel with 11.2 dev/pci code, but ended = up pulling in more code than I wanted, so likely pulled in the associated buggy commits to get kernel complied. Your tip on swapping to i440FX is worth looking at I assumed that as I have built OVMF VMs that thee would only work with Q35 as OVMF option is tied to this. I will do more building and testing later today. For my next build I will only keep dev/pci/pcireg.h file from 11.3 and wind back to 11.2 any (non PCI code)flow through changes that this breaks as par= t of this test. I am focused on pci code as Q35 is PCIe native VM and the dev/pci source tr= ee has a hold host of commit/reverts so hoping to at least be able to further isolate problem here. If I can get generic NICs enumerating then could fold in fix you have identified with VirtIO code and PCI identifiers... Thanks very much for feedback. Cheers, John Hartley. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jan 7 04:10: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 0E4DB1F93A3 for ; Tue, 7 Jan 2020 04:10: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 47sJn56hwsz4dXs for ; Tue, 7 Jan 2020 04:10:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E5F101F93A2; Tue, 7 Jan 2020 04:10: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 E5BC41F93A1 for ; Tue, 7 Jan 2020 04:10: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) server-signature RSA-PSS (4096 bits) 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 47sJn55tQCz4dXq for ; Tue, 7 Jan 2020 04:10: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C55872125A for ; Tue, 7 Jan 2020 04:10: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 0074A1ia085899 for ; Tue, 7 Jan 2020 04:10:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0074A1fx085897 for virtualization@FreeBSD.org; Tue, 7 Jan 2020 04:10: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 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Tue, 07 Jan 2020 04:10: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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 07 Jan 2020 04:10:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #21 from John Hartley --- (In reply to Kubilay Kocak from comment #2) Hi Kubilay, I have tried with Q35 v4 and v2.11 configured VMs. Always getting issue going from 11.2 to 11.3 or 12.x Cheers, John Hartley --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jan 7 09:53: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 728861FB8CE for ; Tue, 7 Jan 2020 09:53:27 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47sSPM0mc8z3wwh for ; Tue, 7 Jan 2020 09:53:27 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: by mailman.nyi.freebsd.org (Postfix) id 1A69B1FB8CD; Tue, 7 Jan 2020 09:53: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 1A2AD1FB8CC for ; Tue, 7 Jan 2020 09:53:27 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [176.74.240.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47sSPL0Hm2z3wwg for ; Tue, 7 Jan 2020 09:53:25 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 246FD117B; Tue, 7 Jan 2020 10:53:24 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uTEGWwx1fumy; Tue, 7 Jan 2020 10:53:23 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 68BF3117A for ; Tue, 7 Jan 2020 10:53:23 +0100 (CET) Subject: Re: Adding a different type of blockstore to Bhyve From: Willem Jan Withagen To: virtualization@FreeBSD.org References: <6e5508d0-4a41-8442-3807-8b9e22bba933@digiware.nl> Message-ID: <13c3951d-dd0e-7666-a56d-41f6368465c7@digiware.nl> Date: Tue, 7 Jan 2020 10:53:20 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <6e5508d0-4a41-8442-3807-8b9e22bba933@digiware.nl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 47sSPL0Hm2z3wwg X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wjw@digiware.nl designates 176.74.240.9 as permitted sender) smtp.mailfrom=wjw@digiware.nl X-Spamd-Result: default: False [-5.61 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[9.240.74.176.list.dnswl.org : 127.0.9.2]; DMARC_NA(0.00)[digiware.nl]; IP_SCORE(-3.11)[ip: (-9.76), ipnet: 176.74.224.0/19(-4.88), asn: 28878(-0.96), country: NL(0.03)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:28878, ipnet:176.74.224.0/19, country:NL]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 07 Jan 2020 09:53:27 -0000 On 30-12-2019 19:06, Willem Jan Withagen wrote: > Hi, > > One of the ways to run backing blockstore with KVM/Qemu is thru > the Ceph Rados Block Device (RBD). > https://github.com/qemu/qemu/blame/master/block/rbd.c > > And is make it possible use as boot-image or other blockdevice. Where > the virtual machine using this image can migrate to another Dom0 host. > > I've been working on Ceph for quite some time, and one of the ways to > offer a block device on FreeBSD is with rbd-ggate. > This works thru geom-gate and will give a /dev/ggate# device that is > mapped to an image in a rados pool. > > And I not into migration for Bhyve, but I would like to integrate RBD > into Bhyve as an alternative backing store.... > > Something like: >   bhyve -s 1,virtio-blk,rbd:poolname/imagename[@snapshotname] \ >                          [:option1=value1[:option2=value2...]] > > So started browsing the bhyve code, and end up in block_if.{hc}. > But code there is rather strongly targeted towards a local > filesystem storage.... > > I also ran into net_backends.{ch}, and I guess it would be a nicer > solution to create a block_backends.{ch} as well for interfacing to > more than just one blockstore provider. > And then load the RBD provider in the chain of blockstore providers. > That way would it even be possible to make that code dl-loadable in > case the LGPL ceph code is not directly importable in the usr.sbin > tree. (Which I suspect it is) > > The alternative is to start using the /dev/ggate# devices but then > we probably lose the option of live migration. > And performance takes a serious hit: >     A block write/read would go from the vm kernel >     to the bhyve process in userspace. >     Then it would go to/dev/ggate# and again end up in the kernel >     only to have geom-gate send it back to userspace >     where rbd-ggate sends it to the cluster. > > Just typing this data flow is a lot of steps, showing that this > might not be the best architecture. > > So the questions are: > 1)   Is the abstraction of block_backends.{ch} the way to go? > 1.1) And would the extra indirection there be acceptable? >      (For network devices it seems no problem) > > 2)   Does anybody already have such a framework for blockdevs? >      (Otherwise I'll try to morph the net_backends.{ch} > > 3)   Other suggestions I need to consider? Looking for reviewers of: https://reviews.freebsd.org/D23010 In the days after newyear I made a first attempt to refactor the block_if stuff into a generic backend: blockbe_ and and implementation of the local storage: lockblk_ I've submitted it to phabricator, and I'm seeking reviews and ultimately somebody that will commit this when all issues are worked out. --WjW From owner-freebsd-virtualization@freebsd.org Tue Jan 7 16:51:12 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 8DA521ECB66 for ; Tue, 7 Jan 2020 16:51:12 +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 47sdgN3JFMz4LCq for ; Tue, 7 Jan 2020 16:51:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6F60F1ECB64; Tue, 7 Jan 2020 16:51:12 +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 6F2121ECB63 for ; Tue, 7 Jan 2020 16:51:12 +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) server-signature RSA-PSS (4096 bits) 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 47sdgN2KTVz4LCp for ; Tue, 7 Jan 2020 16:51:12 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4B4771DEE for ; Tue, 7 Jan 2020 16:51:12 +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 007GpCWr044861 for ; Tue, 7 Jan 2020 16:51:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 007GpCET044844 for virtualization@FreeBSD.org; Tue, 7 Jan 2020 16:51:12 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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Tue, 07 Jan 2020 16:51:12 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@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: 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.29 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, 07 Jan 2020 16:51:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 Tommy P changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tommyhp2@gmail.com --- Comment #11 from Tommy P --- Hi John, I decided to post here instead of my bug report (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922) since it adds = OVMF testing. I've just created a OVMF + Q35 VM for 12.0 fresh install. Intel NIC driver works fine for me with the original default install kernel and custom updat= ed kernel. Note the 'Hypervisor default' SCSI (sym0) loaded below: root@fbsd12-ovmf:~ # uname -a FreeBSD fbsd12-ovmf 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 root@fbsd12-ovmf:~ # dmesg | egrep -i 'scsi|mass stor|sym|sata' sym0: <895a> port 0xb000-0xb0ff mem 0x98c02000-0x98c023ff,0x98c00000-0x98c0= 1fff irq 22 at device 0.0 on pci2 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking pci3: at device 0.0 (no driver attached) ahci0: port 0xc240-0xc25f mem 0x99002000-0x99002fff irq 16 at device 31.2 on pci0 ada0: ATA-7 SATA device ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) cd0: Removable CD-ROM SCSI device cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) root@fbsd12-ovmf:~ # uname -a FreeBSD fbsd12-ovmf 12.0-RELEASE-p12 FreeBSD 12.0-RELEASE-p12 r356437 GENER= IC=20 amd64 Please note that all VirtIO connected devices still fail to load as per my = bug report. Unfortunately, UEFI boot process is a bit more complicated and, th= us, I can't simply switch the HDD bus from SATA to SCSI :(. When I tried a fre= sh install of 12.0 to the 'Hypervisor default' SCSI, the install is unable to detect the attached SCSI HDD... Exiting the install to shell to debug, sym driver is already loaded in the kernel but doesn't show up dmesg. Thus, un= able to troubleshoot further with installing to or booting from the SCSI HDD. :(= If I boot from SATA, all non-VirtIO works as expected: root@fbsd12-ovmf:~ # uname -a FreeBSD fbsd12-ovmf 12.0-RELEASE-p12 FreeBSD 12.0-RELEASE-p12 r356437 GENER= IC=20 amd64 root@fbsd12-ovmf:~ # dmesg | egrep -i 'scsi|mass stor|sym|sata|em0' sym0: <895a> port 0xb000-0xb0ff mem 0x98c02000-0x98c023ff,0x98c00000-0x98c0= 1fff irq 22 at device 0.0 on pci2 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking pci3: at device 0.0 (no driver attached) em0: port 0x6000-0x603f mem 0x98000000-0x9801ffff irq 21 at device 1.0 on pci8 em0: attach_pre capping queues at 1 em0: using 1024 tx descriptors and 1024 rx descriptors em0: allocated for 1 tx_queues em0: allocated for 1 rx_queues em0: Ethernet address: 52:54:00:f2:70:9c ahci0: port 0xc240-0xc25f mem 0x99002000-0x99002fff irq 16 at device 31.2 on pci0 da0 at sym0 bus 0 scbus0 target 2 lun 0 da0: Fixed Direct Access SPC-3 SCSI device ada0: ATA-7 SATA device ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) cd0: Removable CD-ROM SCSI device cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) em0: link state changed to UP Perhaps something broken during the upgrade from 11.2? Is your boot/OS disk SATA or SCSI? Just a FIY, not all SCSI/RAID hardware HBA supports UEFI boo= t, IIRC. Thus, I don't think the emulated 'Hypervisor default' SCSI does eith= er :( Here's my pciconf output when boot from SATA: none1@pci0:1:0:0: class=3D0x020000 card=3D0x11001af4 chip=3D0x10411af= 4 rev=3D0x01 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'Virtio network device' class =3D network subclass =3D ethernet bar [14] =3D type Memory, range 32, base 0x98e00000, size 4096, enabl= ed bar [20] =3D type Prefetchable Memory, range 64, base 0x800000000, si= ze 16384, enabled cap 11[dc] =3D MSI-X supports 3 messages Table in map 0x14[0x0], PBA in map 0x14[0x800] cap 09[c8] =3D vendor (length 20) cap 09[b4] =3D vendor (length 20) cap 09[a4] =3D vendor (length 16) cap 09[94] =3D vendor (length 16) cap 09[84] =3D vendor (length 16) cap 01[7c] =3D powerspec 3 supports D0 D3 current D0 cap 10[40] =3D PCI-Express 2 endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) sym0@pci0:2:0:0: class=3D0x010000 card=3D0x10000000 chip=3D0x0012100= 0 rev=3D0x00 hdr=3D0x00 vendor =3D 'LSI Logic / Symbios Logic' device =3D '53c895a' class =3D mass storage subclass =3D SCSI bar [10] =3D type I/O Port, range 32, base 0xb000, size 256, enabled bar [14] =3D type Memory, range 32, base 0x98c02000, size 1024, enabl= ed bar [18] =3D type Memory, range 32, base 0x98c00000, size 8192, enabl= ed none2@pci0:3:0:0: class=3D0x010000 card=3D0x11001af4 chip=3D0x10481af= 4 rev=3D0x01 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'Virtio SCSI' class =3D mass storage subclass =3D SCSI bar [14] =3D type Memory, range 32, base 0x98a00000, size 4096, enabl= ed bar [20] =3D type Prefetchable Memory, range 64, base 0x800100000, si= ze 16384, enabled cap 11[dc] =3D MSI-X supports 4 messages Table in map 0x14[0x0], PBA in map 0x14[0x800] cap 09[c8] =3D vendor (length 20) cap 09[b4] =3D vendor (length 20) cap 09[a4] =3D vendor (length 16) cap 09[94] =3D vendor (length 16) cap 09[84] =3D vendor (length 16) cap 01[7c] =3D powerspec 3 supports D0 D3 current D0 cap 10[40] =3D PCI-Express 2 endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) BTW, my host OS is an updated Ubuntu 18.04.3 LTS. I don't know if that has= any bearing vs 19.x --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jan 7 23:58:17 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 81BA21F6AA3 for ; Tue, 7 Jan 2020 23:58:17 +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 47sq892yXJz3LKC for ; Tue, 7 Jan 2020 23:58:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 658FB1F6AA1; Tue, 7 Jan 2020 23:58: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 655811F6AA0 for ; Tue, 7 Jan 2020 23: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) server-signature RSA-PSS (4096 bits) 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 47sq8926Lkz3LKB for ; Tue, 7 Jan 2020 23: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 440677204 for ; Tue, 7 Jan 2020 23: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 007NwH7g098713 for ; Tue, 7 Jan 2020 23: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 007NwHwr098712 for virtualization@FreeBSD.org; Tue, 7 Jan 2020 23: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 234838] ena drop-outs on 12.0-RELEASE Date: Tue, 07 Jan 2020 23:58:16 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: leif@ofWilsonCreek.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 07 Jan 2020 23:58:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234838 --- Comment #12 from Leif Pedersen --- It's decidedly still a problem on 12.1. I see these kernel messages: Jan 7 04:15:15 beta kernel: ena0: The number of lost tx completion is above the threshold (129 > 128). Reset the device Jan 7 04:15:15 beta kernel: ena0: Trigger reset is on Jan 7 04:15:15 beta kernel: ena0: device is going DOWN Jan 7 04:15:17 beta kernel: ena0: free uncompleted tx mbuf qid 1 idx 0x2ba Jan 7 04:15:18 beta kernel: ena0: device is going UP Jan 7 04:15:18 beta kernel: ena0: link is UP And during shutdown: Jan 7 05:15:45 beta kernel: ena_dma_alloc() [TID:100031]: bus_dmamem_alloc(16384) failed: 12 Jan 7 05:15:45 beta kernel:=20=20 Jan 7 05:15:45 beta kernel: ena_com_init_io_sq() [TID:100031]: memory allocation failed=20 Jan 7 05:15:45 beta kernel: ena0: Failed to create io TX queue #0 rc: 12 Jan 7 05:15:45 beta kernel: ena_up() [TID:100031]: create IO queues failed= =20 Jan 7 05:15:46 beta kernel: ena0: Failed to create I/O queues Jan 7 05:15:46 beta kernel: ena0: ENA reset failed! Jan 7 05:54:50 beta kernel: ena0: device is not running! Jan 7 09:10:27 beta kernel: Stopping cron. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jan 7 23:59: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 E44B21F6B2E for ; Tue, 7 Jan 2020 23:59: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 47sq9t5mLTz3LN1 for ; Tue, 7 Jan 2020 23:59:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C5E1D1F6B2D; Tue, 7 Jan 2020 23:59: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 C5ABF1F6B2C for ; Tue, 7 Jan 2020 23:59: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) server-signature RSA-PSS (4096 bits) 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 47sq9t4xLYz3LMy for ; Tue, 7 Jan 2020 23:59: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A08E67209 for ; Tue, 7 Jan 2020 23:59: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 007NxkdT000514 for ; Tue, 7 Jan 2020 23:59:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 007Nxk06000513 for virtualization@FreeBSD.org; Tue, 7 Jan 2020 23:59: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 234838] ena drop-outs on 12.0-RELEASE Date: Tue, 07 Jan 2020 23:59:46 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: leif@ofWilsonCreek.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 07 Jan 2020 23:59:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234838 --- Comment #13 from Leif Pedersen --- To elaborate - the resets happen every few minutes, and do cause the machin= e to go unavailable at least some of the time. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jan 8 00:15: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 2B3FB1F72EB for ; Wed, 8 Jan 2020 00:15:05 +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 47sqWY0PFGz3MNM for ; Wed, 8 Jan 2020 00:15:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0B58F1F72EA; Wed, 8 Jan 2020 00:15: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 0B1EA1F72E9 for ; Wed, 8 Jan 2020 00:15: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) server-signature RSA-PSS (4096 bits) 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 47sqWX6dgGz3MNL for ; Wed, 8 Jan 2020 00:15: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DCFFF75EB for ; Wed, 8 Jan 2020 00:15: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 0080F4Du082697 for ; Wed, 8 Jan 2020 00:15:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0080F4BA082689 for virtualization@FreeBSD.org; Wed, 8 Jan 2020 00:15: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 234838] ena drop-outs on 12.0-RELEASE Date: Wed, 08 Jan 2020 00:15:03 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cperciva@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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 08 Jan 2020 00:15:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234838 --- Comment #14 from Colin Percival --- Ooh, every few minutes is *definitely* interesting. Can you tell me how to reproduce this (maybe via email if there's anything private involved)? It's hard to debug "approx. once a week on average" but if I can trigger this on= a timescale of minutes I can add debugging, make effective use of dtrace, etc. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jan 8 01:34:32 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 3C4151F891C for ; Wed, 8 Jan 2020 01:34:32 +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 47ssHD0vzyz3QXC for ; Wed, 8 Jan 2020 01:34:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1D6F41F891B; Wed, 8 Jan 2020 01:34:32 +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 1C1CB1F891A for ; Wed, 8 Jan 2020 01:34:32 +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) server-signature RSA-PSS (4096 bits) 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 47ssHC6twYz3QXB for ; Wed, 8 Jan 2020 01:34:31 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E7A9984CB for ; Wed, 8 Jan 2020 01:34:31 +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 0081YVLP069057 for ; Wed, 8 Jan 2020 01:34:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0081YVRV069054 for virtualization@FreeBSD.org; Wed, 8 Jan 2020 01:34:31 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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Wed, 08 Jan 2020 01:34:31 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 08 Jan 2020 01:34:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #12 from John Hartley --- Hi Tommy T, I am a bit puzzled, you our posting... Your pciconf (below): <> none1@pci0:1:0:0: class=3D0x020000 card=3D0x11001af4 chip=3D0x10411af= 4 rev=3D0x01 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'Virtio network device' class =3D network subclass =3D ethernet bar [14] =3D type Memory, range 32, base rx98e00000, size 4096, enabl= ed bar [20] =3D type Prefetchable Memory, range 64, base rx800000000, si= ze 16384, enabled cap 11[dc] =3D MSI-X supports 3 messages Table in map 0x14[0x0], PBA in map 0x14[0x800] cap 09[c8] =3D vendor (length 20) cap 09[b4] =3D vendor (length 20) cap 09[a4] =3D vendor (length 16) cap 09[94] =3D vendor (length 16) cap 09[84] =3D vendor (length 16) cap 01[7c] =3D powerspec 3 supports D0 D3 current D0 cap 10[40] =3D PCI-Express 2 endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) sym0@pci0:2:0:0: class=3D0x010000 card=3D0x10000000 chip=3D0x0012100= 0 rev=3D0x00 hdr=3D0x00 vendor =3D 'LSI Logic / Symbios Logic' device =3D '53c895a' class =3D mass storage subclass =3D SCSI bar [10] =3D type I/O Port, range 32, base rxb000, size 256, enabled bar [14] =3D type Memory, range 32, base rx98c02000, size 1024, enabl= ed bar [18] =3D type Memory, range 32, base rx98c00000, size 8192, enabl= ed none2@pci0:3:0:0: class=3D0x010000 card=3D0x11001af4 chip=3D0x10481af= 4 rev=3D0x01 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'Virtio SCSI' class =3D mass storage subclass =3D SCSI bar [14] =3D type Memory, range 32, base rx98a00000, size 4096, enabl= ed bar [20] =3D type Prefetchable Memory, range 64, base rx800100000, si= ze 16384, enabled cap 11[dc] =3D MSI-X supports 4 messages Table in map 0x14[0x0], PBA in map 0x14[0x800] cap 09[c8] =3D vendor (length 20) cap 09[b4] =3D vendor (length 20) cap 09[a4] =3D vendor (length 16) cap 09[94] =3D vendor (length 16) cap 09[84] =3D vendor (length 16) cap 01[7c] =3D powerspec 3 supports D0 D3 current D0 cap 10[40] =3D PCI-Express 2 endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) <> This shows VirtIO SCSI & VirtIO Network... but you state that you cannot get VirtIO going (which is same problem I have). Is this pciconf report from i440FX QEMU/KVM machine rather than a Q35 one ? I have not managed to flip my test VM from Q35 to i440FX as per discussion = in your bug thread yet as I got into large regression build. I am now part way through building new kernel that is 11.3 with mutant most= ly 11.2 networking sub-system. I say mostly 11.2 networking, as I believe that the VirtIO network version = ID bug you identified in combination of possible introduction of defect with changes in the netmap 11.3 code. This is why your fix was not enough and why all the network interfaces are broken not just VirtIO. My mutant 11.3 Kernel + 11.2 Network build got much bigger than expected as= the 11.3 netmap code results in ripple through impact down into all of the driv= er code and also up into the network abstraction layers :-( So when I wound back to 11.2 netmap I have to also wind back on these impac= ts. I am almost there I believe this this "regressed 11.3" custom kernel. If I am right about netmap problem (I hope I am ...), then I can home on the specific issue with this code section. I hope to test soon, after many many builds... Thanks again for your tips and insights. Cheers, John --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jan 8 01:56: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 E1A371F8E0C for ; Wed, 8 Jan 2020 01:56:15 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47ssmH1jL5z3RJ0 for ; Wed, 8 Jan 2020 01:56:11 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (c-73-225-95-104.hsd1.wa.comcast.net [73.225.95.104]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id 0081u9n8023389 (version=TLSv1.2 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 7 Jan 2020 17:56:10 -0800 (PST) (envelope-from julian@freebsd.org) To: FreeBSD virtualization mailing list From: Julian Elischer Subject: Bhyve and QEMU Message-ID: <18b96e90-6624-0af8-9ae8-c8125ec8b147@freebsd.org> Date: Tue, 7 Jan 2020 17:56:04 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 47ssmH1jL5z3RJ0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.94 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.95)[-0.953,0]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; ASN(0.00)[asn:36236, ipnet:204.109.60.0/22, country:US] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 08 Jan 2020 01:56:16 -0000 I have been out of it for a while but I see that in Linux, KVM is used as an emulation engine in QEMU. Do we have any plans to do the same with Bhyve? Anyone have pointers as to how that combination works and if there are reasons we would/would-not do the same? Julian From owner-freebsd-virtualization@freebsd.org Wed Jan 8 02:16: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 1F0ED1F9765 for ; Wed, 8 Jan 2020 02:16:59 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (flets-sg1026.kamome.or.jp [202.216.24.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47stDB24tLz3xTp; Wed, 8 Jan 2020 02:16:57 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [202.216.24.26]) by kx.truefc.org (8.15.2/8.15.2) with ESMTP id 0082GtMg094946; Wed, 8 Jan 2020 11:16:55 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202001080216.0082GtMg094946@kx.truefc.org> Date: Wed, 08 Jan 2020 11:16:55 +0900 From: KIRIYAMA Kazuhiko To: Julian Elischer Cc: FreeBSD virtualization mailing list Subject: Re: Bhyve and QEMU In-Reply-To: <18b96e90-6624-0af8-9ae8-c8125ec8b147@freebsd.org> References: <18b96e90-6624-0af8-9ae8-c8125ec8b147@freebsd.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 47stDB24tLz3xTp X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kiri@truefc.org has no SPF policy when checking 202.216.24.26) smtp.mailfrom=kiri@truefc.org X-Spamd-Result: default: False [2.42 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[truefc.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.54)[0.540,0]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.74)[0.739,0]; R_SPF_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4704, ipnet:202.216.0.0/19, country:JP]; IP_SCORE(0.04)[asn: 4704(0.15), country: JP(0.03)]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 08 Jan 2020 02:16:59 -0000 Hi, Julian On Wed, 08 Jan 2020 10:56:04 +0900, Julian Elischer wrote: > > I have been out of it for a while but I see that in Linux, KVM is used > as an emulation engine in QEMU. > > Do we have any plans to do the same with Bhyve? I really want to use defferent archtecture in bhyve. In order to use amd64/aarc64 with same user interface, I'm now re-constructing sysutils/vm-bhyve. > > Anyone have pointers as to how that combination works and if there are > reasons we would/would-not do the same? > > > Julian > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > --- Kazuhiko Kiriyama From owner-freebsd-virtualization@freebsd.org Wed Jan 8 04:56:48 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 A9CA41FBC7D for ; Wed, 8 Jan 2020 04:56:48 +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 47sxmc46Jvz44W3 for ; Wed, 8 Jan 2020 04:56:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8CDD41FBC7C; Wed, 8 Jan 2020 04:56: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 8CA341FBC7B for ; Wed, 8 Jan 2020 04:56: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) server-signature RSA-PSS (4096 bits) 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 47sxmc3Gt9z44W2 for ; Wed, 8 Jan 2020 04:56: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4E969A9C3 for ; Wed, 8 Jan 2020 04:56: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 0084umii078681 for ; Wed, 8 Jan 2020 04:56:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0084umk7078678 for virtualization@FreeBSD.org; Wed, 8 Jan 2020 04:56: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Wed, 08 Jan 2020 04:56:47 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@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.29 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, 08 Jan 2020 04:56:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #13 from Tommy P --- (In reply to John Hartley from comment #12) Hi John, If you look again at the pciconf output: none1@pci0:1:0:0 Implies that no driver were loaded for that pci device at slot 0:1:0:0 since FreeBSD's VirtIO drivers currently does not support PCI-E bus. The rest of= the pciconf are for debugging driver. For the other output such as: sym0@pci0:2:0:0 Implies that FreeBSD's LSI/Symbios SCSI (sym) were loaded successfully. Th= us, any HDD attached to that controller would work. Unfortunately, I don't thi= nk this SCSI controller supports UEFI boot. Here are the details of pciconf, from my understanding, of how FreeBSD's Vi= rtIO drivers work: none1@pci0:1:0:0: class=3D0x020000 card=3D0x11001af4 chip=3D0x10411af= 4 rev=3D0x01 hdr=3D0x00 *) rev=3D0x01 implies PCI-E bus while rev=3D0x00 implies PCI bus *) last 4 digits of card/chip implies the vendor ID: 0x1af4 (per /usr/src/sys/dev/virtio/pci/virtio_pci.h) *) if device is on PCI bus, the first 4 digits of 'card' imply device type = (per /usr/src/sys/dev/virtio/virtio_ids.h) *) if device is on PCI-E bus, the first 4 digits of 'chip' - 0x1040 should match device type from /usr/src/sys/dev/virtio/virtio_ids.h. Thus, 0x1041 - 0x1040 =3D 0x1 which is VirtIO NIC per pciconf's verbose out= put: #define VIRTIO_ID_NETWORK 1 And 0x1048 - 0x1040 =3D 0x8 which is VirtIO SCSI: #define VIRTIO_ID_SCSI 8 The current VirtIO drivers does not have the necessary codes to detect the device ID connected to the PCI-E bus nor have the correct memory address to attach the driver for that same bus. As for non VirtIO not working, my fresh install of 12.0 using OVMF works OK= for both sym SCSI and em NIC. I don't have 11.2 OVMF to test upgrade. But all= of my non OVMF VMs work OK too except where Q35 + VirtIO are concerned as per = my bug report. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jan 8 14:31:39 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 889091F0589 for ; Wed, 8 Jan 2020 14:31:39 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from smtp-b.userve.net (smtp-outbound.userve.net [217.196.1.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.userve.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47tBWt3QKtz4YPH for ; Wed, 8 Jan 2020 14:31:38 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from owa.usd-group.com (owa.usd-group.com [217.196.1.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-b.userve.net (Postfix) with ESMTPS id 4DCB91BC for ; Wed, 8 Jan 2020 14:31:35 +0000 (GMT) Received: from SERVER.ad.usd-group.com (192.168.0.1) by SERVER.ad.usd-group.com (192.168.0.1) with Microsoft SMTP Server (TLS) id 15.0.847.32; Wed, 8 Jan 2020 14:31:34 +0000 Received: from SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9]) by SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9%12]) with mapi id 15.00.0847.030; Wed, 8 Jan 2020 14:31:34 +0000 From: Matt Churchyard To: "freebsd-virtualization@freebsd.org" Subject: bhyve issues on Dell C6220 node Thread-Topic: bhyve issues on Dell C6220 node Thread-Index: AdXGKjEP6n7LMmeCSYyZ5P0RRm7iRw== Date: Wed, 8 Jan 2020 14:31:33 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.0.10] MIME-Version: 1.0 X-Rspamd-Queue-Id: 47tBWt3QKtz4YPH X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.01 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[userve.net:s=201901]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.196.1.0/24]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[userve.net:+]; DMARC_POLICY_ALLOW(-0.50)[userve.net,reject]; RCVD_IN_DNSWL_NONE(0.00)[22.1.196.217.list.dnswl.org : 127.0.10.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20652, ipnet:217.196.0.0/20, country:GB]; IP_SCORE(-0.02)[country: GB(-0.08)] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 08 Jan 2020 14:31:39 -0000 Hello, I've recently got hold of some Dell C6220 systems (2 servers in a single ch= assis) while I was hoping to use for bhyve The basic spec of a single server is as follows - Xeon(R) CPU E5-2670 (VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID) 64GB DDR3 LSI MegaRaid 9265-8i FreeBSD 12.1 I had a bit of trouble getting the disks configured and booting (**probably= unrelated but see below for the details). However, my main problem at the moment is that booting either 11.3 or 12.1 = in a bhyve guest (using bhyveload) gets as far as starting to boot from the= install ISO, then just hangs " Loading kernel... /boot/kernel/kernel text=3D0x168fdf1 data=3D0x1d0a68+0x768d80 syms=3D[0x8+0= x178bc0+0x8+0x1969d5] Loading configured modules... can't find '/boot/entropy' / " I get either a "|" or "/" character, then nothing else. I've also tested a windows server 2016 guest, and while that will actually = install via UEFI, it is noticeably slow - over a minute to boot to the logi= n screen and everything crawls along I'm at a loss at the moment. My test machine for years has been an old i3-2= 100 system and that has always booted freebsd & windows guests fairly well I'd be grateful if anyone has any ideas or insight, or whether I just need = to scrap the whole idea and either switch to a completely different hypervi= sor (which I'd really rather not do as I know FreeBSD very well and was pla= nning on making use of ZFS for backups/migration/etc) or find some differen= t systems **Regarding the disks, I didn't really want a raid controller and have ende= d up creating a jbod (RAID0) volume for each disk, which appears as mfidX. = This seems to work fine, although at first I tried to create a single pool = of 2 mirrored pairs (4 disks). This failed to boot due to zfs block i/o err= ors on boot. In the end I had to create a separate boot mirror across 2 par= titions, the create a second pool for actual data storage. Regards, Matt Churchyard From owner-freebsd-virtualization@freebsd.org Wed Jan 8 21:03: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 4C12F1FAD39 for ; Wed, 8 Jan 2020 21:03: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 47tMDB1Mcjz48b7 for ; Wed, 8 Jan 2020 21:03:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2EDD31FAD38; Wed, 8 Jan 2020 21:03: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 2EA4C1FAD37 for ; Wed, 8 Jan 2020 21:03: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) server-signature RSA-PSS (4096 bits) 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 47tMDB0Wfhz48b6 for ; Wed, 8 Jan 2020 21:03: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0D5201E13F for ; Wed, 8 Jan 2020 21:03: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 008L3bVp035364 for ; Wed, 8 Jan 2020 21:03:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 008L3bxd035357 for virtualization@FreeBSD.org; Wed, 8 Jan 2020 21:03: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Wed, 08 Jan 2020 21:03: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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 08 Jan 2020 21:03:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #14 from John Hartley --- Hi Tommy T, thanks again for into. Your freebsd 12.0 pciconf is definitely different to mine. Is this due to your debug kernel reporting differently to standard GENERIC ? I am now just doing Live CD boots to see what works and what doesn't as it avoids having to go through lots of install steps that just result in failed install... ;-) BTW: here is my Ubuntu and QEMU version info: > virsh -c qemu:///system version --daemon Compiled against library: libvirt 5.4.0 Using library: libvirt 5.4.0 Using API: QEMU 5.4.0 Running hypervisor: QEMU 4.0.0 Running against daemon: 5.4.0 uname -a Linux blue 5.3.0-26-generic #28-Ubuntu SMP Wed Dec 18 05:37:46 UTC 2019 x86= _64 x86_64 x86_64 GNU/Linux $ cat /etc/*-release DISTRIB_ID=3DUbuntu DISTRIB_RELEASE=3D19.10 DISTRIB_CODENAME=3Deoan DISTRIB_DESCRIPTION=3D"Ubuntu 19.10" NAME=3D"Ubuntu" VERSION=3D"19.10 (Eoan Ermine)" ID=3Dubuntu ID_LIKE=3Ddebian PRETTY_NAME=3D"Ubuntu 19.10" VERSION_ID=3D"19.10" HOME_URL=3D"https://www.ubuntu.com/" SUPPORT_URL=3D"https://help.ubuntu.com/" BUG_REPORT_URL=3D"https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL=3D"https://www.ubuntu.com/legal/terms-and-policies/priva= cy-policy" VERSION_CODENAME=3Deoan UBUNTU_CODENAME=3Deoan Still working on my GENERIC 11.3 (with 11.2) build. I am almost there now. Cheers, John, --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jan 8 21:37: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 A4AF71FBD2C for ; Wed, 8 Jan 2020 21:37:45 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47tMzX1gT8z4Blc for ; Wed, 8 Jan 2020 21:37:43 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 008LbZJ2091676; Wed, 8 Jan 2020 13:37:35 -0800 (PST) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 008LbZl9091675; Wed, 8 Jan 2020 13:37:35 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202001082137.008LbZl9091675@gndrsh.dnsmgr.net> Subject: Re: bhyve issues on Dell C6220 node In-Reply-To: To: Matt Churchyard Date: Wed, 8 Jan 2020 13:37:35 -0800 (PST) CC: "freebsd-virtualization@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 47tMzX1gT8z4Blc X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [1.04 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.35)[-0.354,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.46)[0.461,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.03)[ip: (0.14), ipnet: 69.59.192.0/19(0.07), asn: 13868(0.02), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 08 Jan 2020 21:37:45 -0000 > Hello, > > I've recently got hold of some Dell C6220 systems (2 servers in a single chassis) while I was hoping to use for bhyve > The basic spec of a single server is as follows - > > Xeon(R) CPU E5-2670 (VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID) > 64GB DDR3 > LSI MegaRaid 9265-8i > FreeBSD 12.1 > > I had a bit of trouble getting the disks configured and booting (**probably unrelated but see below for the details). > > However, my main problem at the moment is that booting either 11.3 or 12.1 in a bhyve guest (using bhyveload) gets as far as starting to boot from the install ISO, then just hangs > > " > Loading kernel... > /boot/kernel/kernel text=0x168fdf1 data=0x1d0a68+0x768d80 syms=[0x8+0x178bc0+0x8+0x1969d5] > Loading configured modules... > can't find '/boot/entropy' > / > " > > I get either a "|" or "/" character, then nothing else. My experience has been when I see this it is a "wrong console" issue, ie the kernel has decided to use something else for a console and your output is going there. It might be your setup using a UEFI with a fb console up to the end of the loader, then the kernel decides it is using a serial console. Or vice versa. > > I've also tested a windows server 2016 guest, and while that will actually install via UEFI, it is noticeably slow - over a minute to boot to the login screen and everything crawls along > > I'm at a loss at the moment. My test machine for years has been an old i3-2100 system and that has always booted freebsd & windows guests fairly well > > I'd be grateful if anyone has any ideas or insight, or whether I just need to scrap the whole idea and either switch to a completely different hypervisor (which I'd really rather not do as I know FreeBSD very well and was planning on making use of ZFS for backups/migration/etc) or find some different systems > > > **Regarding the disks, I didn't really want a raid controller and have ended up creating a jbod (RAID0) volume for each disk, which appears as mfidX. This seems to work fine, although at first I tried to create a single pool of 2 mirrored pairs (4 disks). This failed to boot due to zfs block i/o errors on boot. In the end I had to create a separate boot mirror across 2 partitions, the create a second pool for actual data storage. > > Regards, > Matt Churchyard > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-virtualization@freebsd.org Wed Jan 8 21:59: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 D28661FC5C3 for ; Wed, 8 Jan 2020 21:59:28 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: from mail-oi1-f195.google.com (mail-oi1-f195.google.com [209.85.167.195]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 47tNSc0z72z4ClP for ; Wed, 8 Jan 2020 21:59:27 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: by mail-oi1-f195.google.com with SMTP id p125so4065640oif.10 for ; Wed, 08 Jan 2020 13:59:27 -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=wnoncx8YjYNzbsH4c01G7CeSFXENAP5jMmYc0c58pto=; b=SCuZbcc4hfFmeDCGfJizMb0v8et/2R0/4Y0FQK4Nputm1+UVw6rj9ZTCC2ZTmdSXM/ XXmD7uoisxTesicXWOOO7SXFF8ypeygJKx0Q2F/9Tbppaac6VW8gpXInnT0sp7Jxklkz DqoWbUAzty3sq60ViwshpkNstH4q51Bx1kaAXraiZslGKLnOAzVnUaCI6nLoW/iX9j2J hwABuf4n3FMyrRN4QyqzcD5ipbXkoWGic0EycCs7Npuw3emurG27Px6/hp8a5EGPyGPW wBe3mJdqbfdT6AKSfwv4cRuVY6pglHxQmxmhZ9IxQNJfNAL6LyrISInK36rFYABQ12Z2 cSdA== X-Gm-Message-State: APjAAAWEmr9nV4zE6h9SCrEhssLht1MaBMboD+V71cp8Y64fS6MBD27F yo+yceOXzqXOb8Vtl+aIiaWvauIA8QVsqK3xGboHzMzN X-Google-Smtp-Source: APXvYqyHIGeEnHbqlcXfXj7mSwxJMkz5R5X7FhZASiVIaiZjfv4AZSLznoVQu9OH945RfI9XU9lfhKfkKhbRhWTmeBQ= X-Received: by 2002:aca:f20b:: with SMTP id q11mr616081oih.78.1578520765705; Wed, 08 Jan 2020 13:59:25 -0800 (PST) MIME-Version: 1.0 References: <202001082137.008LbZl9091675@gndrsh.dnsmgr.net> In-Reply-To: <202001082137.008LbZl9091675@gndrsh.dnsmgr.net> From: Jason Tubnor Date: Thu, 9 Jan 2020 08:59:14 +1100 Message-ID: Subject: Re: bhyve issues on Dell C6220 node To: "Rodney W. Grimes" Cc: Matt Churchyard , "freebsd-virtualization@freebsd.org" X-Rspamd-Queue-Id: 47tNSc0z72z4ClP 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.167.195 as permitted sender) smtp.mailfrom=jtubnor@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[tubnor.net]; TO_DN_SOME(0.00)[]; URI_COUNT_ODD(1.00)[3]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[195.167.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.00)[ipnet: 209.85.128.0/17(-3.10), asn: 15169(-1.85), country: US(-0.05)]; FORGED_SENDER(0.30)[jason@tubnor.net,jtubnor@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[195.167.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[jason@tubnor.net,jtubnor@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 08 Jan 2020 21:59:28 -0000 On Thu, 9 Jan 2020 at 08:37, Rodney W. Grimes wrote: > > > > Loading kernel... > > /boot/kernel/kernel text=0x168fdf1 data=0x1d0a68+0x768d80 > syms=[0x8+0x178bc0+0x8+0x1969d5] > > Loading configured modules... > > can't find '/boot/entropy' > > / > > " > > > > I get either a "|" or "/" character, then nothing else. > > My experience has been when I see this it is a "wrong console" issue, ie > the kernel > has decided to use something else for a console and your output is going > there. > > It might be your setup using a UEFI with a fb console up to the end of the > loader, > then the kernel decides it is using a serial console. Or vice versa. > > Rod is correct. I came across this issue in 12.0 and probably is also in 11.3 by now. See here: https://wiki.freebsd.org/bhyve/UEFI for some tips that may help you work out where your console is redirecting. I use UEFI for all guest operating systems with a custom UEFI loader that has been fixed to handle OpenBSD (as you know :-) ). > > > I've also tested a windows server 2016 guest, and while that will > actually install via UEFI, it is noticeably slow - over a minute to boot to > the login screen and everything crawls along > > > 2016 is slow (even slower doing windows updates). 2019 is much better. A tip I have found is a minimum of 1 cpu, 2 cores and 4 threads to get decent speed from that OS (more CPUs in bhyve tends to make performance worse - in my observations - in 2016). Also, use the Virtio collection from RedHat for vionet and viostor. We are currently using 0.1.171 without issue. The ahci emulation in itself is extremely slow. NVMe and virtio is really the only way to go. From owner-freebsd-virtualization@freebsd.org Thu Jan 9 01:07: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 B2AF4222534 for ; Thu, 9 Jan 2020 01:07:05 +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 47tSd54BGnz4PYP for ; Thu, 9 Jan 2020 01:07:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8DEA7222533; Thu, 9 Jan 2020 01:07: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 8DAB9222532 for ; Thu, 9 Jan 2020 01:07: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) server-signature RSA-PSS (4096 bits) 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 47tSd53JFXz4PYN for ; Thu, 9 Jan 2020 01:07: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6CCBD20D5F for ; Thu, 9 Jan 2020 01:07: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 009175hg073128 for ; Thu, 9 Jan 2020 01:07:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0091759N073116 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 01:07:05 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 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Thu, 09 Jan 2020 01:07:03 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@gmail.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 09 Jan 2020 01:07:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #22 from Tommy P --- (In reply to Bryan Venteicher from comment #13) Hi Bryan, I tried the method you've suggested to use the modules/virtio and dev/virtio from your repo on 12.0-RELEASE-p12 r356482 and encountered the following issues: 1) /usr/src/sys/dev/virtio/random/virtio_random.c:241:6: error: too many arguments to function call, expected 3, have 4 RANDOM_PURE_VIRTIO); ^~~~~~~~~~~~~~~~~~ I changed it from: random_harvest_queue(&value, sizeof(value), sizeof(value) * NBBY / 2, RANDOM_PURE_VIRTIO); to: random_harvest_queue(&value, sizeof(value), RANDOM_PURE_VIRTIO); 2) /usr/src/sys/dev/virtio/pci/virtio_pci.c:54:10: fatal error: 'virtio_pci_if.h' file not found I used sys/tools/makeobjops.awk to generate the missing virtio_pci_if.h from virtio_pci_if.m 3) A lot of "ld: error: undefined symbol" --- kernel --- linking kernel ld: error: undefined symbol: virtio_pci_disable_vq_desc >>> referenced by virtio_pci.c >>> virtio_pci.o:(vtpci_release_child_resources) They appear to all from virtio_pci_if.h 's "extern struct kobjop_desc " --------------------------------------------------------- I also compared the compile object files between your repo and the src r356= 482. I think there are some missing (virtio_pci_if, virtio_pci_legacy, virtio_pci_modern): root@d-build-fbsd12:/usr/obj # ll usr/src_virtio/amd64.amd64/sys/Custom/vir= t* -rw-r--r-- 1 root wheel 11312 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio.o -rw-r--r-- 1 root wheel 12480 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_balloon.o -rw-r--r-- 1 root wheel 24608 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_blk.o -rw-r--r-- 1 root wheel 2232 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_bus_if.c -rw-r--r-- 1 root wheel 7531 Jan 8 06:09 usr/src_virtio/amd64.amd64/sys/Custom/virtio_bus_if.h -rw-r--r-- 1 root wheel 2720 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_bus_if.o -rw-r--r-- 1 root wheel 797 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_if.c -rw-r--r-- 1 root wheel 1226 Jan 8 06:09 usr/src_virtio/amd64.amd64/sys/Custom/virtio_if.h -rw-r--r-- 1 root wheel 1272 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_if.o -rw-r--r-- 1 root wheel 17632 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_pci.o -rw-r--r-- 1 root wheel 1283 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_pci_if.c -rw-r--r-- 1 root wheel 4088 Jan 8 06:09 usr/src_virtio/amd64.amd64/sys/Custom/virtio_pci_if.h -rw-r--r-- 1 root wheel 1792 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_pci_if.o -rw-r--r-- 1 root wheel 15312 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_pci_legacy.o -rw-r--r-- 1 root wheel 26664 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_pci_modern.o -rw-r--r-- 1 root wheel 41248 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtio_scsi.o -rw-r--r-- 1 root wheel 8904 Jan 8 06:11 usr/src_virtio/amd64.amd64/sys/Custom/virtqueue.o root@d-build-fbsd12:/usr/obj # ll usr/src12.0/amd64.amd64/sys/Custom/virt* -rw-r--r-- 1 root wheel 11312 Jan 8 14:34 usr/src12.0/amd64.amd64/sys/Custom/virtio.o -rw-r--r-- 1 root wheel 12480 Jan 8 14:34 usr/src12.0/amd64.amd64/sys/Custom/virtio_balloon.o -rw-r--r-- 1 root wheel 24608 Jan 8 14:34 usr/src12.0/amd64.amd64/sys/Custom/virtio_blk.o -rw-r--r-- 1 root wheel 2229 Jan 8 14:34 usr/src12.0/amd64.amd64/sys/Custom/virtio_bus_if.c -rw-r--r-- 1 root wheel 7528 Jan 8 14:33 usr/src12.0/amd64.amd64/sys/Custom/virtio_bus_if.h -rw-r--r-- 1 root wheel 2720 Jan 8 14:34 usr/src12.0/amd64.amd64/sys/Custom/virtio_bus_if.o -rw-r--r-- 1 root wheel 794 Jan 8 14:34 usr/src12.0/amd64.amd64/sys/Custom/virtio_if.c -rw-r--r-- 1 root wheel 1223 Jan 8 14:33 usr/src12.0/amd64.amd64/sys/Custom/virtio_if.h -rw-r--r-- 1 root wheel 1272 Jan 8 14:34 usr/src12.0/amd64.amd64/sys/Custom/virtio_if.o -rw-r--r-- 1 root wheel 17632 Jan 8 14:34 usr/src12.0/amd64.amd64/sys/Custom/virtio_pci.o -rw-r--r-- 1 root wheel 41248 Jan 8 14:34 usr/src12.0/amd64.amd64/sys/Custom/virtio_scsi.o -rw-r--r-- 1 root wheel 8904 Jan 8 14:34 usr/src12.0/amd64.amd64/sys/Custom/virtqueue.o The module's virtio/pci/Makefile does include those source files but they didn't appear to be compiled: pci/Makefile:25: pci/Makefile:26:.PATH: ${SRCTOP}/sys/dev/virtio/pci pci/Makefile:27: pci/Makefile:28:KMOD=3D virtio_pci pci/Makefile:29:SRCS=3D virtio_pci.c virtio_pci_legacy.c virtio_pci_moder= n.c pci/Makefile:30:SRCS+=3D virtio_pci_if.c virtio_pci_if.h pci/Makefile:31:SRCS+=3D virtio_bus_if.h virtio_if.h pci/Makefile:32:SRCS+=3D bus_if.h device_if.h pci_if.h pci/Makefile:33: pci/Makefile:34:.include Do you have any suggestion to resolve #3 in order to proceed? Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 01:28: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 773B2222FCE for ; Thu, 9 Jan 2020 01:28: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 47tT5c2frwz4QjS for ; Thu, 9 Jan 2020 01:28:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5983F222FCD; Thu, 9 Jan 2020 01:28: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 58243222FCC for ; Thu, 9 Jan 2020 01:28: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) server-signature RSA-PSS (4096 bits) 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 47tT5c1YvDz4QjR for ; Thu, 9 Jan 2020 01:28: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2CCEB21113 for ; Thu, 9 Jan 2020 01:28: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 0091SKMr067867 for ; Thu, 9 Jan 2020 01:28:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0091SKBI067866 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 01:28: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Thu, 09 Jan 2020 01:28:20 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@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.29 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, 09 Jan 2020 01:28:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #15 from Tommy P --- (In reply to John Hartley from comment #14) Hi John, I used pciconf -lBbcevV. As for the kernel, I only commented out unneeded stuff in GENERIC like SCSI/RAID adapters, NICs, WLAN, xen & vmware, netmap, debug, etc. root@d-build-fbsd12:/usr/obj # du -hsc /boot/kernel* 96M /boot/kernel 96M /boot/kernel.old 132M /boot/kernel.ori.12.0 93M /boot/kernel.virtio 418M total My host is Ubuntu 18.04.3 LTS so the KVM/QEMU version will be older than yo= urs. HTH, Tommy --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 02:44: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 1D8F0224A84 for ; Thu, 9 Jan 2020 02:44:21 +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 47tVnJ744Lz4Ttg for ; Thu, 9 Jan 2020 02:44:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F0AAF224A83; Thu, 9 Jan 2020 02:44: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 F0599224A82 for ; Thu, 9 Jan 2020 02:44: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) server-signature RSA-PSS (4096 bits) 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 47tVnJ5Wm7z4Ttf for ; Thu, 9 Jan 2020 02:44: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B80C821F88 for ; Thu, 9 Jan 2020 02:44: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 0092iK9n002261 for ; Thu, 9 Jan 2020 02:44:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0092iKPZ002258 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 02:44: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 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Thu, 09 Jan 2020 02:44:19 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@gmail.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 09 Jan 2020 02:44:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #23 from Tommy P --- Bryan, After some more debugging, I input some missing entries in sys/conf/files. = The kernel was able to compile successfully with the VirtIO from your repo. Af= ter reboot, all VirtIO devices (SCSI, NIC, memory balloon, etc) are working for 12.0-RELEASE-p12 r356482M! Thanks again! As for those who want the VirtIO working in your Q35 environment, I'll atta= ch the the needed stuff including my fix of the VirtIO's random.c so you don't need to download from Bryan's github repo (comment #8). I don't recommend running in production as it's not officially committed. Also note that this version of the VirtIO, supporting Q35, will break netmap which you'll need = to disable in the kernel configuration prior the build process: /usr/src/sys/dev/netmap/if_vtnet_netmap.h:224:34: error: no member named 'vtntx_shrhdr' in 'struct vtnet_txq' err =3D sglist_append(sg, &txq->vtntx_shrhdr, sc->vtnet_hdr_size); --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 02:52: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 96CF6224E90 for ; Thu, 9 Jan 2020 02:52: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 47tVyc3Zpwz4VJZ for ; Thu, 9 Jan 2020 02:52:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7AE2E224E8F; Thu, 9 Jan 2020 02:52: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 7AA60224E8E for ; Thu, 9 Jan 2020 02:52: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) server-signature RSA-PSS (4096 bits) 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 47tVyc2m88z4VJY for ; Thu, 9 Jan 2020 02:52: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A1B422149 for ; Thu, 9 Jan 2020 02:52: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 0092qOWW022873 for ; Thu, 9 Jan 2020 02:52:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0092qOve022872 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 02:52: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 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Thu, 09 Jan 2020 02:52:23 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.29 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, 09 Jan 2020 02:52:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #24 from Tommy P --- Created attachment 210551 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D210551&action= =3Dedit VirtIO /usr/src files to support Q35 How to use this attachment: 1) cd /usr/src 2) tar -xJvf /virtio.xz 3) patch < sys_conf_files.patch 4) make kernel 5) reboot As previously mentioned, this will break kernel's netmap which you'll need = to disable/comment in the configuration prior to the build process. Enjoy :) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 03:18: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 582D822566A for ; Thu, 9 Jan 2020 03:18:56 +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 47tWYD1ldzz4WRd for ; Thu, 9 Jan 2020 03:18:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3BFDF225669; Thu, 9 Jan 2020 03:18: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 3BB22225668 for ; Thu, 9 Jan 2020 03:18: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) server-signature RSA-PSS (4096 bits) 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 47tWYD0thyz4WRc for ; Thu, 9 Jan 2020 03:18: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 19F6F2259F for ; Thu, 9 Jan 2020 03:18: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 0093ItSd049049 for ; Thu, 9 Jan 2020 03:18:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0093Itnn049043 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 03:18: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Thu, 09 Jan 2020 03:18:56 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@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.29 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, 09 Jan 2020 03:18:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #16 from Tommy P --- (In reply to John Hartley from comment #14) Hi John, Good news! After some debugging, I was able to get VirtIO to work with Q35 with OVMF for 12.0-RELEASE-p12 r356438M and without OVMF for 12.0-RELEASE-p= 12 r356535M! Please see my bug report (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922) for the attach= ment and caution regarding netmap. Here's the pciconf output for the VirtIO: vtpcim0@pci0:1:0:0: class=3D0x020000 card=3D0x11001af4 chip=3D0x10411af= 4 rev=3D0x01 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'Virtio network device' class =3D network subclass =3D ethernet bar [14] =3D type Memory, range 32, base 0x98e00000, size 4096, enabl= ed bar [20] =3D type Prefetchable Memory, range 64, base 0x800000000, si= ze 16384, enabled cap 11[dc] =3D MSI-X supports 3 messages, enabled Table in map 0x14[0x0], PBA in map 0x14[0x800] cap 09[c8] =3D vendor (length 20) cap 09[b4] =3D vendor (length 20) cap 09[a4] =3D vendor (length 16) cap 09[94] =3D vendor (length 16) cap 09[84] =3D vendor (length 16) cap 01[7c] =3D powerspec 3 supports D0 D3 current D0 cap 10[40] =3D PCI-Express 2 endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) sym0@pci0:2:0:0: class=3D0x010000 card=3D0x10000000 chip=3D0x0012100= 0 rev=3D0x00 hdr=3D0x00 vendor =3D 'LSI Logic / Symbios Logic' device =3D '53c895a' class =3D mass storage subclass =3D SCSI bar [10] =3D type I/O Port, range 32, base 0xb000, size 256, enabled bar [14] =3D type Memory, range 32, base 0x98c02000, size 1024, enabl= ed bar [18] =3D type Memory, range 32, base 0x98c00000, size 8192, enabl= ed vtpcim1@pci0:3:0:0: class=3D0x010000 card=3D0x11001af4 chip=3D0x10481af= 4 rev=3D0x01 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'Virtio SCSI' class =3D mass storage subclass =3D SCSI bar [14] =3D type Memory, range 32, base 0x98a00000, size 4096, enabl= ed bar [20] =3D type Prefetchable Memory, range 64, base 0x800100000, si= ze 16384, enabled cap 11[dc] =3D MSI-X supports 4 messages, enabled Table in map 0x14[0x0], PBA in map 0x14[0x800] cap 09[c8] =3D vendor (length 20) cap 09[b4] =3D vendor (length 20) cap 09[a4] =3D vendor (length 16) cap 09[94] =3D vendor (length 16) cap 09[84] =3D vendor (length 16) cap 01[7c] =3D powerspec 3 supports D0 D3 current D0 cap 10[40] =3D PCI-Express 2 endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) vtpcim2@pci0:4:0:0: class=3D0x078000 card=3D0x11001af4 chip=3D0x10431af= 4 rev=3D0x01 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'Virtio console' class =3D simple comms bar [14] =3D type Memory, range 32, base 0x98800000, size 4096, enabl= ed bar [20] =3D type Prefetchable Memory, range 64, base 0x800200000, si= ze 16384, enabled cap 11[dc] =3D MSI-X supports 2 messages Table in map 0x14[0x0], PBA in map 0x14[0x800] cap 09[c8] =3D vendor (length 20) cap 09[b4] =3D vendor (length 20) cap 09[a4] =3D vendor (length 16) cap 09[94] =3D vendor (length 16) cap 09[84] =3D vendor (length 16) cap 01[7c] =3D powerspec 3 supports D0 D3 current D0 cap 10[40] =3D PCI-Express 2 endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) Note that previously it was none#@pci now it's vtpcim#@pci. It also seems = to support booting from both SATA and VirtIO Serial: root@fbsd12-ovmf:~ # ls /dev/{da,ada,vtbd}* /dev/vtbd0 /dev/vtbd0p1 /dev/vtbd0p2 root@fbsd12-ovmf:~ # ifconfig vtnet0: flags=3D8802 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D4c07bb ether ... media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=3D29 em0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D81209b ether ... inet ... netmask 0xffffff00 broadcast 10.100.0.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 This was a fresh install of 12.0-RELEASE onto SATA. After replacing and patching /usr/src in addition to kernel rebuild, it now boots as VirtIO Ser= ial! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 03:58: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 08F972266C9 for ; Thu, 9 Jan 2020 03:58: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 47tXR56Xlkz4YQ1 for ; Thu, 9 Jan 2020 03:58:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DEA382266C8; Thu, 9 Jan 2020 03:58: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 DE66F2266C7 for ; Thu, 9 Jan 2020 03:58: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) server-signature RSA-PSS (4096 bits) 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 47tXR55fyvz4YQ0 for ; Thu, 9 Jan 2020 03:58: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BDA7222CFF for ; Thu, 9 Jan 2020 03:58: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 0093wfFj044788 for ; Thu, 9 Jan 2020 03:58:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0093wfgo044787 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 03:58: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Thu, 09 Jan 2020 03:58: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: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: matt@snowtrek.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.29 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, 09 Jan 2020 03:58:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #17 from MattS --- This is great work! Can this patch be applied to 11.3, or easily created for 11.3? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 04:17: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 56D3A227173 for ; Thu, 9 Jan 2020 04:17:03 +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 47tXrH1fDvz4ZNT for ; Thu, 9 Jan 2020 04:17:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 38774227172; Thu, 9 Jan 2020 04:17: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 383EC227171 for ; Thu, 9 Jan 2020 04:17: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) server-signature RSA-PSS (4096 bits) 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 47tXrH0nR0z4ZNS for ; Thu, 9 Jan 2020 04:17:03 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 16847230F6 for ; Thu, 9 Jan 2020 04:17:03 +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 0094H2lc094866 for ; Thu, 9 Jan 2020 04:17:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0094H2xO094865 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 04:17: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 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Thu, 09 Jan 2020 04:17: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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: matt@snowtrek.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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 09 Jan 2020 04:17:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #25 from MattS --- TommyP,=20 Thank you for your work on this! Can this patch be applied to 11.3, or can = it be easily created? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 04:21: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 D389B2277B4 for ; Thu, 9 Jan 2020 04:21: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 47tXww5L7zz4Zhf for ; Thu, 9 Jan 2020 04:21:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B73482277AD; Thu, 9 Jan 2020 04:21: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 B6FAD2277AC for ; Thu, 9 Jan 2020 04:21: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) server-signature RSA-PSS (4096 bits) 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 47tXww4W1Fz4Zhc for ; Thu, 9 Jan 2020 04:21: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9628023138 for ; Thu, 9 Jan 2020 04:21: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 0094L4Ba059485 for ; Thu, 9 Jan 2020 04:21:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0094L4x2059413 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 04:21: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 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Thu, 09 Jan 2020 04:21: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: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bryanv@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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 09 Jan 2020 04:21:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #26 from Bryan Venteicher --- Tommy, I'm in the process of rebasing the virtio branch to HEAD since it is ~!8 mo= nths old by now and hope to commit that work to HEAD in the next 1-2 months. You= can try out the virtio-rebase branch from the same repo but I believe what is pushed there has only been compiled tested. Please contact me directly if y= ou experience any issues in the meanwhile. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 05:21: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 CCFDB229948 for ; Thu, 9 Jan 2020 05:21:01 +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 47tZG553rgz4d9v for ; Thu, 9 Jan 2020 05:21:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AD9F8229947; Thu, 9 Jan 2020 05:21: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 AD4BD229946 for ; Thu, 9 Jan 2020 05:21: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) server-signature RSA-PSS (4096 bits) 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 47tZG53Df6z4d9s for ; Thu, 9 Jan 2020 05:21: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 58A6323C20 for ; Thu, 9 Jan 2020 05:21: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 0095L1jW032573 for ; Thu, 9 Jan 2020 05:21:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0095L1bp032494 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 05:21: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 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Thu, 09 Jan 2020 05:20: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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.29 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, 09 Jan 2020 05:21:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #27 from Tommy P --- Created attachment 210556 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D210556&action= =3Dedit VirtIO + netmap to support Q35 Apply this patch in /usr/src (cd /usr/src && patch < sys_dev_virtio_netmap.patch). I currently don't have netmap configured wit= hin my environment to fully test VirtIO + netmap but a full compile of the GENE= RIC was successfull. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 08:30: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 6DC0522D7BF for ; Thu, 9 Jan 2020 08:30: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 47tfSc2KfTz3J1X for ; Thu, 9 Jan 2020 08:30:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4FD7822D7BE; Thu, 9 Jan 2020 08:30: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 4F9DA22D7BD for ; Thu, 9 Jan 2020 08:30: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) server-signature RSA-PSS (4096 bits) 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 47tfSc1VcHz3J1W for ; Thu, 9 Jan 2020 08:30: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2DCE225EE7 for ; Thu, 9 Jan 2020 08:30: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 0098UOb8085787 for ; Thu, 9 Jan 2020 08:30:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0098UOFi085786 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 08:30:24 GMT (envelope-from bugzilla-noreply@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: [Bug 242724] bhyve: Unkillable processes stuck in 'STOP' state (vmm::vm_handle_suspend()) Date: Thu, 09 Jan 2020 08:30:23 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@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.29 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, 09 Jan 2020 08:30:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242724 --- Comment #11 from commit-hook@freebsd.org --- A commit references this bug: Author: kib Date: Thu Jan 9 08:29:32 UTC 2020 New revision: 356543 URL: https://svnweb.freebsd.org/changeset/base/356543 Log: MFC r356296: bhyve: terminate waiting loops if thread suspension is requested. PR: 242724 Changes: _U stable/12/ stable/12/sys/amd64/include/vmm.h stable/12/sys/amd64/vmm/io/vioapic.c stable/12/sys/amd64/vmm/vmm.c stable/12/sys/amd64/vmm/vmm_dev.c --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 08:44: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 9A7FD22DB9B for ; Thu, 9 Jan 2020 08:44:25 +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 47tfmn3gqcz3Jfp for ; Thu, 9 Jan 2020 08:44:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7E3B122DB9A; Thu, 9 Jan 2020 08:44: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 7DF8622DB99 for ; Thu, 9 Jan 2020 08:44: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) server-signature RSA-PSS (4096 bits) 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 47tfmn2mslz3Jfn for ; Thu, 9 Jan 2020 08:44:25 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 59A2C26292 for ; Thu, 9 Jan 2020 08:44:25 +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 0098iPmE026072 for ; Thu, 9 Jan 2020 08:44:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0098iPfr026071 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 08:44:25 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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Thu, 09 Jan 2020 08:44:25 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 09 Jan 2020 08:44:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #18 from John Hartley --- (In reply to Tommy P from comment #16) Hi Tommy P, Hooray great to see you have got VirtIO sorted !! I have now got my mutant 11.3 with 11.2 network kernel going and ... It works !! uname -a FreeBSD newt.in.graphica.com.au 11.3-RELEASE FreeBSD 11.3-RELEASE #26: Thu = Jan=20 9 18:38:41 AEDT 2020=20=20=20=20 root@newt.in.graphica.com.au:/usr/obj/usr/src/sys/GENERIC2 amd64 Only tested e1000 at the moment: % ifconfig -a lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=3D21 groups: lo em0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D209b ether 52:54:00:4e:50:91 hwaddr 52:54:00:4e:50:91 inet 192.168.73.131 netmask 0xffffff00 broadcast 192.168.73.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active My approach was a bit sledge hammer as I have ended up with the following modules all being regressed back to 11.2: % find . -name '*.bak*' -print ./sbin/ipfw.bak ./sys/modules/mlx5en.bak ./sys/modules/netmap/Makefile.bak ./sys/modules/cxgbe.bak ./sys/modules/cxgbe.bak/if_cxgbe/Makefile.bak ./sys/modules/ipfw_nat64.bak ./sys/modules/mlx5.bak ./sys/modules/urtwn.bak ./sys/amd64/vmm.bak ./sys/amd64/pci.bak ./sys/dev/virtio/network.bak ./sys/dev/vmware/vmxnet3.bak ./sys/dev/pci/pcireg.h.bak.11.2 ./sys/dev/cxgbe/firmware.bak.11.3 ./sys/dev/usb/wlan.bak ./sys/dev/pci.bak ./sys/dev/netmap.bak ./sys/dev/e1000.bak ./sys/dev/ixgbe.bak ./sys/dev/re.bak ./sys/dev/iwi.bak ./sys/dev/malo.bak ./sys/dev/mwl.bak ./sys/dev/ral.bak ./sys/dev/ixl.bak ./sys/dev/bwi.bak ./sys/dev/cxgbe.bak ./sys/dev/mlx5.bak ./sys/dev/oce.bak ./sys/dev/rtwn.bak ./sys/dev/urtwn.bak ./sys/conf/files.bak ./sys/net.bak ./sys/netinet.bak ./sys/net80211.bak ./sys/netinet6.bak ./sys/netpfil.bak The need to regress so much was due ripple up / down impacts of /dev/netmap= . As you can see this is pretty much then entire network subsystem... :-( I am only able to post this as now network is up I can ssh into box to get result out. First though I am going to test all the other network devices... Now done: % ifconfig -a lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=3D21 groups: lo em0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D209b ether 52:54:00:4e:50:91 hwaddr 52:54:00:4e:50:91 inet 192.168.73.131 netmask 0xffffff00 broadcast 192.168.73.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vmx0: flags=3D8802 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D60039b ether 52:54:00:0a:cc:0d hwaddr 52:54:00:0a:cc:0d nd6 options=3D29 media: Ethernet autoselect status: active re0: flags=3D8802 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D8009b ether 52:54:00:b2:20:53 hwaddr 52:54:00:b2:20:53 nd6 options=3D29 media: Ethernet autoselect (100baseTX ) status: active So I have: e1000 - intel - em0 vmxnet3 - VMWare vmxnet3 Virtual NIC driver (VirtIO alternate) - vmx0 rtl8139 - RealTec - re0 This test also include VirtIO, but as per your testing this does not work a= nd I need to include your fix. So in summary: Issue is not with QEMU / KVM , but with FreeBSD code from 11.2 -> 11.3 which 12.x has inherited There are two bugs: 1. confirmed - VirtIO - the one Tommy T has helped resolve 2. Speculatively - /dev/netmap bug or else where Bug (2) is that is breaking on the other Q35 (non VirtIO) interfaces (e1000, vmxnet3, rtl8139). Now that I have a working base I am going for first move forward the PCI co= de and validate that is ok and then look at the netmap code, which I believe is what is causing the issue with all the other network devices. Once I get to specific commit/s that introduced the bug I will provide upda= te. BTW - I am really surprise that such a large and impactful change on network sub-system was part of minor release cycle and nothing was mentioned in the release notes. Cheers and thanks again Tommy. John Hartley. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 09:30: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 4208D22EFA9 for ; Thu, 9 Jan 2020 09:30:02 +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 47tgnQ15xYz3MHQ for ; Thu, 9 Jan 2020 09:30:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2401B22EFA8; Thu, 9 Jan 2020 09:30: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 23C1E22EFA7 for ; Thu, 9 Jan 2020 09:30: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) server-signature RSA-PSS (4096 bits) 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 47tgnQ0FWlz3MHP for ; Thu, 9 Jan 2020 09:30: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 03F8A26A15 for ; Thu, 9 Jan 2020 09:30: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 0099U1qA085401 for ; Thu, 9 Jan 2020 09:30:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0099U1j6085400 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 09:30: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Thu, 09 Jan 2020 09:30: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: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 09 Jan 2020 09:30:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #19 from John Hartley --- Tommy P & Matt S, wound forward PCI code to 11.3 and network still working ok: % find . -name '*.bak*' -print ./sbin/ipfw.bak ./sys/modules/mlx5en.bak ./sys/modules/netmap/Makefile.bak ./sys/modules/cxgbe.bak ./sys/modules/cxgbe.bak/if_cxgbe/Makefile.bak ./sys/modules/ipfw_nat64.bak ./sys/modules/mlx5.bak ./sys/modules/urtwn.bak ./sys/amd64/pci.bak.11.2 ./sys/amd64/vmm.bak.11.2 ./sys/dev/virtio/network.bak ./sys/dev/vmware/vmxnet3.bak ./sys/dev/cxgbe/firmware.bak.11.3 ./sys/dev/usb/wlan.bak ./sys/dev/netmap.bak ./sys/dev/e1000.bak ./sys/dev/ixgbe.bak ./sys/dev/re.bak ./sys/dev/iwi.bak ./sys/dev/malo.bak ./sys/dev/mwl.bak ./sys/dev/ral.bak ./sys/dev/ixl.bak ./sys/dev/bwi.bak ./sys/dev/cxgbe.bak ./sys/dev/mlx5.bak ./sys/dev/oce.bak ./sys/dev/rtwn.bak ./sys/dev/urtwn.bak ./sys/dev/pci.bak.11.2 ./sys/dev/pci.bak.11.2/pcireg.h.bak.11.2 ./sys/conf/files.bak ./sys/net.bak ./sys/netinet.bak ./sys/net80211.bak ./sys/netinet6.bak ./sys/netpfil.bak All (non VirtIO network ok): % ifconfig -a lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=3D21 groups: lo em0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D209b ether 52:54:00:4e:50:91 hwaddr 52:54:00:4e:50:91 inet 192.168.73.131 netmask 0xffffff00 broadcast 192.168.73.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vmx0: flags=3D8802 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D60039b ether 52:54:00:0a:cc:0d hwaddr 52:54:00:0a:cc:0d nd6 options=3D29 media: Ethernet autoselect status: active re0: flags=3D8802 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D8009b ether 52:54:00:b2:20:53 hwaddr 52:54:00:b2:20:53 nd6 options=3D29 media: Ethernet autoselect (100baseTX ) So this confirm that source of issue is in the /dev/netmap code. I will try to wind this forward on a commit by commit basis to see where it breaks. Cheers, John Hartley. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 09:49: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 42FE222F692 for ; Thu, 9 Jan 2020 09:49:05 +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 47thCP18SNz3NLX for ; Thu, 9 Jan 2020 09:49:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2776422F691; Thu, 9 Jan 2020 09:49: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 2733522F690 for ; Thu, 9 Jan 2020 09:49: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) server-signature RSA-PSS (4096 bits) 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 47thCP0Kjjz3NLW for ; Thu, 9 Jan 2020 09:49: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0234D26DC4 for ; Thu, 9 Jan 2020 09:49: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 0099n49Q030651 for ; Thu, 9 Jan 2020 09:49:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0099n4hF030649 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 09:49: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Thu, 09 Jan 2020 09:49:05 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 09 Jan 2020 09:49:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #20 from John Hartley --- Hi Tommy T, some helpful advise here please, did diff of netmap code from 11.2 -> 11.3: % diff netmap netmap.bak | wc 15891 67956 464277 Files 19 -> 25: % ls netmap.bak | wc 25 25 371 % ls netmap | wc 19 19 288 and grep of FBSDIDs: diff netmap netmap.bak | grep FBSDID < __FBSDID("$FreeBSD: releng/11.2/sys/dev/netmap/netmap_generic.c 331722 2018-03-29 02:50:57Z eadler $"); > __FBSDID("$FreeBSD: releng/11.3/sys/dev/netmap/netmap_generic.c 344047 20= 19-02-12 09:26:05Z vmaffione $"); < __FBSDID("$FreeBSD: releng/11.2/sys/dev/netmap/netmap_mem2.c 331722 2018-03-29 02:50:57Z eadler $"); > __FBSDID("$FreeBSD: releng/11.3/sys/dev/netmap/netmap_mem2.c 344047 2019-= 02-12 09:26:05Z vmaffione $"); < __FBSDID("$FreeBSD: releng/11.2/sys/dev/netmap/netmap_vale.c 331722 2018-03-29 02:50:57Z eadler $"); > __FBSDID("$FreeBSD: releng/11.3/sys/dev/netmap/netmap_vale.c 344047 2019-= 02-12 09:26:05Z vmaffione $"); Given the amount of change it would seem prudent to get committer to look at this: vmaffione What are your thought and how to we get additional eyes on this ? Thanks. Cheers, John Hartley. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 10:22: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 C258D1E8CD5 for ; Thu, 9 Jan 2020 10:22:57 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from smtp-a.userve.net (smtp-outbound.userve.net [217.196.1.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.userve.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47thyS4Jdkz3R5j for ; Thu, 9 Jan 2020 10:22:56 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from owa.usd-group.com (owa.usd-group.com [217.196.1.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-a.userve.net (Postfix) with ESMTPS id C7D88FF0B; Thu, 9 Jan 2020 10:22:53 +0000 (GMT) Received: from SERVER.ad.usd-group.com (192.168.0.1) by SERVER.ad.usd-group.com (192.168.0.1) with Microsoft SMTP Server (TLS) id 15.0.847.32; Thu, 9 Jan 2020 10:22:53 +0000 Received: from SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9]) by SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9%12]) with mapi id 15.00.0847.030; Thu, 9 Jan 2020 10:22:53 +0000 From: Matt Churchyard To: Jason Tubnor , "Rodney W. Grimes" CC: "freebsd-virtualization@freebsd.org" Subject: RE: bhyve issues on Dell C6220 node Thread-Topic: bhyve issues on Dell C6220 node Thread-Index: AdXGKjEP6n7LMmeCSYyZ5P0RRm7iRwAQaYOAAADBkQAAF5DqMA== Date: Thu, 9 Jan 2020 10:22:52 +0000 Message-ID: <1998222a141e44bbbbc5d295e1c1bb34@SERVER.ad.usd-group.com> References: <202001082137.008LbZl9091675@gndrsh.dnsmgr.net> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.0.10] MIME-Version: 1.0 X-Rspamd-Queue-Id: 47thyS4Jdkz3R5j X-Spamd-Bar: - X-Spamd-Result: default: False [-1.91 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[userve.net:s=201901]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:217.196.1.0/24]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; TO_DN_SOME(0.00)[]; URI_COUNT_ODD(1.00)[3]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[userve.net:+]; MIME_BASE64_TEXT(0.10)[]; RCVD_IN_DNSWL_NONE(0.00)[22.1.196.217.list.dnswl.org : 127.0.10.0]; DMARC_POLICY_ALLOW(-0.50)[userve.net,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20652, ipnet:217.196.0.0/20, country:GB]; IP_SCORE(-0.02)[country: GB(-0.08)] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 09 Jan 2020 10:22:57 -0000 DQpPbiBUaHUsIDkgSmFuIDIwMjAgYXQgMDg6MzcsIFJvZG5leSBXLiBHcmltZXMgPGZyZWVic2Qt cndnQGduZHJzaC5kbnNtZ3IubmV0PG1haWx0bzpmcmVlYnNkLXJ3Z0BnbmRyc2guZG5zbWdyLm5l dD4+IHdyb3RlOg0KPg0KPiBMb2FkaW5nIGtlcm5lbC4uLg0KPiAvYm9vdC9rZXJuZWwva2VybmVs IHRleHQ9MHgxNjhmZGYxIGRhdGE9MHgxZDBhNjgrMHg3NjhkODAgc3ltcz1bMHg4KzB4MTc4YmMw KzB4OCsweDE5NjlkNV0NCj4gTG9hZGluZyBjb25maWd1cmVkIG1vZHVsZXMuLi4NCj4gY2FuJ3Qg ZmluZCAnL2Jvb3QvZW50cm9weScNCj4gLw0KPiAiDQo+DQo+IEkgZ2V0IGVpdGhlciBhICJ8IiBv ciAiLyIgY2hhcmFjdGVyLCB0aGVuIG5vdGhpbmcgZWxzZS4NCg0KTXkgZXhwZXJpZW5jZSBoYXMg YmVlbiB3aGVuIEkgc2VlIHRoaXMgaXQgaXMgYSAid3JvbmcgY29uc29sZSIgaXNzdWUsIGllIHRo ZSBrZXJuZWwNCmhhcyBkZWNpZGVkIHRvIHVzZSBzb21ldGhpbmcgZWxzZSBmb3IgYSBjb25zb2xl IGFuZCB5b3VyIG91dHB1dCBpcyBnb2luZyB0aGVyZS4NCg0KSXQgbWlnaHQgYmUgeW91ciBzZXR1 cCB1c2luZyBhIFVFRkkgd2l0aCBhIGZiIGNvbnNvbGUgdXAgdG8gdGhlIGVuZCBvZiB0aGUgbG9h ZGVyLA0KdGhlbiB0aGUga2VybmVsIGRlY2lkZXMgaXQgaXMgdXNpbmcgYSBzZXJpYWwgY29uc29s ZS4gIE9yIHZpY2UgdmVyc2EuDQoNCj5Sb2QgaXMgY29ycmVjdC4gIEkgY2FtZSBhY3Jvc3MgdGhp cyBpc3N1ZSBpbiAxMi4wIGFuZCBwcm9iYWJseSBpcyBhbHNvIGluIDExLjMgYnkgbm93LiAgU2Vl IGhlcmU6ICBodHRwczovL3dpa2kuZnJlZWJzZC5vcmcvYmh5dmUvVUVGSSBmb3Igc29tZSB0aXBz IHRoYXQgbWF5IGhlbHAgeW91IHdvcmsgb3V0IHdoZXJlIHlvdXIgY29uc29sZSBpcyA+cmVkaXJl Y3RpbmcuDQoNCj5JIHVzZSBVRUZJIGZvciBhbGwgZ3Vlc3Qgb3BlcmF0aW5nIHN5c3RlbXMgd2l0 aCBhIGN1c3RvbSBVRUZJIGxvYWRlciB0aGF0IGhhcyBiZWVuIGZpeGVkIHRvIGhhbmRsZSBPcGVu QlNEIChhcyB5b3Uga25vdyA6LSkgKS4NCg0KVGhhbmtzIGd1eXMuDQpJIGhhdmUgbWFuYWdlZCB0 byBnZXQgRnJlZUJTRCB0byBib290IHVzaW5nIHRoZSBVRUZJIGxvYWRlciB3aXRoIGJvb3Rfc2Vy aWFsPW5vLiBTaGFtZSB0aGF0IEkgY2Fu4oCZdCBnZXQgaXQgdG8gYm9vdCB3aXRoIGJoeXZlbG9h ZCBhcyBpdCBzZWVtcyBhIG1vcmUgc3RyZWFtbGluZWQgYm9vdCBwcm9jZXNzIGFuZCBhbGxvd2Vk IG1lIHRvIGVhc2lseSBhY2Nlc3MgdGhlIG1haW4gY29uc29sZSBkaXJlY3RseSBmcm9tIHNzaC4N Cg0KT25lIHRoaW5nIEkgaGF2ZSBub3cgbm90aWNlZCBpcyB0aGF0IGl0IHdpbGwgYm9vdCB3aGVu IGFjY2Vzc2luZyB0aGUgY29uc29sZSB2aWEgYW4gbm1kbSBkZXZpY2Ugb24gY29tMS4gSG93ZXZl ciwgaWYgSSB0cnkgYW5kIGJvb3QgYmh5dmUgaW4gdGhlIGZvcmVncm91bmQgdXNpbmcgc3RkaW8g KEkgdXN1YWxseSBqdXN0IHJ1biBpdCBpbiBhIHRtdXggd2luZG93IGFzIEkgZmluZCBpdCBmYXIg bW9yZSBmbGV4aWJsZSB0aGFuIG5tZG0vY3UpLCBpdCBzdG9wcywgc28gY2xlYXJseSBkb2VzIHNl ZW0gdG8gYmUgYSBjb25zb2xlIGlzc3VlLiBJIGNhbuKAmXQgaG93ZXZlciBmaW5kIGFueSBsb2Fk ZXIgc2V0dGluZyB0aGF0IHdpbGwgZml4IGl0Lg0KDQo+DQo+IEkndmUgYWxzbyB0ZXN0ZWQgYSB3 aW5kb3dzIHNlcnZlciAyMDE2IGd1ZXN0LCBhbmQgd2hpbGUgdGhhdCB3aWxsIGFjdHVhbGx5IGlu c3RhbGwgdmlhIFVFRkksIGl0IGlzIG5vdGljZWFibHkgc2xvdyAtIG92ZXIgYSBtaW51dGUgdG8g Ym9vdCB0byB0aGUgbG9naW4gc2NyZWVuIGFuZCBldmVyeXRoaW5nIGNyYXdscyBhbG9uZw0KPg0K DQo+MjAxNiBpcyBzbG93IChldmVuIHNsb3dlciBkb2luZyB3aW5kb3dzIHVwZGF0ZXMpLiAgMjAx OSBpcyBtdWNoIGJldHRlci4gIEEgdGlwIEkgaGF2ZSBmb3VuZCBpcyBhIG1pbmltdW0gb2YgMSBj cHUsIDIgY29yZXMgYW5kIDQgdGhyZWFkcyB0byBnZXQgZGVjZW50IHNwZWVkIGZyb20gdGhhdCBP UyAobW9yZSBDUFVzIGluIGJoeXZlID50ZW5kcyB0byBtYWtlIHBlcmZvcm1hbmNlIHdvcnNlIC0g aW4gbXkgb2JzZXJ2YXRpb25zIC0gaW4gMjAxNikuICBBbHNvLCB1c2UgdGhlIFZpcnRpbyBjb2xs ZWN0aW9uIGZyb20gUmVkSGF0IGZvciB2aW9uZXQgYW5kIHZpb3N0b3IuICBXZSBhcmUgY3VycmVu dGx5IHVzaW5nIDAuMS4xNzEgd2l0aG91dCBpc3N1ZS4gIFRoZSBhaGNpID5lbXVsYXRpb24gaW4g aXRzZWxmIGlzIGV4dHJlbWVseSBzbG93LiAgTlZNZSBhbmQgdmlydGlvIGlzIHJlYWxseSB0aGUg b25seSB3YXkgdG8gZ28uDQoNCklzIHRoZXJlIGFueXRoaW5nIGVsc2UgSSBjYW4gY2hlY2sgaGVy ZT8gSSBoYXZlbuKAmXQgZ290IHJvdW5kIHRvIHRlc3RpbmcgbmV0d29ya2luZyB5ZXQgYnV0IEni gJltIHVzaW5nIG52bWUgZm9yIHRoZSBkaXNrLg0KSXTigJlzIGJhc2ljYWxseSB1bnVzYWJsZSBh bmQgdGhlcmUgaXMgbm8gd2F5IEkgY291bGQgcHV0IGFueXRoaW5nIHByb2R1Y3Rpb24gb24gaXQu IEp1c3QgaGlnaGxpZ2h0aW5nIGFuIGljb24gb24gdGhlIGRlc2t0b3AgdGFrZXMgc2V2ZXJhbCBz ZWNvbmRzLg0KDQpNYXR0DQoNCg0K From owner-freebsd-virtualization@freebsd.org Thu Jan 9 15:19: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 C027E1F0E02 for ; Thu, 9 Jan 2020 15:19:08 +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 47tqXD4mmwz4GpW for ; Thu, 9 Jan 2020 15:19:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A1DAD1F0E01; Thu, 9 Jan 2020 15:19:08 +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 A1A101F0E00 for ; Thu, 9 Jan 2020 15:19:08 +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) server-signature RSA-PSS (4096 bits) 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 47tqXD3q6nz4GpT for ; Thu, 9 Jan 2020 15:19: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7A34B2C73 for ; Thu, 9 Jan 2020 15:19: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 009FJ8mV046806 for ; Thu, 9 Jan 2020 15:19:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 009FJ8T3046805 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 15:19: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 242724] bhyve: Unkillable processes stuck in 'STOP' state (vmm::vm_handle_suspend()) Date: Thu, 09 Jan 2020 15:19:08 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kib@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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.29 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, 09 Jan 2020 15:19:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242724 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|virtualization@FreeBSD.org |kib@FreeBSD.org Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 16:59: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 144021F3781 for ; Thu, 9 Jan 2020 16:59: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 47tslv6tKZz4NnL for ; Thu, 9 Jan 2020 16:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EA3791F3780; Thu, 9 Jan 2020 16:59: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 E9FDE1F377E for ; Thu, 9 Jan 2020 16:59: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) server-signature RSA-PSS (4096 bits) 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 47tslv5zcMz4NnK for ; Thu, 9 Jan 2020 16:59:23 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C48944210 for ; Thu, 9 Jan 2020 16:59: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 009GxN7s038763 for ; Thu, 9 Jan 2020 16:59:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 009GxNGj038762 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 16:59: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 234838] ena drop-outs on 12.0-RELEASE Date: Thu, 09 Jan 2020 16:59:23 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: leif@ofWilsonCreek.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 09 Jan 2020 16:59:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234838 --- Comment #15 from Leif Pedersen --- (In reply to Colin Percival from comment #14) I'm sorry. I had a misunderstanding, and this machine was actually still on 11.3 when this happened. I'll post again if it is actually on 12.1. Sorry a= gain for the noise. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 18:58: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 85EEB1F636A for ; Thu, 9 Jan 2020 18:58:05 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from mail1.yamagi.org (mail1.yamagi.org [IPv6:2001:19f0:b001:853::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47twNr5kdvz4YDx for ; Thu, 9 Jan 2020 18:58:04 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from [2001:470:6845:1:fc9a:4782:611e:4abf] (helo=anemone.localdomain) by mail1.yamagi.org with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1ipd0M-000A5u-Fd; Thu, 09 Jan 2020 19:58:03 +0100 Date: Thu, 9 Jan 2020 19:57:56 +0100 From: Yamagi Burmeister To: freebsd-virtualization@freebsd.org Cc: matt.churchyard@userve.net Subject: Re: bhyve issues on Dell C6220 node Message-Id: <20200109195756.55ac58ef7e3ae85354ce78e8@yamagi.org> In-Reply-To: <1998222a141e44bbbbc5d295e1c1bb34@SERVER.ad.usd-group.com> References: <202001082137.008LbZl9091675@gndrsh.dnsmgr.net> <1998222a141e44bbbbc5d295e1c1bb34@SERVER.ad.usd-group.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA256"; boundary="Signature=_Thu__9_Jan_2020_19_57_56_+0100__Z=+UcdKMeKN79I3" X-Rspamd-Queue-Id: 47twNr5kdvz4YDx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lists@yamagi.org designates 2001:19f0:b001:853::3 as permitted sender) smtp.mailfrom=lists@yamagi.org X-Spamd-Result: default: False [-4.20 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; MV_CASE(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[yamagi.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-0.30)[asn: 20473(-1.46), country: US(-0.05)]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:2001:19f0:b000::/38, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 09 Jan 2020 18:58:05 -0000 --Signature=_Thu__9_Jan_2020_19_57_56_+0100__Z=+UcdKMeKN79I3 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, > >2016 is slow (even slower doing windows updates). 2019 is much better. = A tip I have found is a minimum of 1 cpu, 2 cores and 4 threads to get dec= ent speed from that OS (more CPUs in bhyve >tends to make performance worse= - in my observations - in 2016). Also, use the Virtio collection from Red= Hat for vionet and viostor. We are currently using 0.1.171 without issue. = The ahci >emulation in itself is extremely slow. NVMe and virtio is reall= y the only way to go. >=20 > Is there anything else I can check here? I haven=E2=80=99t got round to t= esting networking yet but I=E2=80=99m using nvme for the disk. > It=E2=80=99s basically unusable and there is no way I could put anything = production on it. Just highlighting an icon on the desktop takes several se= conds. Windows is slow when running on Intel CPUs that don't support APICv. That are (nearly?) all desktop CPUs, all Xeons before Sandy Bridge and some Xeons after it. The problem is that Bhyve doesn't implement TPR shadowing. I'm currently working on it. The review can be found here: https://reviews.freebsd.org/D22942 The speedup is about factor 6! I've received some feedback in a private mail, a second version that adds TPR thresholds can be found in my Github branch here: https://github.com/Yamagi/freebsd/commits/wip/tpr_shadowing=20 A backport to 12.1 (the branch also includes the Intel SpeedShift patches from https://reviews.freebsd.org/D18028) is here: https://github.com/Yamagi/freebsd/commits/production/12.1 I've applied it to 2 of my production servers about 4 hours ago. Looks good so far. I'll update the review when I'm sure that it doesn't break anything, maybe early next week. Regards, Yamagi --=20 Homepage: https://www.yamagi.org Github: https://github.com/yamagi GPG: 0x1D502515 --Signature=_Thu__9_Jan_2020_19_57_56_+0100__Z=+UcdKMeKN79I3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEOXu/lxyufwz0gC5x6xRy5x1QJRUFAl4Xd7QACgkQ6xRy5x1Q JRVpvg/+L6Tc4Ww8AnEtS0TrBB1uTjNsfPIkJwSbc1eNf/qSJ2fZ9CW/PSII/N4G KlEoMngwEau7qomx13B7LMcoFPZgNXnehJoZvZLTk+0cnGANBvZyeUPSUSNo1pkO nvrRKY38MWag3g1BhYP3n3p7e7FAYqy24/v33jZ+C0spG6frqt/QAZwDXFVRc4i3 SohALdtFhA6AlhKuhE9BadmG3uKc7dyjWddAZ8gRJc8wGnK/Rgp6E/UbHj6JuUgP Es5r4e9Wm1Mv4RaGguuAuef2eR2wjlDNOd36CgrS8LV3Mim/00ChwOrCYzQ0VNIA S2MQjFz7pY0K4PvBrKQ2VocLE94c0XAS84QgcY7rfflGz5H0sK7osRRCU4Q/VwWR eu3fthIs7TutPXTxVl0+oKgFw2sr2QXrTKPXyLPgMf2obujz0fThircK6o5/msCQ IMG+p/Qks8Wae4yUCKnEndUsy2m7RESAiXwZAzrl9IMUepvAdK0bQVhecKGiin1A LlnViSt2I7q6wkiMKPqScsNXL1LFe2bbXKiCuej69H0cbhQTgf/BKmszY/UjRzWP Vy8o+fcCs/j2yWOtvBsDGZNV4OIlLIEcRppRLF6/RvpaU7KOgy2q3JblOdfTbOrs Xr1WtAgAgbjS9wlVjqdajY29V4myHKAUamXLTq0nnETRagZLxYI= =rdGX -----END PGP SIGNATURE----- --Signature=_Thu__9_Jan_2020_19_57_56_+0100__Z=+UcdKMeKN79I3-- From owner-freebsd-virtualization@freebsd.org Thu Jan 9 19:44: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 0EA4D1F751D for ; Thu, 9 Jan 2020 19:44:10 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from smtp-b.userve.net (smtp-outbound.userve.net [217.196.1.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.userve.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47txQ10HHkz4c4G for ; Thu, 9 Jan 2020 19:44:08 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from owa.usd-group.com (owa.usd-group.com [217.196.1.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-b.userve.net (Postfix) with ESMTPS id 2F038BE; Thu, 9 Jan 2020 19:44:07 +0000 (GMT) Received: from SERVER.ad.usd-group.com (192.168.0.1) by SERVER.ad.usd-group.com (192.168.0.1) with Microsoft SMTP Server (TLS) id 15.0.847.32; Thu, 9 Jan 2020 19:44:06 +0000 Received: from SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9]) by SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9%12]) with mapi id 15.00.0847.030; Thu, 9 Jan 2020 19:44:06 +0000 From: Matt Churchyard To: Yamagi Burmeister , "freebsd-virtualization@freebsd.org" Subject: RE: bhyve issues on Dell C6220 node Thread-Topic: bhyve issues on Dell C6220 node Thread-Index: AdXGKjEP6n7LMmeCSYyZ5P0RRm7iRwAQaYOAAADBkQAAF5DqMAAUZL0AAAEo1dA= Date: Thu, 9 Jan 2020 19:44:05 +0000 Message-ID: <88763a7e67f44c9eb963ee5dee63dd87@SERVER.ad.usd-group.com> References: <202001082137.008LbZl9091675@gndrsh.dnsmgr.net> <1998222a141e44bbbbc5d295e1c1bb34@SERVER.ad.usd-group.com> <20200109195756.55ac58ef7e3ae85354ce78e8@yamagi.org> In-Reply-To: <20200109195756.55ac58ef7e3ae85354ce78e8@yamagi.org> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.0.10] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Rspamd-Queue-Id: 47txQ10HHkz4c4G X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.92 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[userve.net:s=201901]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.196.1.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[userve.net:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[22.1.196.217.list.dnswl.org : 127.0.10.0]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[userve.net,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20652, ipnet:217.196.0.0/20, country:GB]; IP_SCORE(-0.02)[country: GB(-0.08)] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 09 Jan 2020 19:44:10 -0000 SGksDQoNCj4gPjIwMTYgaXMgc2xvdyAoZXZlbiBzbG93ZXIgZG9pbmcgd2luZG93cyB1cGRhdGVz KS4gIDIwMTkgaXMgbXVjaCBiZXR0ZXIuICBBIHRpcCBJIGhhdmUgZm91bmQgaXMgYSBtaW5pbXVt IG9mIDEgY3B1LCAyIGNvcmVzIGFuZCA0IHRocmVhZHMgdG8gZ2V0IGRlY2VudCBzcGVlZCBmcm9t IHRoYXQgT1MgKG1vcmUgQ1BVcyBpbiBiaHl2ZSA+dGVuZHMgdG8gbWFrZSBwZXJmb3JtYW5jZSB3 b3JzZSAtIGluIG15IG9ic2VydmF0aW9ucyAtIGluIDIwMTYpLiAgQWxzbywgdXNlIHRoZSBWaXJ0 aW8gY29sbGVjdGlvbiBmcm9tIFJlZEhhdCBmb3IgdmlvbmV0IGFuZCB2aW9zdG9yLiAgV2UgYXJl IGN1cnJlbnRseSB1c2luZyAwLjEuMTcxIHdpdGhvdXQgaXNzdWUuICBUaGUgYWhjaSA+ZW11bGF0 aW9uIGluIGl0c2VsZiBpcyBleHRyZW1lbHkgc2xvdy4gIE5WTWUgYW5kIHZpcnRpbyBpcyByZWFs bHkgdGhlIG9ubHkgd2F5IHRvIGdvLg0KPiANCj4gSXMgdGhlcmUgYW55dGhpbmcgZWxzZSBJIGNh biBjaGVjayBoZXJlPyBJIGhhdmVu4oCZdCBnb3Qgcm91bmQgdG8gdGVzdGluZyBuZXR3b3JraW5n IHlldCBidXQgSeKAmW0gdXNpbmcgbnZtZSBmb3IgdGhlIGRpc2suDQo+IEl04oCZcyBiYXNpY2Fs bHkgdW51c2FibGUgYW5kIHRoZXJlIGlzIG5vIHdheSBJIGNvdWxkIHB1dCBhbnl0aGluZyBwcm9k dWN0aW9uIG9uIGl0LiBKdXN0IGhpZ2hsaWdodGluZyBhbiBpY29uIG9uIHRoZSBkZXNrdG9wIHRh a2VzIHNldmVyYWwgc2Vjb25kcy4NCg0KPldpbmRvd3MgaXMgc2xvdyB3aGVuIHJ1bm5pbmcgb24g SW50ZWwgQ1BVcyB0aGF0IGRvbid0IHN1cHBvcnQgQVBJQ3YuDQo+VGhhdCBhcmUgKG5lYXJseT8p IGFsbCBkZXNrdG9wIENQVXMsIGFsbCBYZW9ucyBiZWZvcmUgU2FuZHkgQnJpZGdlIGFuZCBzb21l IFhlb25zIGFmdGVyIGl0LiBUaGUgcHJvYmxlbSBpcyB0aGF0IEJoeXZlIGRvZXNuJ3QgaW1wbGVt ZW50IFRQUiBzaGFkb3dpbmcuIEknbSA+Y3VycmVudGx5IHdvcmtpbmcgb24gaXQuIFRoZSByZXZp ZXcgY2FuIGJlIGZvdW5kDQo+aGVyZTogaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyMjk0 MiBUaGUgc3BlZWR1cCBpcyBhYm91dCBmYWN0b3IgNiENCg0KPkkndmUgcmVjZWl2ZWQgc29tZSBm ZWVkYmFjayBpbiBhIHByaXZhdGUgbWFpbCwgYSBzZWNvbmQgdmVyc2lvbiB0aGF0IGFkZHMgVFBS IHRocmVzaG9sZHMgY2FuIGJlIGZvdW5kIGluIG15IEdpdGh1YiBicmFuY2ggaGVyZToNCj4gIGh0 dHBzOi8vZ2l0aHViLmNvbS9ZYW1hZ2kvZnJlZWJzZC9jb21taXRzL3dpcC90cHJfc2hhZG93aW5n IA0KDQo+QSBiYWNrcG9ydCB0byAxMi4xICh0aGUgYnJhbmNoIGFsc28gaW5jbHVkZXMgdGhlIElu dGVsIFNwZWVkU2hpZnQgcGF0Y2hlcyBmcm9tIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9E MTgwMjgpIGlzIGhlcmU6DQo+Pmh0dHBzOi8vZ2l0aHViLmNvbS9ZYW1hZ2kvZnJlZWJzZC9jb21t aXRzL3Byb2R1Y3Rpb24vMTIuMQ0KDQo+SSd2ZSBhcHBsaWVkIGl0IHRvIDIgb2YgbXkgcHJvZHVj dGlvbiBzZXJ2ZXJzIGFib3V0IDQgaG91cnMgYWdvLiBMb29rcyBnb29kIHNvIGZhci4gSSdsbCB1 cGRhdGUgdGhlIHJldmlldyB3aGVuIEknbSBzdXJlIHRoYXQgaXQgZG9lc24ndCBicmVhayBhbnl0 aGluZywgbWF5YmUgPmVhcmx5IG5leHQgd2Vlay4NCg0KVGhhbmtzIFlhbWFnaSwNCg0KVGhhdCdz IGJyaWxsaWFudCBhbmQgcHJvdmlkZXMgbWUgc29tZSBob3BlIHRoYXQgSSBtYXkgbm90IGhhdmUg dG8gY29tcGxldGVseSBhYmFuZG9uIHdpbmRvd3MgZ3Vlc3RzIGFmdGVyIGFsbC4uLg0KDQpUaGVz ZSBzZXJ2ZXJzIGFyZSBqdXN0IHNhdCBuZXh0IHRvIG15IGRlc2sgaW4gdGVzdGluZyBhdCB0aGUg bW9tZW50IHNvIEknbGwgc2VlIGlmIEkgY2FuIGhhdmUgYSBnbyBhdCBhcHBseWluZyB0aGUgcGF0 Y2hlcyBhbmQgdGVzdGluZyBpdCBpbiB0aGUgbW9ybmluZy4NCg0KUmVnYXJkcywNCk1hdHQgDQo= From owner-freebsd-virtualization@freebsd.org Thu Jan 9 22:59:30 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 83C3B1FC3DB for ; Thu, 9 Jan 2020 22:59:30 +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 47v1lQ31Rlz3MVx for ; Thu, 9 Jan 2020 22:59:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 678661FC3DA; Thu, 9 Jan 2020 22:59:30 +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 674A61FC3D9 for ; Thu, 9 Jan 2020 22:59:30 +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) server-signature RSA-PSS (4096 bits) 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 47v1lQ2BVZz3MVw for ; Thu, 9 Jan 2020 22:59:30 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 46C5D8824 for ; Thu, 9 Jan 2020 22:59:30 +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 009MxUCL029339 for ; Thu, 9 Jan 2020 22:59:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 009MxUaN029338 for virtualization@FreeBSD.org; Thu, 9 Jan 2020 22:59:30 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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Thu, 09 Jan 2020 22:59:29 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vmaffione@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.29 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, 09 Jan 2020 22:59:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 Vincenzo Maffione changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmaffione@FreeBSD.org --- Comment #21 from Vincenzo Maffione --- Can you please elaborate about the bug that you think there is in netmap? The large changes are due to refactoring and new features, but it is nothing that should affect driver operation when the NIC is not open in netmap mode. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Jan 10 06:25: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 D76E22253E2 for ; Fri, 10 Jan 2020 06:25:23 +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 47vCdv5SNYz4FM6 for ; Fri, 10 Jan 2020 06:25:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B97C82253E1; Fri, 10 Jan 2020 06:25: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 B94042253E0 for ; Fri, 10 Jan 2020 06:25: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) server-signature RSA-PSS (4096 bits) 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 47vCdv4c09z4FM5 for ; Fri, 10 Jan 2020 06:25:23 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 99863DCE3 for ; Fri, 10 Jan 2020 06:25: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 00A6PNgQ083687 for ; Fri, 10 Jan 2020 06:25:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00A6PNVg083674 for virtualization@FreeBSD.org; Fri, 10 Jan 2020 06:25: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Fri, 10 Jan 2020 06:25:23 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 10 Jan 2020 06:25:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #22 from John Hartley --- (In reply to Vincenzo Maffione from comment #21) Hi Vincenzo, thank you very much of for responding. My testing has been to try to isolate where the problems lies. The issues appears when you go from 11.2 -> 11.3 . As the problem relates to device detection / initialisation, my initial tho= ught was that problem might be in PCI/PCIe code. To test this I tried to create a custom 11.3 kernel with 11.2 PCI subsystem. The impact of regression to 11.2 PCI was that I also had to regress netmap, network and driver code back to 11.2 as well. The resulting 11.3 (with 11.2 pci / networking) kernel no longer had the is= sue (ie e1000, vmxnet3 & rtl8139 all working ok) So I then rolled forward the pci code back to 11.3 . Again testing worked with each of e1000, vmxnet3 & rtl8139 working. So this seemed to have issue as being in netmap or drivers ... In looking at record of code updates, the netmap related changes (refactori= ng etc) and adding support for netmap in e1000 & vmxnet3 drivers all related to MFC r339639 (which I believe was big upstream netmap alignment and refactoring). So right now I have not confirmed that the bug is in netmap, but it might b= e... On a related front this VirtIO bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 required changes= to both VirtIO driver and netmap. Right now I am a bit stuck in finding the defect, as netmap and driver code= is more complex and requires deeper understand than I have. My objective was j= ust try to pin point where the problem was. Having looked at this I now have a much greater appreciation of what the dev/netmap code does and why it impacts such a large portion of network cod= e. On my working 11.3 / 11.2 custom kernel here is dmesg result from em0: em0: port 0x9000-0x903f= mem 0xc8600000-0xc861ffff irq 23 at device 1.0 on pci2 em0: Ethernet address: 52:54:00:4e:50:91 em0: netmap queues/slots: TX 1/256, RX 1/256 So it appears that netmap is enabled by default. The only configuration I have done is set DHCP on: # cat /etc/rc.conf clear_tmp_enable=3D"YES" ... ifconfig_em0=3D"DHCP" local_unbound_enable=3D"YES" sshd_enable=3D"YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev=3D"AUTO" Right now I have not managed to get problem isolated so specific code item.= .. Your advise on helping to get to the bottom of problem would be appreciated. Cheers, John Hartley --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Jan 10 07:41: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 3DEAC226BB5 for ; Fri, 10 Jan 2020 07:41: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 47vFKb0yL3z4JZV for ; Fri, 10 Jan 2020 07:41:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 20CAA226BB4; Fri, 10 Jan 2020 07:41: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 208C1226BB3 for ; Fri, 10 Jan 2020 07:41: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) server-signature RSA-PSS (4096 bits) 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 47vFKZ60f8z4JZN for ; Fri, 10 Jan 2020 07:41: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C8D8CEB04 for ; Fri, 10 Jan 2020 07:41: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 00A7fMK7060961 for ; Fri, 10 Jan 2020 07:41:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00A7fM34060960 for virtualization@FreeBSD.org; Fri, 10 Jan 2020 07:41: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Fri, 10 Jan 2020 07:41:22 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tommyhp2@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.29 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, 10 Jan 2020 07:41:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #23 from Tommy P --- @John, Are you encountering issues while upgrading 11.2 to 11.3 with Q35 + OVMF? I don't have any issues: root@fbsd11-ovmf:~ # dmesg|grep em0 em0: port 0x6000-0x603f= mem 0x98000000-0x9801ffff irq 21 at device 1.0 on pci8 em0: Ethernet address: 52:54:00:4e:d4:8f em0: netmap queues/slots: TX 1/256, RX 1/256 em0: link state changed to UP root@fbsd11-ovmf:~ # uname -a FreeBSD fbsd11-ovmf 11.2-RELEASE-p15 FreeBSD 11.2-RELEASE-p15 #0 r356556: T= hu Jan 9 19:50:57 PST 2020 --------------------------------------------------- root@fbsd11-ovmf:~ # dmesg | egrep 'sym0|mass stor|scsi' sym0: <895a> port 0xb000-0xb0ff mem 0x98c02000-0x98c023ff,0x98c00000-0x98c0= 1fff irq 22 at device 0.0 on pci2 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking pci3: at device 0.0 (no driver attached) root@fbsd11-ovmf:~ # dmesg|grep em0 em0: port 0x6000-0x603f= mem 0x98000000-0x9801ffff irq 21 at device 1.0 on pci2 em0: Ethernet address: 52:54:00:4e:d4:8f em0: netmap queues/slots: TX 1/256, RX 1/256 em0: link state changed to UP root@fbsd11-ovmf:~ # uname -a FreeBSD fbsd11-ovmf 11.3-RELEASE-p5 FreeBSD 11.3-RELEASE-p5 #0: Tue Nov 12 08:59:04 UTC 2019 VirtIO still doesn't work for 11.x :( The pci3 is the VirtIO SCSI (note the 'no driver attached'). @Matt, (from comment #17) >From what I've seen so far, there are significant changes in the networking from 11.x to 12.x which the VirtIO, supporting PCI-E, is based upon. I dou= bt it's going to be easy to 'back port' to 11.x. Regards, Tommy --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Jan 10 19:07:07 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 8EE281F0923 for ; Fri, 10 Jan 2020 19:07:07 +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 47vXXq3MhWz3yrw for ; Fri, 10 Jan 2020 19:07:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 71C641F0922; Fri, 10 Jan 2020 19:07:07 +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 7189B1F0921 for ; Fri, 10 Jan 2020 19:07:07 +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) server-signature RSA-PSS (4096 bits) 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 47vXXq2V5wz3yrv for ; Fri, 10 Jan 2020 19:07:07 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4C4CC1E9BF for ; Fri, 10 Jan 2020 19:07:07 +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 00AJ77Iv040293 for ; Fri, 10 Jan 2020 19:07:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00AJ77nb040292 for virtualization@FreeBSD.org; Fri, 10 Jan 2020 19:07:07 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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Fri, 10 Jan 2020 19:07: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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vmaffione@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.29 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, 10 Jan 2020 19:07:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #24 from Vincenzo Maffione --- (In reply to John Hartley from comment #22) MFC r339639 does not add netmap support to e1000, vtnet & co. Such support exists since FreeBSD 10. Moreover, netmap code is platform independent, so = it does not make sense that a bug in netmap would show up in Q35 and not in the other platform. It is more reasonable that the issue is related to the PCI code. If I get it correctly, your issue is that you don't detect devices (e.g. you don't see em0 or vtnet0 in ifconfig). If this happens, it means that the device_probe routine of the proper driver is not called, or maybe it is cal= led but it does not recognize the device for some reason. For example, you have em_probe() or lem_probe() for e1000 devices. You may add a print statement there to see whether it is called or not. Note that device probe is a functionality related to the PCI/PCIe bus, irrespective of netmap. Have you tried to remove "dev netmap" from the kernel config (for a clean 11.3)? This will confirm that the problem is still there irrespective of ne= tmap being included or not. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Jan 10 21:13: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 6E1AD1F3FC8 for ; Fri, 10 Jan 2020 21:13:03 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from smtp-b.userve.net (smtp-outbound.userve.net [217.196.1.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.userve.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47vbL61qXbz48sv for ; Fri, 10 Jan 2020 21:13:01 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from owa.usd-group.com (owa.usd-group.com [217.196.1.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-b.userve.net (Postfix) with ESMTPS id 8094D978; Fri, 10 Jan 2020 21:12:59 +0000 (GMT) Received: from SERVER.ad.usd-group.com (192.168.0.1) by SERVER.ad.usd-group.com (192.168.0.1) with Microsoft SMTP Server (TLS) id 15.0.847.32; Fri, 10 Jan 2020 21:12:59 +0000 Received: from SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9]) by SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9%12]) with mapi id 15.00.0847.030; Fri, 10 Jan 2020 21:12:58 +0000 From: Matt Churchyard To: Yamagi Burmeister CC: "freebsd-virtualization@freebsd.org" Subject: Re: bhyve issues on Dell C6220 node Thread-Topic: bhyve issues on Dell C6220 node Thread-Index: AdXGKjEP6n7LMmeCSYyZ5P0RRm7iRwAQaYOAAADBkQAAF5DqMAAUZL0AADcB2Ho= Date: Fri, 10 Jan 2020 21:12:57 +0000 Message-ID: <8A16A686-EB05-4F6D-86D0-8DC129737037@userve.net> References: <202001082137.008LbZl9091675@gndrsh.dnsmgr.net> <1998222a141e44bbbbc5d295e1c1bb34@SERVER.ad.usd-group.com>, <20200109195756.55ac58ef7e3ae85354ce78e8@yamagi.org> In-Reply-To: <20200109195756.55ac58ef7e3ae85354ce78e8@yamagi.org> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Rspamd-Queue-Id: 47vbL61qXbz48sv X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.59 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[userve.net:s=201901]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.196.1.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.69)[ip: (-9.67), ipnet: 217.196.0.0/20(-4.83), asn: 20652(-3.87), country: GB(-0.08)]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[userve.net:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[22.1.196.217.list.dnswl.org : 127.0.10.0]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[userve.net,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20652, ipnet:217.196.0.0/20, country:GB]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 10 Jan 2020 21:13:03 -0000 DQoNCj4gT24gOSBKYW4gMjAyMCwgYXQgMTg6NTgsIFlhbWFnaSBCdXJtZWlzdGVyIDxsaXN0c0B5 YW1hZ2kub3JnPiB3cm90ZToNCj4gDQo+IO+7v0hpLA0KPiANCj4+PiAyMDE2IGlzIHNsb3cgKGV2 ZW4gc2xvd2VyIGRvaW5nIHdpbmRvd3MgdXBkYXRlcykuICAyMDE5IGlzIG11Y2ggYmV0dGVyLiAg QSB0aXAgSSBoYXZlIGZvdW5kIGlzIGEgbWluaW11bSBvZiAxIGNwdSwgMiBjb3JlcyBhbmQgNCB0 aHJlYWRzIHRvIGdldCBkZWNlbnQgc3BlZWQgZnJvbSB0aGF0IE9TIChtb3JlIENQVXMgaW4gYmh5 dmUgPnRlbmRzIHRvIG1ha2UgcGVyZm9ybWFuY2Ugd29yc2UgLSBpbiBteSBvYnNlcnZhdGlvbnMg LSBpbiAyMDE2KS4gIEFsc28sIHVzZSB0aGUgVmlydGlvIGNvbGxlY3Rpb24gZnJvbSBSZWRIYXQg Zm9yIHZpb25ldCBhbmQgdmlvc3Rvci4gIFdlIGFyZSBjdXJyZW50bHkgdXNpbmcgMC4xLjE3MSB3 aXRob3V0IGlzc3VlLiAgVGhlIGFoY2kgPmVtdWxhdGlvbiBpbiBpdHNlbGYgaXMgZXh0cmVtZWx5 IHNsb3cuICBOVk1lIGFuZCB2aXJ0aW8gaXMgcmVhbGx5IHRoZSBvbmx5IHdheSB0byBnby4NCj4+ IElzIHRoZXJlIGFueXRoaW5nIGVsc2UgSSBjYW4gY2hlY2sgaGVyZT8gSSBoYXZlbuKAmXQgZ290 IHJvdW5kIHRvIHRlc3RpbmcgbmV0d29ya2luZyB5ZXQgYnV0IEnigJltIHVzaW5nIG52bWUgZm9y IHRoZSBkaXNrLg0KPj4gSXTigJlzIGJhc2ljYWxseSB1bnVzYWJsZSBhbmQgdGhlcmUgaXMgbm8g d2F5IEkgY291bGQgcHV0IGFueXRoaW5nIHByb2R1Y3Rpb24gb24gaXQuIEp1c3QgaGlnaGxpZ2h0 aW5nIGFuIGljb24gb24gdGhlIGRlc2t0b3AgdGFrZXMgc2V2ZXJhbCBzZWNvbmRzLg0KPiANCj4g V2luZG93cyBpcyBzbG93IHdoZW4gcnVubmluZyBvbiBJbnRlbCBDUFVzIHRoYXQgZG9uJ3Qgc3Vw cG9ydCBBUElDdi4NCj4gVGhhdCBhcmUgKG5lYXJseT8pIGFsbCBkZXNrdG9wIENQVXMsIGFsbCBY ZW9ucyBiZWZvcmUgU2FuZHkgQnJpZGdlDQo+IGFuZCBzb21lIFhlb25zIGFmdGVyIGl0LiBUaGUg cHJvYmxlbSBpcyB0aGF0IEJoeXZlIGRvZXNuJ3QgaW1wbGVtZW50DQo+IFRQUiBzaGFkb3dpbmcu IEknbSBjdXJyZW50bHkgd29ya2luZyBvbiBpdC4gVGhlIHJldmlldyBjYW4gYmUgZm91bmQNCj4g aGVyZTogaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyMjk0MiBUaGUgc3BlZWR1cCBpcyBh Ym91dCBmYWN0b3INCj4gNiENCj4gDQo+IEkndmUgcmVjZWl2ZWQgc29tZSBmZWVkYmFjayBpbiBh IHByaXZhdGUgbWFpbCwgYSBzZWNvbmQgdmVyc2lvbiB0aGF0DQo+IGFkZHMgVFBSIHRocmVzaG9s ZHMgY2FuIGJlIGZvdW5kIGluIG15IEdpdGh1YiBicmFuY2ggaGVyZToNCj4gaHR0cHM6Ly9naXRo dWIuY29tL1lhbWFnaS9mcmVlYnNkL2NvbW1pdHMvd2lwL3Rwcl9zaGFkb3dpbmcgDQo+IA0KPiBB IGJhY2twb3J0IHRvIDEyLjEgKHRoZSBicmFuY2ggYWxzbyBpbmNsdWRlcyB0aGUgSW50ZWwgU3Bl ZWRTaGlmdA0KPiBwYXRjaGVzIGZyb20gaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QxODAy OCkgaXMgaGVyZToNCj4gaHR0cHM6Ly9naXRodWIuY29tL1lhbWFnaS9mcmVlYnNkL2NvbW1pdHMv cHJvZHVjdGlvbi8xMi4xDQo+IA0KPiBJJ3ZlIGFwcGxpZWQgaXQgdG8gMiBvZiBteSBwcm9kdWN0 aW9uIHNlcnZlcnMgYWJvdXQgNCBob3VycyBhZ28uIExvb2tzDQo+IGdvb2Qgc28gZmFyLiBJJ2xs IHVwZGF0ZSB0aGUgcmV2aWV3IHdoZW4gSSdtIHN1cmUgdGhhdCBpdCBkb2Vzbid0IGJyZWFrDQo+ IGFueXRoaW5nLCBtYXliZSBlYXJseSBuZXh0IHdlZWsuDQoNCknigJl2ZSBoYWQgYSBzeXN0ZW0g d2l0aCB0aGUgVFBSIGNoYW5nZXMgYXBwbGllZCBmb3IgYSBmZXcgaG91cnMgbm93IGFuZCBpdCBz ZWVtcyB0byBiZSBvay4gVGhlIGluc3RhbGwgdG9vayBsZXNzIHRoYW4gMTAgbWludXRlcyBjb21w YXJlZCB0byA0MCsgbWludXRlcyBiZWZvcmUgYW5kIGlzIG11Y2ggbW9yZSB1c2VhYmxlLg0KDQpJ 4oCZbGwgbGVhdmUgaXQgcnVubmluZyBvdmVyIHRoZSB3ZWVrZW5kIGFuZCBzZWUgaG93IGl0IGdv ZXMuDQoNClJlZ2FyZHMNCk1hdHQNCg0KDQo+IA0KPiBSZWdhcmRzLA0KPiBZYW1hZ2kNCj4gDQo+ IC0tIA0KPiBIb21lcGFnZTogaHR0cHM6Ly93d3cueWFtYWdpLm9yZw0KPiBHaXRodWI6ICAgaHR0 cHM6Ly9naXRodWIuY29tL3lhbWFnaQ0KPiBHUEc6ICAgICAgMHgxRDUwMjUxNQ0K From owner-freebsd-virtualization@freebsd.org Fri Jan 10 23:28: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 D40631F681F for ; Fri, 10 Jan 2020 23:28: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 47vfLJ5MKrz4HNf for ; Fri, 10 Jan 2020 23:28:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B62F01F681E; Fri, 10 Jan 2020 23:28: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 B5F111F681D for ; Fri, 10 Jan 2020 23:28: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) server-signature RSA-PSS (4096 bits) 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 47vfLJ4Snrz4HNc for ; Fri, 10 Jan 2020 23:28: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 94B1E2198A for ; Fri, 10 Jan 2020 23:28: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 00ANSOlE020251 for ; Fri, 10 Jan 2020 23:28:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00ANSOki020250 for virtualization@FreeBSD.org; Fri, 10 Jan 2020 23:28: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Fri, 10 Jan 2020 23:28: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: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 10 Jan 2020 23:28:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #25 from John Hartley --- (In reply to Vincenzo Maffione from comment #24) Hi Vincenzo, as suggested, I have compiled kernel with netmap removed: # diff GENERIC GENERIC2 22c22 < ident GENERIC --- > ident GENERIC2 360c360 < device netmap # netmap(4) support --- > #device netmap # netmap(4) support # uname -a FreeBSD newt.in.graphica.com.au 11.3-RELEASE FreeBSD 11.3-RELEASE #31: Sat = Jan 11 08:25:05 AEDT 2020=20=20=20=20 root@newt.in.graphica.com.au:/usr/obj/usr/src/sys/GENERIC2 amd64 I had previously tried to disable netmap from e1000 only and still get resu= lt of no network devices being found. Now with netmap removed from kernel the e1000 device is found: # ifconfig -a lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=3D21 groups: lo em0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D209b ether 52:54:00:4e:50:91 hwaddr 52:54:00:4e:50:91 inet 192.168.73.131 netmask 0xffffff00 broadcast 192.168.73.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active Here is PCI Conf results: # pciconf -lvce hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x11001af4 chip=3D0x29c0808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82G33/G31/P35/P31 Express DRAM Controller' class =3D bridge subclass =3D HOST-PCI vgapci0@pci0:0:1:0: class=3D0x030000 card=3D0x11001af4 chip=3D0x01001b3= 6 rev=3D0x04 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'QXL paravirtual graphic card' class =3D display subclass =3D VGA pcib1@pci0:0:2:0: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 vendor =3D 'Red Hat, Inc.' device =3D 'QEMU PCIe Root port' class =3D bridge subclass =3D PCI-PCI cap 10[54] =3D PCI-Express 2 root port max data 128(128) ARI disabled link x1(x32) speed 2.5(undef) ASPM disabled(L0s) slot 0 power limit 0 mW HotPlug(present) surprise Attn But= ton PC(on) EI(engaged) cap 11[48] =3D MSI-X supports 1 message Table in map 0x10[0x0], PBA in map 0x10[0x800] cap 0d[40] =3D PCI Bridge card=3D0x00001b36 ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected ecap 000d[148] =3D ACS 1 pcib2@pci0:0:2:1: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 vendor =3D 'Red Hat, Inc.' device =3D 'QEMU PCIe Root port' class =3D bridge subclass =3D PCI-PCI cap 10[54] =3D PCI-Express 2 root port max data 128(128) ARI disabled link x1(x32) speed 2.5(undef) ASPM disabled(L0s) slot 0 power limit 0 mW HotPlug(present) surprise Attn But= ton PC(on) EI(disengaged) cap 11[48] =3D MSI-X supports 1 message Table in map 0x10[0x0], PBA in map 0x10[0x800] cap 0d[40] =3D PCI Bridge card=3D0x00001b36 ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected ecap 000d[148] =3D ACS 1 pcib3@pci0:0:2:2: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 vendor =3D 'Red Hat, Inc.' device =3D 'QEMU PCIe Root port' class =3D bridge subclass =3D PCI-PCI cap 10[54] =3D PCI-Express 2 root port max data 128(128) ARI disabled link x1(x32) speed 2.5(undef) ASPM disabled(L0s) slot 0 power limit 0 mW HotPlug(present) surprise Attn But= ton PC(on) EI(disengaged) cap 11[48] =3D MSI-X supports 1 message Table in map 0x10[0x0], PBA in map 0x10[0x800] cap 0d[40] =3D PCI Bridge card=3D0x00001b36 ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected ecap 000d[148] =3D ACS 1 pcib4@pci0:0:2:3: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 vendor =3D 'Red Hat, Inc.' device =3D 'QEMU PCIe Root port' class =3D bridge subclass =3D PCI-PCI cap 10[54] =3D PCI-Express 2 root port max data 128(128) ARI disabled link x32(x32) speed undef(undef) ASPM disabled(L0s) slot 0 power limit 0 mW HotPlug(empty) surprise Attn Button PC(off) EI(disengaged) cap 11[48] =3D MSI-X supports 1 message Table in map 0x10[0x0], PBA in map 0x10[0x800] cap 0d[40] =3D PCI Bridge card=3D0x00001b36 ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected ecap 000d[148] =3D ACS 1 uhci0@pci0:0:29:0: class=3D0x0c0300 card=3D0x11001af4 chip=3D0x2934808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801I (ICH9 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB uhci1@pci0:0:29:1: class=3D0x0c0300 card=3D0x11001af4 chip=3D0x2935808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801I (ICH9 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB uhci2@pci0:0:29:2: class=3D0x0c0300 card=3D0x11001af4 chip=3D0x2936808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801I (ICH9 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB ehci0@pci0:0:29:7: class=3D0x0c0320 card=3D0x11001af4 chip=3D0x293a808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801I (ICH9 Family) USB2 EHCI Controller' class =3D serial bus subclass =3D USB isab0@pci0:0:31:0: class=3D0x060100 card=3D0x11001af4 chip=3D0x2918808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB (ICH9) LPC Interface Controller' class =3D bridge subclass =3D PCI-ISA ahci0@pci0:0:31:2: class=3D0x010601 card=3D0x11001af4 chip=3D0x2922808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode]' class =3D mass storage subclass =3D SATA cap 05[80] =3D MSI supports 1 message, 64 bit enabled with 1 message cap 12[a8] =3D SATA Index-Data Pair none0@pci0:0:31:3: class=3D0x0c0500 card=3D0x11001af4 chip=3D0x2930808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801I (ICH9 Family) SMBus Controller' class =3D serial bus subclass =3D SMBus pcib5@pci0:1:0:0: class=3D0x060400 card=3D0x00000000 chip=3D0x000e1b3= 6 rev=3D0x00 hdr=3D0x01 vendor =3D 'Red Hat, Inc.' class =3D bridge subclass =3D PCI-PCI cap 05[8c] =3D MSI supports 1 message, 64 bit, vector masks=20 cap 01[84] =3D powerspec 3 supports D0 D3 current D0 cap 10[48] =3D PCI-Express 2 PCI bridge max data 128(128) ARI disabled link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) cap 0c[40] =3D unknown ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected em0@pci0:2:1:0: class=3D0x020000 card=3D0x11001af4 chip=3D0x100e8086 rev=3D= 0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82540EM Gigabit Ethernet Controller' class =3D network subclass =3D ethernet So there is some subtle interaction happing across PCI discovery and netmap code. I will now add other adaptors into test and post additional results shortly. Thanks for the advise it really helped with diagnosis. Cheers, John Hartley. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Jan 10 23:42: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 B0AF01F6CEC for ; Fri, 10 Jan 2020 23:42: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 47vffY4KdXz4J6V for ; Fri, 10 Jan 2020 23:42:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 947AE1F6CEA; Fri, 10 Jan 2020 23:42: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 943D31F6CE9 for ; Fri, 10 Jan 2020 23:42: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) server-signature RSA-PSS (4096 bits) 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 47vffY3Rxzz4J6T for ; Fri, 10 Jan 2020 23:42: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 71E1921D06 for ; Fri, 10 Jan 2020 23:42:29 +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 00ANgT2f060903 for ; Fri, 10 Jan 2020 23:42:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00ANgTJu060902 for virtualization@FreeBSD.org; Fri, 10 Jan 2020 23:42:29 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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Fri, 10 Jan 2020 23:42:29 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 10 Jan 2020 23:42:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #26 from John Hartley --- (In reply to Vincenzo Maffione from comment #24) Hi Vincenzo, here are the results for e1000 (em), vmxnet3 (vmx) virtio (vtnet) and rtl813 (re): # ifconfig -a lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=3D21 groups: lo em0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D209b ether 52:54:00:4e:50:91 hwaddr 52:54:00:4e:50:91 inet 192.168.73.131 netmask 0xffffff00 broadcast 192.168.73.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vmx0: flags=3D8802 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D60039b ether 52:54:00:fb:be:74 hwaddr 52:54:00:fb:be:74 nd6 options=3D29 media: Ethernet autoselect status: active re0: flags=3D8802 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D8009b ether 52:54:00:b9:0c:12 hwaddr 52:54:00:b9:0c:12 nd6 options=3D29 media: Ethernet autoselect (100baseTX ) status: active And PCI Conf: # pciconf -lcve hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x11001af4 chip=3D0x29c0808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82G33/G31/P35/P31 Express DRAM Controller' class =3D bridge subclass =3D HOST-PCI vgapci0@pci0:0:1:0: class=3D0x030000 card=3D0x11001af4 chip=3D0x01001b3= 6 rev=3D0x04 hdr=3D0x00 vendor =3D 'Red Hat, Inc.' device =3D 'QXL paravirtual graphic card' class =3D display subclass =3D VGA pcib1@pci0:0:2:0: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 vendor =3D 'Red Hat, Inc.' device =3D 'QEMU PCIe Root port' class =3D bridge subclass =3D PCI-PCI cap 10[54] =3D PCI-Express 2 root port max data 128(128) ARI disabled link x1(x32) speed 2.5(undef) ASPM disabled(L0s) slot 0 power limit 0 mW HotPlug(present) surprise Attn But= ton PC(on) EI(engaged) cap 11[48] =3D MSI-X supports 1 message Table in map 0x10[0x0], PBA in map 0x10[0x800] cap 0d[40] =3D PCI Bridge card=3D0x00001b36 ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected ecap 000d[148] =3D ACS 1 pcib2@pci0:0:2:1: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 vendor =3D 'Red Hat, Inc.' device =3D 'QEMU PCIe Root port' class =3D bridge subclass =3D PCI-PCI cap 10[54] =3D PCI-Express 2 root port max data 128(128) ARI disabled link x1(x32) speed 2.5(undef) ASPM disabled(L0s) slot 0 power limit 0 mW HotPlug(present) surprise Attn But= ton PC(on) EI(disengaged) cap 11[48] =3D MSI-X supports 1 message Table in map 0x10[0x0], PBA in map 0x10[0x800] cap 0d[40] =3D PCI Bridge card=3D0x00001b36 ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected ecap 000d[148] =3D ACS 1 pcib3@pci0:0:2:2: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 vendor =3D 'Red Hat, Inc.' device =3D 'QEMU PCIe Root port' class =3D bridge subclass =3D PCI-PCI cap 10[54] =3D PCI-Express 2 root port max data 128(128) ARI disabled link x1(x32) speed 2.5(undef) ASPM disabled(L0s) slot 0 power limit 0 mW HotPlug(present) surprise Attn But= ton PC(on) EI(disengaged) cap 11[48] =3D MSI-X supports 1 message Table in map 0x10[0x0], PBA in map 0x10[0x800] cap 0d[40] =3D PCI Bridge card=3D0x00001b36 ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected ecap 000d[148] =3D ACS 1 pcib4@pci0:0:2:3: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 vendor =3D 'Red Hat, Inc.' device =3D 'QEMU PCIe Root port' class =3D bridge subclass =3D PCI-PCI cap 10[54] =3D PCI-Express 2 root port max data 128(128) ARI disabled link x1(x32) speed 2.5(undef) ASPM disabled(L0s) slot 0 power limit 0 mW HotPlug(present) surprise Attn But= ton PC(on) EI(disengaged) cap 11[48] =3D MSI-X supports 1 message Table in map 0x10[0x0], PBA in map 0x10[0x800] cap 0d[40] =3D PCI Bridge card=3D0x00001b36 ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected ecap 000d[148] =3D ACS 1 uhci0@pci0:0:29:0: class=3D0x0c0300 card=3D0x11001af4 chip=3D0x2934808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801I (ICH9 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB uhci1@pci0:0:29:1: class=3D0x0c0300 card=3D0x11001af4 chip=3D0x2935808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801I (ICH9 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB uhci2@pci0:0:29:2: class=3D0x0c0300 card=3D0x11001af4 chip=3D0x2936808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801I (ICH9 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB ehci0@pci0:0:29:7: class=3D0x0c0320 card=3D0x11001af4 chip=3D0x293a808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801I (ICH9 Family) USB2 EHCI Controller' class =3D serial bus subclass =3D USB isab0@pci0:0:31:0: class=3D0x060100 card=3D0x11001af4 chip=3D0x2918808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB (ICH9) LPC Interface Controller' class =3D bridge subclass =3D PCI-ISA ahci0@pci0:0:31:2: class=3D0x010601 card=3D0x11001af4 chip=3D0x2922808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode]' class =3D mass storage subclass =3D SATA cap 05[80] =3D MSI supports 1 message, 64 bit enabled with 1 message cap 12[a8] =3D SATA Index-Data Pair none0@pci0:0:31:3: class=3D0x0c0500 card=3D0x11001af4 chip=3D0x2930808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801I (ICH9 Family) SMBus Controller' class =3D serial bus subclass =3D SMBus pcib5@pci0:1:0:0: class=3D0x060400 card=3D0x00000000 chip=3D0x000e1b3= 6 rev=3D0x00 hdr=3D0x01 vendor =3D 'Red Hat, Inc.' class =3D bridge subclass =3D PCI-PCI cap 05[8c] =3D MSI supports 1 message, 64 bit, vector masks=20 cap 01[84] =3D powerspec 3 supports D0 D3 current D0 cap 10[48] =3D PCI-Express 2 PCI bridge max data 128(128) ARI disabled link x1(x1) speed 2.5(2.5) ASPM disabled(L0s) cap 0c[40] =3D unknown ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected em0@pci0:2:1:0: class=3D0x020000 card=3D0x11001af4 chip=3D0x100e8086 rev=3D= 0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82540EM Gigabit Ethernet Controller' class =3D network subclass =3D ethernet vmx0@pci0:2:2:0: class=3D0x020000 card=3D0x07b015ad chip=3D0x07b015a= d rev=3D0x01 hdr=3D0x00 vendor =3D 'VMware' device =3D 'VMXNET3 Ethernet Controller' class =3D network subclass =3D ethernet cap 11[9c] =3D MSI-X supports 25 messages, enabled Table in map 0x18[0x0], PBA in map 0x18[0x1000] cap 05[84] =3D MSI supports 1 message, 64 bit=20 re0@pci0:2:3:0: class=3D0x020000 card=3D0x11001af4 chip=3D0x813910ec rev=3D= 0x20 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL-8100/8101L/8139 PCI Fast Ethernet Adapter' class =3D network subclass =3D ethernet All devices discovered with exception of virtio. I will put in fix that Tommy T found for virtio and retest. I am glad that we appear to be making progress in diagnosing issue. Cheers, John Hartley. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Jan 11 12: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 372A91E8C79 for ; Sat, 11 Jan 2020 12:32:26 +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 47vzky0pBGz42KV for ; Sat, 11 Jan 2020 12:32:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1B6B81E8C78; Sat, 11 Jan 2020 12:32:26 +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 1B2EB1E8C77 for ; Sat, 11 Jan 2020 12:32:26 +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) server-signature RSA-PSS (4096 bits) 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 47vzkx74y8z42KS for ; Sat, 11 Jan 2020 12:32:25 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EEACA2CDB for ; Sat, 11 Jan 2020 12:32:25 +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 00BCWP7r070067 for ; Sat, 11 Jan 2020 12:32:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00BCWPvn070064 for virtualization@FreeBSD.org; Sat, 11 Jan 2020 12:32:25 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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Sat, 11 Jan 2020 12:32:25 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vmaffione@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.29 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, 11 Jan 2020 12:32:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #27 from Vincenzo Maffione --- (In reply to John Hartley from comment #25) Just to double check: you are using 11.3-release, and not your "frankestein kernel" (11.3 with backported code from 11.2)? Assuming a positive answer, you are saying that with GENERIC you don't see = em0 showing up, and if you remove "dev netmap" (GENERIC2) then em0 shows up? That would be very weird... Can you point me at the revision that you used for the build? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Jan 11 23:26: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 88AA81F834C for ; Sat, 11 Jan 2020 23:26: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 47wGFb38XWz4d9w for ; Sat, 11 Jan 2020 23:26:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6C2E11F834B; Sat, 11 Jan 2020 23:26: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 6BE561F834A for ; Sat, 11 Jan 2020 23:26: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) server-signature RSA-PSS (4096 bits) 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 47wGFb2J1Nz4d9v for ; Sat, 11 Jan 2020 23:26: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 48BC4A734 for ; Sat, 11 Jan 2020 23:26: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 00BNQRv3080108 for ; Sat, 11 Jan 2020 23:26:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00BNQRad080107 for virtualization@FreeBSD.org; Sat, 11 Jan 2020 23:26: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 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Sat, 11 Jan 2020 23:26: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: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au 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.29 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, 11 Jan 2020 23:26:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #28 from John Hartley --- (In reply to Vincenzo Maffione from comment #27) Hi Vincenzo, the 11.3 kernel I compiled was standard (ie not my 11.3 / 11.2 Frankenstein) only change to GENERIC being "device netmap" disablement. Result was all Q35 network devices: e1000 (em), vmxnet3 (vmx) and rtl8139 (= re) are working. Now I have isolated problem I have "retired" Frankenstein ;-) I have also now done equivalent kernel build with 12.0 and get the same res= ult: # uname -a FreeBSD agent.in.graphica.com.au 12.0-RELEASE FreeBSD 12.0-RELEASE GENERIC2= =20 amd64 # diff /usr/src/sys/amd64/conf/GENERIC2 /usr/src/sys/amd64/conf/GENERIC 22c22 < ident GENERIC2 --- > ident GENERIC 362c362 < #device netmap # netmap(4) support --- > device netmap # netmap(4) support # ifconfig -a vmx0: flags=3D8802 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D60039b ether 52:54:00:07:92:50 media: Ethernet autoselect status: active nd6 options=3D29 em0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D81209b ether 52:54:00:cb:db:07 inet 192.168.73.102 netmask 0xffffff00 broadcast 192.168.73.255=20 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 re0: flags=3D8802 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D8009b ether 52:54:00:64:37:eb media: Ethernet autoselect (100baseTX ) status: active nd6 options=3D29 lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128=20 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4=20 inet 127.0.0.1 netmask 0xff000000=20 groups: lo=20 nd6 options=3D21 # pciconf -l hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x11001af4 chip=3D0x29c0808= 6 rev=3D0x00 hdr=3D0x00 vgapci0@pci0:0:1:0: class=3D0x030000 card=3D0x11001af4 chip=3D0x01001b3= 6 rev=3D0x04 hdr=3D0x00 pcib1@pci0:0:2:0: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 pcib3@pci0:0:2:1: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 pcib4@pci0:0:2:2: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 pcib5@pci0:0:2:3: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 pcib6@pci0:0:2:4: class=3D0x060400 card=3D0x00001b36 chip=3D0x000c1b3= 6 rev=3D0x00 hdr=3D0x01 uhci0@pci0:0:29:0: class=3D0x0c0300 card=3D0x11001af4 chip=3D0x2934808= 6 rev=3D0x03 hdr=3D0x00 uhci1@pci0:0:29:1: class=3D0x0c0300 card=3D0x11001af4 chip=3D0x2935808= 6 rev=3D0x03 hdr=3D0x00 uhci2@pci0:0:29:2: class=3D0x0c0300 card=3D0x11001af4 chip=3D0x2936808= 6 rev=3D0x03 hdr=3D0x00 ehci0@pci0:0:29:7: class=3D0x0c0320 card=3D0x11001af4 chip=3D0x293a808= 6 rev=3D0x03 hdr=3D0x00 isab0@pci0:0:31:0: class=3D0x060100 card=3D0x11001af4 chip=3D0x2918808= 6 rev=3D0x02 hdr=3D0x00 ahci0@pci0:0:31:2: class=3D0x010601 card=3D0x11001af4 chip=3D0x2922808= 6 rev=3D0x02 hdr=3D0x00 none0@pci0:0:31:3: class=3D0x0c0500 card=3D0x11001af4 chip=3D0x2930808= 6 rev=3D0x02 hdr=3D0x00 pcib2@pci0:1:0:0: class=3D0x060400 card=3D0x00000000 chip=3D0x000e1b3= 6 rev=3D0x00 hdr=3D0x01 vmx0@pci0:2:1:0: class=3D0x020000 card=3D0x07b015ad chip=3D0x07b015a= d rev=3D0x01 hdr=3D0x00 em0@pci0:2:2:0: class=3D0x020000 card=3D0x11001af4 chip=3D0x100e8086 rev=3D= 0x03 hdr=3D0x00 re0@pci0:2:3:0: class=3D0x020000 card=3D0x11001af4 chip=3D0x813910ec rev=3D= 0x20 hdr=3D0x00 none1@pci0:5:0:0: class=3D0x00ff00 card=3D0x11001af4 chip=3D0x10451af= 4 rev=3D0x01 hdr=3D0x00 So problem in 12.X is consistent with that in 11.3 . Let me know if there is any other testing or information you would like to = do / provide. Thanks. Cheers, John Hartley. --=20 You are receiving this mail because: You are the assignee for the bug.=