public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] qemu-kvm black screen and infinite loop on startup
@ 2011-04-05 15:06 Kfir Lavi
  2011-04-05 22:42 ` Albert Hopkins
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Kfir Lavi @ 2011-04-05 15:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 477 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] qemu-kvm black screen and infinite loop on startup
  2011-04-05 15:06 [gentoo-user] qemu-kvm black screen and infinite loop on startup Kfir Lavi
@ 2011-04-05 22:42 ` Albert Hopkins
  2011-04-06  8:36   ` Kfir Lavi
  2011-04-06  9:00   ` Kfir Lavi
  2011-04-06  9:18 ` [gentoo-user] " Kfir Lavi
  2011-04-06 11:45 ` Kfir Lavi
  2 siblings, 2 replies; 10+ messages in thread
From: Albert Hopkins @ 2011-04-05 22:42 UTC (permalink / raw
  To: gentoo-user

On Tue, 2011-04-05 at 18:06 +0300, 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.

I've been using app-emulation/qemu-kvm-0.13.0-r2 since early March.  I
have not had that problem, but I do not use the hardened flag.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] qemu-kvm black screen and infinite loop on startup
  2011-04-05 22:42 ` Albert Hopkins
@ 2011-04-06  8:36   ` Kfir Lavi
  2011-04-06  9:00   ` Kfir Lavi
  1 sibling, 0 replies; 10+ messages in thread
From: Kfir Lavi @ 2011-04-06  8:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 850 bytes --]

On Wed, Apr 6, 2011 at 1:42 AM, Albert Hopkins <marduk@letterboxes.org>wrote:

> On Tue, 2011-04-05 at 18:06 +0300, 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.
>
> I've been using app-emulation/qemu-kvm-0.13.0-r2 since early March.  I
> have not had that problem, but I do not use the hardened flag.
>
>
> Thanks for your replay,
I have tried to compile qemu without hardened, but it doesn't work:
USE="-alsa -aio -curl -jpeg -png -sdl -ssl -hardened" emerge -av
app-emulation/qemu-kvm

More inputs?

Tnx,
Kfir

[-- Attachment #2: Type: text/html, Size: 1392 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] qemu-kvm black screen and infinite loop on startup
  2011-04-05 22:42 ` Albert Hopkins
  2011-04-06  8:36   ` Kfir Lavi
@ 2011-04-06  9:00   ` Kfir Lavi
  2011-04-06 10:39     ` Albert Hopkins
  1 sibling, 1 reply; 10+ messages in thread
From: Kfir Lavi @ 2011-04-06  9:00 UTC (permalink / raw
  To: gentoo-user; +Cc: Albert Hopkins

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

On Wed, Apr 6, 2011 at 1:42 AM, Albert Hopkins <marduk@letterboxes.org>wrote:

> On Tue, 2011-04-05 at 18:06 +0300, 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.
>
> I've been using app-emulation/qemu-kvm-0.13.0-r2 since early March.  I
> have not had that problem, but I do not use the hardened flag.
>
>
> Hi  Albert,
Can you paste your USE flags for qemu?

Thanks,
Kfir

[-- Attachment #2: Type: text/html, Size: 1226 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
  2011-04-05 15:06 [gentoo-user] qemu-kvm black screen and infinite loop on startup Kfir Lavi
  2011-04-05 22:42 ` Albert Hopkins
@ 2011-04-06  9:18 ` Kfir Lavi
  2011-04-06 11:45 ` Kfir Lavi
  2 siblings, 0 replies; 10+ messages in thread
From: Kfir Lavi @ 2011-04-06  9:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]

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 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

