From owner-freebsd-virtualization@freebsd.org Mon Jan 13 19:27:47 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB3401E9CD2 for ; Mon, 13 Jan 2020 19:27:47 +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 47xNsH4f5mz44qd for ; Mon, 13 Jan 2020 19:27:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9D8581E9CD1; Mon, 13 Jan 2020 19:27:47 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9D34C1E9CD0 for ; Mon, 13 Jan 2020 19:27:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) 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 47xNsH3gKrz44qb for ; Mon, 13 Jan 2020 19:27:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.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 781AA985B for ; Mon, 13 Jan 2020 19:27:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00DJRlCK010069 for ; Mon, 13 Jan 2020 19:27:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00DJRlir010068 for virtualization@FreeBSD.org; Mon, 13 Jan 2020 19:27:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Date: Mon, 13 Jan 2020 19:27: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: 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, 13 Jan 2020 19:27:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774 --- Comment #50 from John Hartley --- (In reply to Dobri Dobrev from comment #49) Hi Dobri, Assuming you are on Q35 with OVMF (as this is what I have tested against). If you are happy to use SATA then you don't need any patches. Just recompile your kernel with /usr/src/sys/amd64/conf/GENERIC but with the "device netmap" commented out in GENERIC. 362c362 < #device netmap # netmap(4) support --- > device netmap # netmap(4) support This will give you a machine with SATA HD and working networking. If you also want to be able to use VirtIO then you will also need to apply = the VirtIO patch. However if you do this then you must make sure you also recompile with netm= ap disabled if you want networking. The result with be a machine that has VirtIO HD and any of em, vm or re networking. Right now I do not believe you can have VirtIO networking only HD. If you do decide to build with VirtIO support then you will need to change = your /etc/fstab mounts to reflect the different disk naming: SATA - adaNpX VirtIO SCSI - daNpX VirtIO block - vtbdNpX Where N is disk id and X is partition number. So what you do reflects the choices you make, until this is all fully fixed= as part of a release. I hope this is clear... Cheers, John Hartley. --=20 You are receiving this mail because: You are the assignee for the bug.=