All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: "Leonardo Soares Müller" <leozinho29_eu@hotmail.com>
Cc: "kraxel@redhat.com" <kraxel@redhat.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Crash when booting KDE Neon using qxl-vga
Date: Fri, 1 Feb 2019 13:36:40 +0000	[thread overview]
Message-ID: <20190201133639.GE3150@work-vm> (raw)
In-Reply-To: <RO1P152MB14834BE5D9747719CD493C5297960@RO1P152MB1483.LAMP152.PROD.OUTLOOK.COM>

* Leonardo Soares Müller (leozinho29_eu@hotmail.com) wrote:
> libspice-server1 on host: 0.14.0-1ubuntu2.2
> spice-vdagent (the only package) on guest: 0.17.0-1ubuntu2
> Guest kernel version: 4.15.0-44-generic

Hmm, I'm also getting a crash, but I think it's very different from
yours:

./x86_64-softmmu/qemu-system-x86_64 -M pc,accel=kvm -smp 3 -m 8G -cdrom /home/vmimages/neon-useredition-current.iso -drive if=virtio,file=/home/vmimages/kde-neon.qcow2 -vga qxl

kvm_mem_ioeventfd_add: error adding ioeventfd: No space left on device
Aborted (core dumped)

#2  0x0000555555893ee6 in kvm_mem_ioeventfd_add (listener=<optimized out>, section=0x7fffdbffb9d0, match_data=<optimized out>, data=0, e=<optimized out>)
    at /home/dgilbert/git/qemu/accel/kvm/kvm-all.c:866
#3  0x000055555588123d in address_space_add_del_ioeventfds
    (fds_old_nb=0, fds_old=0x0, fds_new_nb=1, fds_new=0x7fffd0944570, as=0x5555563bbea0 <address_space_memory>) at /home/dgilbert/git/qemu/memory.c:793
#4  0x000055555588123d in address_space_update_ioeventfds (as=as@entry=0x5555563bbea0 <address_space_memory>) at /home/dgilbert/git/qemu/memory.c:843
#5  0x00005555558816c8 in memory_region_transaction_commit () at /home/dgilbert/git/qemu/memory.c:1087
#6  0x00005555558816c8 in memory_region_transaction_commit () at /home/dgilbert/git/qemu/memory.c:1071
#7  0x0000555555aab425 in pci_update_mappings (d=d@entry=0x555557617ce0) at /home/dgilbert/git/qemu/hw/pci/pci.c:1357
#8  0x0000555555aaba89 in pci_default_write_config (d=d@entry=0x555557617ce0, addr=addr@entry=4, val_in=263, l=l@entry=2)
    at /home/dgilbert/git/qemu/hw/pci/pci.c:1413
#9  0x0000555555b216c1 in virtio_write_config (pci_dev=0x555557617ce0, address=4, val=<optimized out>, len=2)
    at /home/dgilbert/git/qemu/hw/virtio/virtio-pci.c:598
#10 0x0000555555ab26bf in pci_host_config_write_common (pci_dev=0x555557617ce0, addr=4, limit=<optimized out>, val=263, len=2)
    at /home/dgilbert/git/qemu/hw/pci/pci_host.c:87
#11 0x000055555587f721 in memory_region_write_accessor
    (mr=0x555556a0bf80, addr=0, value=<optimized out>, size=2, shift=<optimized out>, mask=<optimized out>, attrs=...)
    at /home/dgilbert/git/qemu/memory.c:502
#12 0x000055555587d276 in access_with_adjusted_size
    (addr=addr@entry=0, value=value@entry=0x7fffdbffbce8, size=size@entry=2, access_size_min=<optimized out>, access_size_max=<optimized out>, access_fn=access_fn@entry=0x55555587f6a0 <memory_region_write_accessor>, mr=0x555556a0bf80, attrs=...) at /home/dgilbert/git/qemu/memory.c:568
