Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Apr 2019 05:05:25 +0000
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
Message-ID:  <bug-236922-227-M9IuOElvfS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236922-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236922-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922

--- Comment #4 from Tommy P <tommyhp2@gmail.com> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236922-227-M9IuOElvfS>