You are not logged in.

#1 2020-05-25 19:02:52

aaronglz23
Member
Registered: 2019-12-06
Posts: 17

[SOLVED] Gnome Boxes VM's crash after installation

Hi, I'm using Gnome Boxes, when I try to start the machine after the installation it crashes:

Here the gnome-boxes log:

Broker URL: qemu+unix:///session
Domain: boxes-unknown
UUID: 413dea65-32dd-4a59-ab1b-98f8b4cfb702
Persistent: yes
Cpu time: 0
Memory: 4211550 KiB
Max memory: 16313428 KiB
CPUs: 4
State: GVIR_DOMAIN_STATE_SHUTOFF
 
Domain config:
------------------------------------------------------------
<domain type="kvm">
  <name>boxes-unknown</name>
  <uuid>413dea65-32dd-4a59-ab1b-98f8b4cfb702</uuid>
  <title>pop-os_20</title>
  <metadata>
    <boxes:gnome-boxes xmlns:boxes="https://wiki.gnome.org/Apps/Boxes">
      <os-state>installed</os-state>
      <media>/home/aaron/Downloads/pop-os_20.04_amd64_intel_6.iso</media>
    </boxes:gnome-boxes>
  </metadata>
  <memory unit="KiB">4211550</memory>
  <currentMemory unit="KiB">4211550</currentMemory>
  <vcpu placement="static">4</vcpu>
  <os firmware="bios">
    <type arch="x86_64" machine="pc-i440fx-5.0">hvm</type>
    <boot dev="hd"/>
    <bootmenu enable="no"/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode="host-passthrough" check="none">
    <topology sockets="1" cores="2" threads="2"/>
  </cpu>
  <clock offset="utc">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <pm>
    <suspend-to-mem enabled="no"/>
    <suspend-to-disk enabled="no"/>
  </pm>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type="file" device="disk">
      <driver name="qemu" type="qcow2" cache="writeback"/>
      <source file="/home/aaron/.local/share/gnome-boxes/images/boxes-unknown"/>
      <target dev="hda" bus="ide"/>
      <address type="drive" controller="0" bus="0" target="0" unit="0"/>
    </disk>
    <disk type="file" device="cdrom">
      <driver name="qemu" type="raw"/>
      <target dev="hdc" bus="ide"/>
      <readonly/>
      <address type="drive" controller="0" bus="1" target="0" unit="0"/>
    </disk>
    <controller type="usb" index="0" model="ich9-ehci1">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x7"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci1">
      <master startport="0"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0" multifunction="on"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci2">
      <master startport="2"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x1"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci3">
      <master startport="4"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x2"/>
    </controller>
    <controller type="pci" index="0" model="pci-root"/>
    <controller type="ide" index="0">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
    </controller>
    <controller type="virtio-serial" index="0">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/>
    </controller>
    <controller type="ccid" index="0">
      <address type="usb" bus="0" port="1"/>
    </controller>
    <interface type="user">
      <mac address="52:54:00:61:c1:ab"/>
      <model type="rtl8139"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
    </interface>
    <smartcard mode="passthrough" type="spicevmc">
      <address type="ccid" controller="0" slot="0"/>
    </smartcard>
    <serial type="pty">
      <target type="isa-serial" port="0">
        <model name="isa-serial"/>
      </target>
    </serial>
    <console type="pty">
      <target type="serial" port="0"/>
    </console>
    <channel type="spicevmc">
      <target type="virtio" name="com.redhat.spice.0"/>
      <address type="virtio-serial" controller="0" bus="0" port="1"/>
    </channel>
    <channel type="spiceport">
      <source channel="org.spice-space.webdav.0"/>
      <target type="virtio" name="org.spice-space.webdav.0"/>
      <address type="virtio-serial" controller="0" bus="0" port="2"/>
    </channel>
    <input type="mouse" bus="ps2"/>
    <input type="keyboard" bus="ps2"/>
    <graphics type="spice">
      <listen type="none"/>
      <image compression="off"/>
      <gl enable="no"/>
    </graphics>
    <sound model="ich6">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
    </sound>
    <video>
      <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes">
        <acceleration accel3d="no"/>
      </model>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
    </video>
    <redirdev bus="usb" type="spicevmc">
      <address type="usb" bus="0" port="2"/>
    </redirdev>
    <redirdev bus="usb" type="spicevmc">
      <address type="usb" bus="0" port="3"/>
    </redirdev>
    <redirdev bus="usb" type="spicevmc">
      <address type="usb" bus="0" port="4"/>
    </redirdev>
    <redirdev bus="usb" type="spicevmc">
      <address type="usb" bus="0" port="5"/>
    </redirdev>
    <memballoon model="virtio">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
    </memballoon>
  </devices>
