From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S7fEE-0005Hi-NT for garchives@archives.gentoo.org; Wed, 14 Mar 2012 03:50:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE756E07C9; Wed, 14 Mar 2012 03:50:13 +0000 (UTC) Received: from outbound.icp-osb-irony-out8.iinet.net.au (outbound.icp-osb-irony-out8.iinet.net.au [203.59.1.134]) by pigeon.gentoo.org (Postfix) with ESMTP id B47BAE09DA for ; Wed, 14 Mar 2012 03:49:10 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuUGAGEUYE98qfw4/2dsb2JhbABDgwmCMbA+gQeCCQEBBSNmCw0LAgImAgJXiCKqCpICgS+MJYIMgRYEiFOSZiKKGIJygUcW X-IronPort-AV: E=Sophos;i="4.73,582,1325433600"; d="scan'208";a="218816933" Received: from unknown (HELO moriah.localdomain) ([124.169.252.56]) by outbound.icp-osb-irony-out8.iinet.net.au with ESMTP; 14 Mar 2012 11:49:09 +0800 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id B57A41FFC06 for ; Wed, 14 Mar 2012 11:49:08 +0800 (WST) X-Virus-Scanned: amavisd-new at lan.localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.lan.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G1ITbyFqxUvZ for ; Wed, 14 Mar 2012 11:49:03 +0800 (WST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 440E72007BC for ; Wed, 14 Mar 2012 11:49:03 +0800 (WST) Subject: Re: [gentoo-user] suspend/hibernate and genkernel. From: William Kenworthy To: gentoo-user@lists.gentoo.org In-Reply-To: <1331694791.26893.7.camel@moriah> References: <1331694791.26893.7.camel@moriah> Content-Type: text/plain; charset="UTF-8" Date: Wed, 14 Mar 2012 11:49:03 +0800 Message-ID: <1331696943.15575.5.camel@moriah> 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 X-Mailer: Evolution 2.32.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 43dc3b4f-db15-4637-bfd5-f07e9ba12f3a X-Archives-Hash: 9c9a50f6aca8b079c276a6651bd3d7c7 On Wed, 2012-03-14 at 11:13 +0800, William Kenworthy wrote: > I am trying to get my system(s) ready for the new (read crappy) way > mandated by udev and am having some issues. > > I usually manually compile my kernels, use tuxonice and dont use an > initrd/initramfs. > > As ToI is not available for the latest kernels, I updated openrc and > installed genkernel but then found I couldnt use in-kernel suspend to > disk - googling implies that genkernel doesnt support suspend/hibernate > but there are various kludges to get it to work. > > So whats the least invasive, but workable kludge? > > hibernate, pmhibernate, swsuspend, uswsuspend, ... > > Are there any (up to date) docs? > > > BillK > > > > According to the docs I have found you need to patch genkernel to run /sbin/resume - it was a longstanding argument between two now retired devs with the result that genkernel wont (ever) support hibernation. I dont know from reading the bugs if it was ever fixed now the dev who "wouldnt" has retired, or is genkernel is still broken. Also, I have no /sbin/resume on any of my systems (some are years old and have been successfully running ToI for most of that time) - so how can the initramfs actually start resumimg? Though I have a more immediate problem - hangs on hibernation and no log messages. BillK