From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2602E1389E2 for ; Thu, 4 Dec 2014 18:52:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D00F4E08D4; Thu, 4 Dec 2014 18:52:48 +0000 (UTC) Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by pigeon.gentoo.org (Postfix) with ESMTP id 9EEC8E0891 for ; Thu, 4 Dec 2014 18:52:47 +0000 (UTC) Received: from [212.54.42.137] (helo=smtp6.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.82) (envelope-from ) id 1XwbWA-0003Am-T7 for gentoo-user@lists.gentoo.org; Thu, 04 Dec 2014 19:52:46 +0100 Received: from 53579160.cm-6-8c.dynamic.ziggo.nl ([83.87.145.96] helo=data.antarean.org) by smtp6.tb.mail.iss.as9143.net with esmtp (Exim 4.82) (envelope-from ) id 1XwbWA-0002Su-L0 for gentoo-user@lists.gentoo.org; Thu, 04 Dec 2014 19:52:46 +0100 Received: from [10.170.105.190] (unknown [62.140.132.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id 62F954B for ; Thu, 4 Dec 2014 19:52:32 +0100 (CET) User-Agent: K-9 Mail for Android In-Reply-To: <54809AA0.80805@uni-konstanz.de> References: <547EE6AA.5060601@uni-konstanz.de> <547F0730.5090405@marc-stuermer.de> <54808C24.7050203@uni-konstanz.de> <47E322B5-8AEF-4F77-A603-82428E4C0F10@antarean.org> <548092AE.5050601@uni-konstanz.de> <54809AA0.80805@uni-konstanz.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [gentoo-user] hibernation From: "J. Roeleveld" Date: Thu, 04 Dec 2014 19:52:44 +0100 To: gentoo-user@lists.gentoo.org Message-ID: <1450AC75-3E80-43CA-835B-3D6629D9E3F8@antarean.org> X-Ziggo-spambar: --- X-Ziggo-spamscore: -3.5 X-Ziggo-spamreport: ALL_TRUSTED=-1,CM_CTENC_8BIT=0.1,PROLO_TRUST_RDNS=-3,RDNS_DYNAMIC=0.363 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Archives-Salt: 6beeb1a2-c52e-4982-9477-3fd70a0a89ea X-Archives-Hash: f25fc185b8bb2dd5c13c60ebd4cf52bf On 4 December 2014 18:32:16 CET, Michael Vetter wrote: >Am 04/12/14 18:10, schrieb Randolph Maaßen: >> 2014-12-04 17:58 GMT+01:00 Michael Vetter >: >>>> Did you try suspending using the echo command I mentioned earlier? >>> Yes, it seemed to work (just starting up again didn't). >>> >>>> You can set the resume partition in the kernel. Might be an option. >>> Okay, so I changed my kernel command string from "root=/dev/sdb2" to >>> "root=/dev/sdb2,resume=/dev/mapper/g-SWAP". >> >> In my menuconfig I have a space separated list, not comma separated. >> So I guess the boot failure is, that the kernel can't find the root >> partition /dev/sdb2,resume... > >Okay, sorry thought this is equivalent to [1]. >Anyways, I changed it to space and my system boots now. >So I tried the suspend command again, but when rebooting its like a >fresh reboot. > >Any ideas? > >[1] http://man7.org/linux/man-pages/man7/bootparam.7.html Yes. If using LVM for the swap partition (and subsequently the resume) you need to use an initramfs. I will dig out the script I use on my laptop and post it tomorrow. (It boots faster with a custom script compared to the genkernel or dracut ones) -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.