qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [BUG] Guest freezes when resuming from S3
@ 2014-08-27 20:02 Luiz Capitulino
  2014-08-27 21:41 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Capitulino @ 2014-08-27 20:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: kraxel, mst

Hi,

I won't have time to keep debugging this so I'll just report what I have.

The basic problem is: you suspend a Linux guest to RAM, and the screen
(or maybe the guest) freezes when resuming. Here's some debugging info:

v1.6.0: last fully working version
v1.7.0: doesn't exactly freeze, but the kernel prints an ACPI Error in a loop
        making the guest unusable (happens on resume)
v2.0.0: same as v1.7.0
v2.1.0: screen/guest freezes on resume, which is the current symptom and also
        happens on master (HEAD c47c61be8)

This is the ACPI error v1.7.0 and v2.0.0 print in a loop:

  ACPI Error: No installed handler for fixed event - SleepButton (3), disabling (20140724/evevent-286)

I bisected this considering the current symptom and the ACPI error as
being the same issue (that is, I'd consider both as "git bisect bad") and
bisect yields the following commit:

commit c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54
Author: Michael S. Tsirkin <mst@redhat.com>
Date:   Wed Sep 11 13:33:31 2013 +0300

    piix4: disable io on reset

On the hand, testing the commit before this one works and that one doesn't.
But I've tried reverting that one on current master and that did not fix
the problem.

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

* Re: [Qemu-devel] [BUG] Guest freezes when resuming from S3
  2014-08-27 20:02 [Qemu-devel] [BUG] Guest freezes when resuming from S3 Luiz Capitulino
@ 2014-08-27 21:41 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2014-08-27 21:41 UTC (permalink / raw)
  To: Luiz Capitulino, qemu-devel; +Cc: kraxel, mst

Il 27/08/2014 22:02, Luiz Capitulino ha scritto:
> 
> commit c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54
> Author: Michael S. Tsirkin <mst@redhat.com>
> Date:   Wed Sep 11 13:33:31 2013 +0300
> 
>     piix4: disable io on reset
> 
> On the hand, testing the commit before this one works and that one doesn't.
> But I've tried reverting that one on current master and that did not fix
> the problem.

This is likely a red herring, because after this one you need a newer
SeaBIOS.  Depending on how you tested, this might have messed up your
bisection.

IIRC new SeaBIOS with old QEMU works, though.  So you may want to retry
the bisection with a constant firmware that you pass with -bios.

Paolo

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

end of thread, other threads:[~2014-08-27 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-27 20:02 [Qemu-devel] [BUG] Guest freezes when resuming from S3 Luiz Capitulino
2014-08-27 21:41 ` Paolo Bonzini

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