From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolay Merinov Subject: bug#25031: Recovery from sleep/hibernate is broken Date: Sat, 26 Nov 2016 04:55:19 +0500 Message-ID: <87twavjes8.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAQLg-00049p-4B for bug-guix@gnu.org; Fri, 25 Nov 2016 18:56:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAQLb-0004kj-7J for bug-guix@gnu.org; Fri, 25 Nov 2016 18:56:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54722) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cAQLb-0004kc-3w for bug-guix@gnu.org; Fri, 25 Nov 2016 18:56:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cAQLa-0002IL-2m for bug-guix@gnu.org; Fri, 25 Nov 2016 18:56:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAQL8-00048Z-Vi for bug-guix@gnu.org; Fri, 25 Nov 2016 18:55:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAQL3-0004Em-V1 for bug-guix@gnu.org; Fri, 25 Nov 2016 18:55:35 -0500 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:35824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cAQL3-0004DW-Mz for bug-guix@gnu.org; Fri, 25 Nov 2016 18:55:29 -0500 Received: by mail-lf0-x236.google.com with SMTP id b14so59778217lfg.2 for ; Fri, 25 Nov 2016 15:55:29 -0800 (PST) Received: from libremnd (116700782.convex.ru. [82.193.152.190]) by smtp.gmail.com with ESMTPSA id m16sm9961143lfj.24.2016.11.25.15.55.26 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Nov 2016 15:55:27 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 25031@debbugs.gnu.org Hi, I exepience issue similar to discussed in next thread https://lists.gnu.org/archive/html/bug-guix/2016-07/msg00087.html My laptop can't wake afterr sleep and hibernate. I use GuixSD on libreboot x200. Issue was checked with linux-libre kernels 4.1, 4.8, 4.10; with libreboot 2015-01-26, 2015-05-18, 2016-09-07; with and without "resume=/dev/sda2" option (my swap partition on /dev/sda2). I can't resume neither from suspend to ram nor from suspend to disk. I start hibernation with "echo disk > /sys/power/state" command. On next boot image does not restored. I can see that image was saved: # swapon /dev/sda2 swapon: /dev/sda2: software suspend data detected. Rewriting the swap signature. In boot log I can see next message: [ 0.610581] PM: Checking hibernation image partition /dev/sda2 [ 0.610598] PM: Hibernation image not present or could not be loaded. ... [ 1.063943] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 1.108500] sda: sda1 sda2 sda3 [ 1.109780] sd 0:0:0:0: [sda] Attached SCSI disk Looks like PM try to find hibernation image before attaching hard drive. Full boot log with linux-libre 4.10 and libreboot 2016-09-07 after hibernation attached. Where can be root of issue? libreboot code, linux-libre code or GuixSD itself? Regards, Nikolay