</domain>
------------------------------------------------------------
 
QEMU log:
------------------------------------------------------------
2020-05-25 18:24:55.771+0000: starting up libvirt version: 5.10.0, qemu version: 5.0.0, kernel: 5.4.42-1-lts, hostname: aspire-e15.localdomain
LC_ALL=C \
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl \
HOME=/home/aaron \
USER=aaron \
LOGNAME=aaron \
XDG_CACHE_HOME=/home/aaron/.config/libvirt/qemu/lib/domain-2-boxes-unknown/.cache \
QEMU_AUDIO_DRV=spice \
/usr/bin/qemu-system-x86_64 \
-name guest=boxes-unknown,debug-threads=on \
-S \
-object secret,id=masterKey0,format=raw,file=/home/aaron/.config/libvirt/qemu/lib/domain-2-boxes-unknown/master-key.aes \
-machine pc-i440fx-5.0,accel=kvm,usb=off,dump-guest-core=off \
-cpu host \
-m 4113 \
-overcommit mem-lock=off \
-smp 4,sockets=1,cores=2,threads=2 \
-uuid 413dea65-32dd-4a59-ab1b-98f8b4cfb702 \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=30,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-hpet \
-no-reboot \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 \
-boot menu=on,strict=on \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
-device usb-ccid,id=ccid0,bus=usb.0,port=1 \
-blockdev '{"driver":"file","filename":"/home/aaron/.local/share/gnome-boxes/images/boxes-unknown","node-name":"libvirt-2-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-2-storage","backing":null}' \
-device ide-hd,bus=ide.0,unit=0,drive=libvirt-2-format,id=ide0-0-0,bootindex=2,write-cache=on \
-blockdev '{"driver":"file","filename":"/home/aaron/Downloads/pop-os_20.04_amd64_intel_6.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
-device ide-cd,bus=ide.1,unit=0,drive=libvirt-1-format,id=ide0-1-0,bootindex=1 \
-netdev user,id=hostnet0 \
-device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:61:c1:ab,bus=pci.0,addr=0x3 \
-chardev spicevmc,id=charsmartcard0,name=smartcard \
-device ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 \
-chardev spiceport,id=charchannel1,name=org.spice-space.webdav.0 \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 \
-spice port=0,disable-ticketing,image-compression=off,seamless-migration=on \
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 \
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-chardev spicevmc,id=charredir0,name=usbredir \
-device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 \
-chardev spicevmc,id=charredir1,name=usbredir \
-device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 \
-chardev spicevmc,id=charredir2,name=usbredir \
-device usb-redir,chardev=charredir2,id=redir2,bus=usb.0,port=4 \
-chardev spicevmc,id=charredir3,name=usbredir \
-device usb-redir,chardev=charredir3,id=redir3,bus=usb.0,port=5 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-05-25 18:24:55.771+0000: Domain id=2 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
2020-05-25 18:38:15.097+0000: shutting down, reason=shutdown
2020-05-25 18:38:15.162+0000: shutting down, reason=failed
2020-05-25 18:38:24.278+0000: shutting down, reason=failed
2020-05-25 18:38:44.729+0000: shutting down, reason=failed
2020-05-25 18:45:01.821+0000: shutting down, reason=failed

And the libvirtd service log:

● libvirtd.service - Virtualization daemon
     Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: disabled)
     Active: active (running) since Mon 2020-05-25 19:50:03 WEST; 12min ago
TriggeredBy: ● libvirtd-ro.socket
             ● libvirtd-admin.socket
             ● libvirtd.socket
       Docs: man:libvirtd(8)
             https://libvirt.org
   Main PID: 5927 (libvirtd)
      Tasks: 19 (limit: 32768)
     Memory: 53.8M
     CGroup: /system.slice/libvirtd.service
             ├─ 832 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
             ├─ 833 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
             └─5927 /usr/bin/libvirtd