[-- Attachment #2: Type: text/html, Size: 1998 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] qemu-kvm black screen and infinite loop on startup
  2011-04-06  9:00   ` Kfir Lavi
@ 2011-04-06 10:39     ` Albert Hopkins
  0 siblings, 0 replies; 10+ messages in thread
From: Albert Hopkins @ 2011-04-06 10:39 UTC (permalink / raw
  To: gentoo-user

On Wed, 2011-04-06 at 12:00 +0300, Kfir Lavi wrote:

>         
> Hi  Albert,
> Can you paste your USE flags for qemu?
> 
> Thanks,
> Kfir

USE="aio sdl vde -alsa -bluetooth -brltty -curl -esd -fdt -hardened
-jpeg -ncurses -png -pulseaudio -qemu-ifup -sasl -ssl -static"





^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
  2011-04-05 15:06 [gentoo-user] qemu-kvm black screen and infinite loop on startup Kfir Lavi
  2011-04-05 22:42 ` Albert Hopkins
  2011-04-06  9:18 ` [gentoo-user] " Kfir Lavi
@ 2011-04-06 11:45 ` Kfir Lavi
  2011-04-06 15:15   ` Gregory Fontenele
  2011-04-06 22:19   ` Michael Orlitzky
  2 siblings, 2 replies; 10+ messages in thread
From: Kfir Lavi @ 2011-04-06 11:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

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 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 I run qemu -no-kvm things work as expected under hardened kernel.
Using regular kernel (none hardened) qemu works ok.
So, the problem is running qemu under hardened kernel.

If someone have some input, I'll be happy to hear it.

Regards,
Kfir

[-- Attachment #2: Type: text/html, Size: 1155 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
  2011-04-06 11:45 ` Kfir Lavi
@ 2011-04-06 15:15   ` Gregory Fontenele
  2011-04-06 22:19   ` Michael Orlitzky
  1 sibling, 0 replies; 10+ messages in thread
From: Gregory Fontenele @ 2011-04-06 15:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

want to leave this list but I can not, can someone erase me from this list?

On Wed, Apr 6, 2011 at 08:45, Kfir Lavi <lavi.kfir@gmail.com> wrote:

>
>
> 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 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 I run qemu -no-kvm things work as expected under hardened kernel.
> Using regular kernel (none hardened) qemu works ok.
> So, the problem is running qemu under hardened kernel.
>
> If someone have some input, I'll be happy to hear it.
>
> Regards,
> Kfir
>



-- 
Atenciosamente,
Gregory Fontenele

[-- Attachment #2: Type: text/html, Size: 1733 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
  2011-04-06 11:45 ` Kfir Lavi
  2011-04-06 15:15   ` Gregory Fontenele
@ 2011-04-06 22:19   ` Michael Orlitzky
  2011-04-12  6:39     ` Kfir Lavi
  1 sibling, 1 reply; 10+ messages in thread
From: Michael Orlitzky @ 2011-04-06 22:19 UTC (permalink / raw
  To: gentoo-user

On 04/06/2011 07:45 AM, Kfir Lavi wrote:
> 
> When I run qemu -no-kvm things work as expected under hardened kernel.
> Using regular kernel (none hardened) qemu works ok.
> So, the problem is running qemu under hardened kernel.
> 
> If someone have some input, I'll be happy to hear it.
> 

I am a long-time user of qemu/kvm under hardened. It works off and on.

I don't have any scientific advice for you, only this: if you ever find
a combination of kernel/qemu that works, *don't change anything*.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
  2011-04-06 22:19   ` Michael Orlitzky
@ 2011-04-12  6:39     ` Kfir Lavi
  0 siblings, 0 replies; 10+ messages in thread
From: Kfir Lavi @ 2011-04-12  6:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 863 bytes --]

On Thu, Apr 7, 2011 at 1:19 AM, Michael Orlitzky <michael@orlitzky.com>wrote:

> On 04/06/2011 07:45 AM, Kfir Lavi wrote:
> >
> > When I run qemu -no-kvm things work as expected under hardened kernel.
> > Using regular kernel (none hardened) qemu works ok.
> > So, the problem is running qemu under hardened kernel.
> >
> > If someone have some input, I'll be happy to hear it.
> >
>
> I am a long-time user of qemu/kvm under hardened. It works off and on.
>
> I don't have any scientific advice for you, only this: if you ever find
> a combination of kernel/qemu that works, *don't change anything*.
>
> Well, thanks for this advice. hehe
I booted a none hardened kernel, and qemu started to work again.
So yes, the hardened kernel is to blame.
I wonder why qemu have problem with hardened kernel?
Maybe some of the hardened devs can pitch in....

Regards,
Kfir

[-- Attachment #2: Type: text/html, Size: 1272 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-04-12  6:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05 15:06 [gentoo-user] qemu-kvm black screen and infinite loop on startup Kfir Lavi
2011-04-05 22:42 ` Albert Hopkins
2011-04-06  8:36   ` Kfir Lavi
2011-04-06  9:00   ` Kfir Lavi
2011-04-06 10:39     ` Albert Hopkins
2011-04-06  9:18 ` [gentoo-user] " Kfir Lavi
2011-04-06 11:45 ` Kfir Lavi
2011-04-06 15:15   ` Gregory Fontenele
2011-04-06 22:19   ` Michael Orlitzky
2011-04-12  6:39     ` Kfir Lavi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox