From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] 32-bit “qemu-system-i386 -enable-kvm” segfaults on x86_64
Date: Wed, 4 Jul 2018 14:08:41 +0100 [thread overview]
Message-ID: <20180704130841.GF32267@redhat.com> (raw)
In-Reply-To: <87tvpfch8g.fsf@gnu.org>
On Wed, Jul 04, 2018 at 02:34:07PM +0200, Ludovic Courtès wrote:
> Hello,
>
> (I’m reporting the issue here because for some reason the launchpad.net
> login page redirects me to an “oops” page and fails to log me in.)
>
> On a Linux 4.17 x86_64 host, “qemu-system-i386 -enable-kvm”, where
> qemu-system-i386 is a 32-bit binary, crashes (it works fine without
> ‘-enable-kvm’):
>
> --8<---------------cut here---------------start------------->8---
> $ uname -rm
> 4.17.3-gnu x86_64
> $ file /gnu/store/h22dc67wzkv0w2l3775f0xqkyr318x5j-qemu-minimal-2.12.0/bin/qemu-system-i386
> /gnu/store/h22dc67wzkv0w2l3775f0xqkyr318x5j-qemu-minimal-2.12.0/bin/qemu-system-i386: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /gnu/store/4aka3nwppxf3z072l6vr8cxvwj3x5h9s-glibc-2.27/lib/ld-linux.so.2, for GNU/Linux 2.6.32, stripped
It appears that not only are you using qemu-system-i386 on x86_64
host, but this has actually also been built as a 32-bit ELF binary,
so will be using the 32-bit compat syscalls. This is quite possibly
relevant to any crash, so it would be useful to know if qemu-system-i386,
when built as a 64-bit ELF binary works or fails.
It appears you are using 2.12.0 release, so it is also helpful if
you would try using current git master to see if it still reproduces.
> $ /gnu/store/h22dc67wzkv0w2l3775f0xqkyr318x5j-qemu-minimal-2.12.0/bin/qemu-system-i386 -enable-kvm /dev/null
> WARNING: Image format was not specified for '/dev/null' and probing guessed raw.
> Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
> Specify the 'raw' format explicitly to remove the restrictions.
> VNC server running on 127.0.0.1:5900
> Adres-eraro(nekropsio elŝutita)
> --8<---------------cut here---------------start------------->8---
>
> I’d need debugging symbols to provide a useful backtrace, but perhaps
> the strace gives useful hints:
strace's are fairly unhelpful I'm afraid, so collecting a stack trace
would be best next step.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2018-07-04 13:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-04 12:34 [Qemu-devel] 32-bit “qemu-system-i386 -enable-kvm” segfaults on x86_64 Ludovic Courtès
2018-07-04 13:08 ` Daniel P. Berrangé [this message]
2018-07-05 8:11 ` Ludovic Courtès
2018-07-05 11:46 ` Dr. David Alan Gilbert
2018-07-05 12:30 ` Ludovic Courtès
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=20180704130841.GF32267@redhat.com \
--to=berrange@redhat.com \
--cc=ludo@gnu.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).