May 25 19:50:03 aspire-e15 systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
May 25 19:50:03 aspire-e15 systemd[1]: libvirtd.service: Found left-over process 833 (dnsmasq) in control group while starting unit. Ignoring.
May 25 19:50:03 aspire-e15 systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
May 25 19:50:03 aspire-e15 systemd[1]: Started Virtualization daemon.
May 25 19:50:04 aspire-e15 dnsmasq[832]: read /etc/hosts - 3 addresses
May 25 19:50:04 aspire-e15 dnsmasq[832]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
May 25 19:50:04 aspire-e15 dnsmasq-dhcp[832]: read /var/lib/libvirt/dnsmasq/default.hostsfile
May 25 19:51:13 aspire-e15 libvirtd[5927]: libvirt version: 5.10.0
May 25 19:51:13 aspire-e15 libvirtd[5927]: hostname: aspire-e15
May 25 19:51:13 aspire-e15 libvirtd[5927]: End of file while reading data: Input/output error

Last edited by aaronglz23 (2020-05-25 23:21:59)

Offline

#2 2020-05-25 19:50:00

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: [SOLVED] Gnome Boxes VM's crash after installation

These logs aren't from the same timeframe, so it's not possible to correlate what (could have) happened: the libvirtd log states "active (running) since Mon 2020-05-25 19:50:03" but the boxes log ends *before* that: "2020-05-25 18:45:01.821+0000: shutting down, reason=failed". Can you post logs that are from the same timeframe? Use journalctl to grab logs from previous timeframes.

Offline

#3 2020-05-25 20:00:02

aaronglz23
Member
Registered: 2019-12-06
Posts: 17

Re: [SOLVED] Gnome Boxes VM's crash after installation

twelveeighty wrote:

These logs aren't from the same timeframe, so it's not possible to correlate what (could have) happened: the libvirtd log states "active (running) since Mon 2020-05-25 19:50:03" but the boxes log ends *before* that: "2020-05-25 18:45:01.821+0000: shutting down, reason=failed". Can you post logs that are from the same timeframe? Use journalctl to grab logs from previous timeframes.

I guess it's because I was using Virt-Manager too. Here the journalctl:

-- Logs begin at Thu 2020-04-16 19:43:30 WEST, end at Mon 2020-05-25 20:55:46 W>
May 25 20:44:17 aspire-e15 kernel: dw_dmac INTL9C60:00: Missing DT data
May 25 20:44:17 aspire-e15 kernel: sd 4:0:0:0: [sdb] No Caching mode page found
May 25 20:44:17 aspire-e15 kernel: sd 4:0:0:0: [sdb] Assuming drive cache: writ>
May 25 20:44:30 aspire-e15 gdm-password][845]: gkr-pam: unable to locate daemon>
May 25 20:44:40 aspire-e15 libvirtd[454]: operation failed: pool 'default' alre>
May 25 20:45:01 aspire-e15 libvirtd[1511]: operation failed: Unable to find any>
May 25 20:45:04 aspire-e15 libvirtd[1511]: End of file while reading data: Inpu>
May 25 20:45:04 aspire-e15 libvirtd[454]: End of file while reading data: Input>
May 25 20:55:30 aspire-e15 libvirtd[3339]: operation failed: Unable to find any>
May 25 20:55:31 aspire-e15 libvirtd[454]: End of file while reading data: Input>
May 25 20:55:31 aspire-e15 libvirtd[3339]: End of file while reading data: Inpu>
lines 1-12/12 (END)...skipping...
-- Logs begin at Thu 2020-04-16 19:43:30 WEST, end at Mon 2020-05-25 20:55:46 WEST. --
May 25 20:44:17 aspire-e15 kernel: dw_dmac INTL9C60:00: Missing DT data
May 25 20:44:17 aspire-e15 kernel: sd 4:0:0:0: [sdb] No Caching mode page found
May 25 20:44:17 aspire-e15 kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through
May 25 20:44:30 aspire-e15 gdm-password][845]: gkr-pam: unable to locate daemon control file
May 25 20:44:40 aspire-e15 libvirtd[454]: operation failed: pool 'default' already exists with uuid 04d9a7fa-3a33-4b31-beeb-dc806f9c5418
May 25 20:45:01 aspire-e15 libvirtd[1511]: operation failed: Unable to find any firmware to satisfy 'bios'
May 25 20:45:04 aspire-e15 libvirtd[1511]: End of file while reading data: Input/output error
May 25 20:45:04 aspire-e15 libvirtd[454]: End of file while reading data: Input/output error
May 25 20:55:30 aspire-e15 libvirtd[3339]: operation failed: Unable to find any firmware to satisfy 'bios'
May 25 20:55:31 aspire-e15 libvirtd[454]: End of file while reading data: Input/output error
May 25 20:55:31 aspire-e15 libvirtd[3339]: End of file while reading data: Input/output error
~
~
lines 1-12/12 (END)
~
-- Logs begin at Thu 2020-04-16 19:43:30 WEST, end at Mon 2020-05-25 20:55:46 WEST. --
May 25 20:44:17 aspire-e15 kernel: dw_dmac INTL9C60:00: Missing DT data
May 25 20:44:17 aspire-e15 kernel: sd 4:0:0:0: [sdb] No Caching mode page found
May 25 20:44:17 aspire-e15 kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through
May 25 20:44:30 aspire-e15 gdm-password][845]: gkr-pam: unable to locate daemon control file
May 25 20:44:40 aspire-e15 libvirtd[454]: operation failed: pool 'default' already exists with uuid 04d9a7fa-3a33-4b31-beeb-dc806f9c5418
May 25 20:45:01 aspire-e15 libvirtd[1511]: operation failed: Unable to find any firmware to satisfy 'bios'
May 25 20:45:04 aspire-e15 libvirtd[1511]: End of file while reading data: Input/output error
May 25 20:45:04 aspire-e15 libvirtd[454]: End of file while reading data: Input/output error
May 25 20:55:30 aspire-e15 libvirtd[3339]: operation failed: Unable to find any firmware to satisfy 'bios'
May 25 20:55:31 aspire-e15 libvirtd[454]: End of file while reading data: Input/output error
May 25 20:55:31 aspire-e15 libvirtd[3339]: End of file while reading data: Input/output error
~

