From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X06VB-0002Q9-3y for qemu-devel@nongnu.org; Thu, 26 Jun 2014 06:02:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X06V4-00053b-M6 for qemu-devel@nongnu.org; Thu, 26 Jun 2014 06:01:57 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:48621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X06V4-00053P-GX for qemu-devel@nongnu.org; Thu, 26 Jun 2014 06:01:50 -0400 Received: by mail-wi0-f178.google.com with SMTP id n15so692456wiw.17 for ; Thu, 26 Jun 2014 03:01:48 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53ABEF87.4020108@redhat.com> Date: Thu, 26 Jun 2014 12:01:43 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20140625183928.7492.77861.malonedeb@chaenomeles.canonical.com> <20140625183928.7492.77861.malonedeb@chaenomeles.canonical.com> In-Reply-To: <20140625183928.7492.77861.malonedeb@chaenomeles.canonical.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Bug 1334397] [NEW] cmos RTC alarms no longer wake system from suspend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1334397 <1334397@bugs.launchpad.net>, qemu-devel@nongnu.org Il 25/06/2014 20:39, John Stultz ha scritto: > Public bug reported: > > Running QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.1), > booting Linux kernels with qemu-system-x86_64 and qemu-system-i386, I no > longer see the system resume from suspend when an RTC alarm is set. > > My simple test application can be found here: > https://github.com/johnstultz-work/timetests/blob/master/alarmtimer-suspend.c > > Previously this worked w/ QEMU 1.5 (bascially up until I upgraded from > Ubuntu 13.10 to Ubuntu 14.04, which came with 2.0). Ok, bisected. The first commit to break it is: commit c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54 Author: Michael S. Tsirkin Date: Wed Sep 11 13:33:31 2013 +0300 piix4: disable io on reset and the first commit to fix it is: commit db76ec6291df8a03c2cc82ea1249049383cca392 Author: Gerd Hoffmann Date: Thu May 15 14:01:59 2014 +0200 seabios: update to 1.7.5-rc1 Yesterday I could not reproduce it because, even though Fedora has QEMU 2.0.0, it has already updated SeaBIOS to 1.7.5. In fact, the fix is actually not in QEMU but rather in SeaBIOS: commit 40d020f56226aee7c75a6c29f471c4b866765732 Author: Marcel Apfelbaum Date: Wed Jan 15 14:20:06 2014 +0200 resume: restore piix pm config registers after resume Ubuntu can fix it by upgrading to SeaBIOS 1.7.5, or including this patch in their package (untested, but looks pretty safe). Paolo