KVM with e1000e and WinGuest Host OS on kernel 5.3 (ok with 5.0)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
qemu (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
After upgrading to Ubuntu 19.10 I noticed that all of my Windows Servers VMs would cause a hard crash on the Host OS shortly after starting up the VM. I tracked it down to the Guest OS attempting to use the Network Connection, and if I disabled the virtual NIC for the VM, everything runs OK (albeit without a working network connection for the Guest OS). Note that I'm just using the built in virtual network called "default" that get's installed by default and uses NAT forwarding.
I believe the problem is related to AppArmor, as I noticed some errors present in various log files.
Unfortunately, due to a time critical project I had to roll back to Ubuntu 19.04 and didn't capture any of the log files. I did, however, find another user on Reddit with the exact same problems that I encountered and he agreed to let me post the log files.
Here are what are think are the relevant pieces from the log files:
=======
Oct 22 22:59:23 brian-pc dnsmasq[2178]: exiting on receipt of SIGTERM
Oct 22 22:59:23 brian-pc kernel: [ 67.001284] device virbr0-nic left promiscuous mode
Oct 22 22:59:23 brian-pc kernel: [ 67.001298] virbr0: port 1(virbr0-nic) entered disabled state
Oct 22 22:59:23 brian-pc NetworkManager[
Oct 22 22:59:23 brian-pc gnome-shell[4401]: Removing a network device that was not added
Oct 22 22:59:23 brian-pc gnome-shell[2463]: Removing a network device that was not added
Oct 22 22:59:23 brian-pc avahi-daemon[1621]: Interface virbr0.IPv4 no longer relevant for mDNS.
Oct 22 22:59:23 brian-pc avahi-daemon[1621]: Leaving mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Oct 22 22:59:23 brian-pc avahi-daemon[1621]: Withdrawing address record for 192.168.122.1 on virbr0.
Oct 22 22:59:23 brian-pc NetworkManager[
Oct 22 22:59:23 brian-pc gnome-shell[2463]: Removing a network device that was not added
Oct 22 22:59:23 brian-pc gnome-shell[4401]: Removing a network device that was not added
Oct 22 22:59:23 brian-pc dbus-daemon[1610]: [system] Activating via systemd: service name='org.
Oct 22 22:59:23 brian-pc systemd[1]: Starting Network Manager Script Dispatcher Service...
Oct 22 22:59:23 brian-pc gnome-shell[2463]: Object NM.ActiveConnection (0x55ccfb376e50), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Oct 22 22:59:23 brian-pc gnome-shell[2463]: == Stack trace for context 0x55ccfb8d15f0 ==
Oct 22 22:59:23 brian-pc gnome-shell[2463]: #0 55ccfbc736c0 i resource:
Oct 22 22:59:23 brian-pc gnome-shell[2463]: #1 55ccfbc73628 i resource:
Oct 22 22:59:23 brian-pc gnome-shell[2463]: #2 55ccfbc73588 i resource:
Oct 22 22:59:23 brian-pc gnome-shell[2463]: #3 55ccfbc734f0 i resource:
Oct 22 22:59:23 brian-pc gnome-shell[2463]: #4 55ccfbc73430 i self-hosted:979 (7f522262dee0 @ 440)
Oct 22 22:59:23 brian-pc gnome-shell[2463]: JS ERROR: TypeError: connection.
Oct 22 22:59:23 brian-pc gnome-shell[2463]: JS ERROR: TypeError: connectionSettings is null#012_
Oct 22 22:59:23 brian-pc gnome-shell[4401]: JS ERROR: TypeError: connectionSettings is null#012_
Oct 22 22:59:23 brian-pc dbus-daemon[1610]: [system] Successfully activated service 'org.freedeskto
Oct 22 22:59:23 brian-pc systemd[1]: Started Network Manager Script Dispatcher Service.
Oct 22 22:59:30 brian-pc systemd[1]: systemd-
Oct 22 22:59:30 brian-pc systemd[1]: systemd-
Oct 22 22:59:34 brian-pc systemd[1]: NetworkManager-
Oct 22 22:59:34 brian-pc systemd[1]: systemd-
Oct 22 22:59:35 brian-pc kernel: [ 78.876946] kauditd_printk_skb: 38 callbacks suppressed
Oct 22 22:59:35 brian-pc kernel: [ 78.876947] audit: type=1400 audit(157179957
Oct 22 22:59:35 brian-pc kernel: [ 78.919660] audit: type=1400 audit(157179957
Oct 22 22:59:35 brian-pc systemd[1]: Started Virtual machine log manager.
Oct 22 22:59:43 brian-pc geoclue[2717]: Service not used for 60 seconds. Shutting down..
Oct 22 22:59:43 brian-pc systemd[1]: geoclue.service: Main process exited, code=killed, status=15/TERM
Oct 22 22:59:43 brian-pc systemd[1]: geoclue.service: Succeeded.
Oct 22 22:59:48 brian-pc tracker-
Oct 22 22:59:48 brian-pc systemd[4096]: tracker-
Oct 22 22:59:54 brian-pc wpa_supplicant[
Oct 22 22:59:59 brian-pc xdg-desktop-
Oct 22 23:00:01 brian-pc kernel: [ 104.801913] audit: type=1400 audit(157179960
Oct 22 23:00:01 brian-pc io.elementary.
Oct 22 23:00:01 brian-pc kernel: [ 104.845695] audit: type=1400 audit(157179960
Oct 22 23:00:02 brian-pc PackageKit: get-packages transaction /29684_bebacdcb from uid 1000 finished with success after 618ms
Oct 22 23:00:03 brian-pc kernel: [ 107.458511] [UFW BLOCK] IN=wlp0s20f3 OUT= MAC=f4:
Oct 22 23:00:07 brian-pc kernel: [ 110.735868] [UFW BLOCK] IN=wlp0s20f3 OUT= MAC=f4:
Oct 22 23:00:09 brian-pc PackageKit: refresh-cache transaction /29685_cbcddcda from uid 1000 finished with success after 7637ms
Oct 22 23:00:09 brian-pc kernel: [ 113.602632] [UFW BLOCK] IN=wlp0s20f3 OUT= MAC=f4:
Oct 22 23:00:11 brian-pc PackageKit: get-updates transaction /29686_cbeacbbd from uid 1000 finished with success after 1215ms
Oct 22 23:00:13 brian-pc kernel: [ 117.494453] [UFW BLOCK] IN=wlp0s20f3 OUT= MAC=f4:
Oct 22 23:00:16 brian-pc gnome-shell[4401]: [AppIndicatorSu
Oct 22 23:00:16 brian-pc gnome-shell[4401]: [AppIndicatorSu
Oct 22 23:00:19 brian-pc kernel: [ 123.228740] audit: type=1400 audit(157179961
Oct 22 23:00:19 brian-pc kernel: [ 123.270565] audit: type=1400 audit(157179961
Oct 22 23:00:19 brian-pc kernel: [ 123.294563] audit: type=1400 audit(157179961
Oct 22 23:00:19 brian-pc kernel: [ 123.336923] audit: type=1400 audit(157179961
Oct 22 23:00:19 brian-pc kernel: [ 123.361043] audit: type=1400 audit(157179961
Oct 22 23:00:19 brian-pc kernel: [ 123.402401] audit: type=1400 audit(157179961
Oct 22 23:00:19 brian-pc kernel: [ 123.426276] audit: type=1400 audit(157179961
Oct 22 23:00:19 brian-pc kernel: [ 123.468397] audit: type=1400 audit(157179961
Oct 22 23:00:19 brian-pc gnome-shell[4401]: [AppIndicatorSu
Oct 22 23:00:19 brian-pc gnome-shell[4401]: [AppIndicatorSu
Oct 22 23:00:19 brian-pc gnome-shell[4401]: [AppIndicatorSu
Oct 22 23:00:19 brian-pc gnome-shell[4401]: [AppIndicatorSu
Oct 22 23:00:23 brian-pc kernel: [ 127.427774] [UFW BLOCK] IN=wlp0s20f3 OUT= MAC=f4:
Oct 22 23:00:27 brian-pc kernel: [ 130.911806] [UFW BLOCK] IN=wlp0s20f3 OUT= MAC=f4:
Oct 22 23:00:44 brian-pc systemd[2021]: Reached target GNOME Session is stable (running for >2 minutes).
Oct 22 23:00:59 brian-pc xdg-desktop-
=======
I've also attached the entire log file for reference.
Changed in qemu (Ubuntu): | |
status: | Incomplete → In Progress |
assignee: | nobody → Rafael David Tinoco (rafaeldtinoco) |
Changed in qemu (Ubuntu): | |
assignee: | Rafael David Tinoco (rafaeldtinoco) → nobody |
Accidentally filed bug under qemu-kvm, which is no longer a package being maintained. The bug affect Ubuntu 19.10 (Eoan).