Offline

#4 2020-05-25 20:10:47

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: [SOLVED] Gnome Boxes VM's crash after installation

Don't spoon-feed information - describe *exactly* what you did. Can you reproduce the problem starting the guest using Virt-Manager? Have you ever been able to start the guest? If not, Gnome-Boxes isn't going to either. If you are able to start the guest through other means, that would be very important to mention.

By the way: that journalctl snippet still does not match the timeframe from your boxes log in first post.

Offline

#5 2020-05-25 20:35:14

aaronglz23
Member
Registered: 2019-12-06
Posts: 17

Re: [SOLVED] Gnome Boxes VM's crash after installation

twelveeighty wrote:

Don't spoon-feed information - describe *exactly* what you did. Can you reproduce the problem starting the guest using Virt-Manager? Have you ever been able to start the guest? If not, Gnome-Boxes isn't going to either. If you are able to start the guest through other means, that would be very important to mention.

By the way: that journalctl snippet still does not match the timeframe from your boxes log in first post.

Virt-Manager works fine, I used it for a while, I checked it now again and it works perfectly. Now I switched from XFCE to Gnome, so I've started to use Gnome-Boxes, and I could start the machine the first time after the creation and installation, but after reboot, the machine doesn't start. Any time that I start a new machine for installation it works fine, then it doesn't start, it shows me the log immediately.

No idea about the match of the timeframe...

Last edited by aaronglz23 (2020-05-25 20:47:42)

Offline

#6 2020-05-25 22:19:12

nisby
Member
Registered: 2020-04-05
Posts: 5

Re: [SOLVED] Gnome Boxes VM's crash after installation

gnome-boxes is flagged out of date from 20-03-2020, maybe this is the problem

Offline

#7 2020-05-25 23:20:37

aaronglz23
Member
Registered: 2019-12-06
Posts: 17

Re: [SOLVED] Gnome Boxes VM's crash after installation

nisby wrote:

gnome-boxes is flagged out of date from 20-03-2020, maybe this is the problem

Oh, I forgot to check that. Yes, it is flagged out of date, the version is 3.36.0-1 and the gnome-boxes on flatpak is 3.36.3. And it seems that gnome recommends to install gnome-boxes from flatpak, and it makes more sense as long as the archlinux version is flagged out of date. So I installed it from flatpak and it's working perfectly. Thanks for the warning smile

Last edited by aaronglz23 (2020-05-25 23:22:48)

Offline

Board footer

Powered by FluxBB