From owner-freebsd-bugs@freebsd.org Mon Apr 1 05:05:28 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A4C5157AD02 for ; Mon, 1 Apr 2019 05:05:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 135B87031F for ; Mon, 1 Apr 2019 05:05:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C3F0F157ACFF; Mon, 1 Apr 2019 05:05:27 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CAB2157ACFD for ; Mon, 1 Apr 2019 05:05:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3355F70314 for ; Mon, 1 Apr 2019 05:05:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7A6951269E for ; Mon, 1 Apr 2019 05:05:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3155QPL077692 for ; Mon, 1 Apr 2019 05:05:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3155QRI077691 for bugs@FreeBSD.org; Mon, 1 Apr 2019 05:05:26 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: bugs@FreeBSD.org Subject: [Bug 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Date: Mon, 01 Apr 2019 05:05: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: 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: bugs@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-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2019 05:05:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 --- Comment #4 from Tommy P --- (In reply to Kubilay Kocak from comment #2) Thank you for the feedback. I'm hesitant to try QEMU 4.0 since it's not officially supported on Ubuntu (even the current 18.10): https://packages.ubuntu.com/search?keywords=3Dqemu Aside from that, it still doesn't explain why the original kernel (r341666) from the install ISO did not detect the VirtIO PCI controllers while the cu= stom built updated from src (r345757) did detect the VirtIO PCI controllers when= the diff comparison of src/sys/dev/virtio doesn't show any changes. If anythin= g, I'd expect the custom built kernel not to detect any VirtIO PCI controllers like the original kernel of the install. Since the custom kernel did in fa= ct the detect the VirtIO PCI controllers, it lead me to believe that the drive= rs are not working correctly. To confirm that the virtio drivers are loaded, I got this: root@fbsd12:~ # kldload virtio kldload: can't load virtio: module already loaded or in kernel yet: root@fbsd12:~ # kldstat Id Refs Address Size Name 1 10 0xffffffff80200000 1099a70 kernel 2 1 0xffffffff8129b000 372508 zfs.ko 3 2 0xffffffff8160e000 a2e8 opensolaris.ko when 'pciconf -lvce' shows the VirtIO PCI controllers. I've attached the /var/log/messages file with verbose logging on boot as requested. As side note, I was able to install just about every guest OS (Fedora, Ubuntu, and Windows 2008 R2 to Windows 2016) successfully utilizing the Q35 chipset and VirtIO HDD+NIC --=20 You are receiving this mail because: You are the assignee for the bug.=