Skip to contentSkip to conversation

Guest freezes when resuming from S3

Qemu-devel Luiz Capitulino 2 participants 2 messages Aug 27, 2014

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>
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.

#1 lore raw

Il 27/08/2014 22:02, Luiz Capitulino ha scritto:

Quoted 10 lines

commit c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54

Author: Michael S. Tsirkin <[email protected]>
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