#13 0x0000555555881bfc in memory_region_dispatch_write (mr=mr@entry=0x555556a0bf80, addr=0, data=<optimized out>, size=2, attrs=attrs@entry=...)
    at /home/dgilbert/git/qemu/memory.c:1499
#14 0x0000555555828923 in flatview_write_continue
    (fv=fv@entry=0x7fffd0847c00, addr=addr@entry=3324, attrs=..., buf=buf@entry=0x7ffff7fc5000 "\a\001", len=len@entry=2, addr1=<optimized out>, l=<optimized out>, mr=0x555556a0bf80) at /home/dgilbert/git/qemu/exec.c:3247
#15 0x0000555555828b49 in flatview_write (fv=0x7fffd0847c00, addr=3324, attrs=..., buf=0x7ffff7fc5000 "\a\001", len=2)
    at /home/dgilbert/git/qemu/exec.c:3286
#16 0x000055555582cc7f in address_space_write (as=<optimized out>, addr=addr@entry=3324, attrs=..., buf=<optimized out>, len=len@entry=2)
    at /home/dgilbert/git/qemu/exec.c:3376
#17 0x000055555582cd0a in address_space_rw (as=<optimized out>, addr=addr@entry=3324, attrs=..., 
    attrs@entry=..., buf=<optimized out>, len=len@entry=2, is_write=is_write@entry=true) at /home/dgilbert/git/qemu/exec.c:3387
#18 0x0000555555894e45 in kvm_handle_io (count=1, size=2, direction=<optimized out>, data=<optimized out>, attrs=..., port=3324)
    at /home/dgilbert/git/qemu/accel/kvm/kvm-all.c:1775
#19 0x0000555555894e45 in kvm_cpu_exec (cpu=cpu@entry=0x55555670f6f0) at /home/dgilbert/git/qemu/accel/kvm/kvm-all.c:2021
#20 0x000055555586a6be in qemu_kvm_cpu_thread_fn (arg=0x55555670f6f0) at /home/dgilbert/git/qemu/cpus.c:1281
#21 0x000055555586a6be in qemu_kvm_cpu_thread_fn (arg=arg@entry=0x55555670f6f0) at /home/dgilbert/git/qemu/cpus.c:1254
#22 0x0000555555ca0e7a in qemu_thread_start (args=<optimized out>) at /home/dgilbert/git/qemu/util/qemu-thread-posix.c:502
#23 0x00007ffff536258e in start_thread () at /lib64/libpthread.so.0

(gdb) p section->offset_within_address_space
$3 = 4273991680
(gdb) p/x section->offset_within_address_space
$4 = 0xfebff000
(gdb) p section
$5 = (MemoryRegionSection *) 0x7fffdbffb9d0
(gdb) p *section
$6 = {mr = 0x0, fv = 0x7fffd08fe680, offset_within_region = 0, size = 0, offset_within_address_space = 4273991680, readonly = false, nonvolatile = false}

Dave

> > 
> > OK, great;  can can you confirm the version of the spice packages
> > on both the guest and host, and the kernel on the guest.
> > 
> > Dave
> > 
> > --
> > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
> > 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

  reply	other threads:[~2019-02-01 13:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-26 23:44 [Qemu-devel] Crash when booting KDE Neon using qxl-vga Leonardo Soares Müller
2019-01-28 12:13 ` Dr. David Alan Gilbert
2019-01-28 17:14   ` Leonardo Soares Müller
2019-01-28 17:35     ` Dr. David Alan Gilbert
2019-01-28 19:48       ` Leonardo Soares Müller
2019-02-01 13:36         ` Dr. David Alan Gilbert [this message]
2019-02-01 15:39           ` Leonardo Soares Müller
2019-02-01 20:28             ` Dr. David Alan Gilbert
2019-02-01 22:39               ` Leonardo Soares Müller
2019-02-14 10:42             ` Dr. David Alan Gilbert
2019-02-01 17:57           ` Leonardo Soares Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190201133639.GE3150@work-vm \
    --to=dgilbert@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=leozinho29_eu@hotmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.