From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q7Ouk-00081J-7A for garchives@archives.gentoo.org; Wed, 06 Apr 2011 09:20:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C16791C003; Wed, 6 Apr 2011 09:19:06 +0000 (UTC) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 8F3481C003 for ; Wed, 6 Apr 2011 09:19:06 +0000 (UTC) Received: by qyg14 with SMTP id 14so889360qyg.19 for ; Wed, 06 Apr 2011 02:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=a+cPkwUoelJbQD5V8EcUitdaccjYemLcf9QutUHJdPQ=; b=O2WnZMQUXDIs9OU5XEhZ/eTKY3jj0Azjc4IBiTYgRfjcZdVQVdc7lcEPYzv5y88tHM OAC1edn+347nB1tr1i2rC26BGE23JQuzMv0JoVi33HOoCQmsf5GtPWa4c/jgU1lJaXIa bsQEt5inIGW9hQKU2EFRdVVbG20nxDrcxTqRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=qjCXHEbL7xAbeg0GsQ6vruqHVK1D54YdbbQs/kHqIAoI/U/uGPWQuUTK1Fl3bzp8wD y0zB2ZNlBnSrZyzkybv2W0/Feogi1HUKhwcS+ALBOJV7tDF5PbFDxE+1cCdDSQ9b/uME BZGv9KFenKFIYNuSphPfnHMuYzZ1Q1EtU6o98= Received: by 10.224.188.202 with SMTP id db10mr521805qab.276.1302081546091; Wed, 06 Apr 2011 02:19:06 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.224.28.136 with HTTP; Wed, 6 Apr 2011 02:18:46 -0700 (PDT) In-Reply-To: References: From: Kfir Lavi Date: Wed, 6 Apr 2011 12:18:46 +0300 Message-ID: Subject: [gentoo-user] Re: qemu-kvm black screen and infinite loop on startup To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=20cf3033464905fce304a03c7c21 X-Archives-Salt: X-Archives-Hash: 53cf3def79ffefa68135ac8bdc4c04cb --20cf3033464905fce304a03c7c21 Content-Type: text/plain; charset=UTF-8 On Tue, Apr 5, 2011 at 6:06 PM, Kfir Lavi wrote: > Hi, > After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running > qemu. > You can spot the loop with strace. > This problem shows on Redhat > https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 > and they say that it is related to the seabios. > > Does anyone have this problem too? > I'm compiling qemu-kvm with hardend flag. > > Regards, > Kfir > when running 'strace qemu' I get this line: read(11, 0xbf10ae5c, 128) = -1 EAGAIN (Resource temporarily unavailable) This seems related to hardened. paxctl shows for all qemu binaries: - PaX flags: -----m-x-e-- [/usr/bin/qemu] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -----m-x-e-- [/usr/bin/qemu-i386] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -----m-x-e-- [/usr/bin/qemu-img] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -----m-x-e-- [/usr/bin/qemu-io] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -----m-x-e-- [/usr/bin/qemu-nbd] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled Does someone have the solution for this? Regards, Kfir --20cf3033464905fce304a03c7c21 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Tue, Apr 5, 2011 at = 6:06 PM, Kfir Lavi <lavi.kfir@gmail.com> wrote:
Hi,
After updating qemu-kvm to 0.13.0-r2 I get an infin= ite loop when running qemu.
You can spot the loop with strace.
This= problem shows on Redhat https://bugzilla.redhat.com/show_bug.cg= i?id=3D553689#c5
and they say that it is related to the seabios.

Does anyone have th= is problem too?
I'm compiling qemu-kvm with hardend flag.

Reg= ards,
Kfir
when running 'strace qemu' I get this line:
r= ead(11, 0xbf10ae5c, 128)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D -1 EAGAIN (Resource temporarily unava= ilable)

This seems related to hardened.
paxctl shows for all qemu= binaries:
- PaX flags: -----m-x-e-- [/usr/bin/qemu]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 MPROTECT is disabled
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 RANDEXEC is disabled
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 E= MUTRAMP is disabled
- PaX flags: -----m-x-e-- [/usr/bin/qemu-i386]
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 MPROTECT is disabled
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 RANDEXEC is disabled
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 EMUTRAMP is disabled
- PaX flags: -= ----m-x-e-- [/usr/bin/qemu-img]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 MPROTECT is disabled
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 RAND= EXEC is disabled
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 EMUTRAMP is = disabled
- PaX flags: -----m-x-e-- [/usr/bin/qemu-io]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 MPROTECT is disabled
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 RANDEXEC is disabled
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 EMUTRAMP is disabled
- PaX flags: -----m-= x-e-- [/usr/bin/qemu-nbd]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 MPR= OTECT is disabled
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 RANDEXEC is= disabled
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 EMUTRAMP is disable= d

Does someone have the solution for this?

Regards,
Kfir
--20cf3033464905fce304a03c7c21--