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 <gentoo-user+bounces-136303-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1S7hga-0000vd-3u
	for garchives@archives.gentoo.org; Wed, 14 Mar 2012 06:27:48 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4DCA1E0B48;
	Wed, 14 Mar 2012 06:27:34 +0000 (UTC)
Received: from mail-pz0-f52.google.com (mail-pz0-f52.google.com [209.85.210.52])
	by pigeon.gentoo.org (Postfix) with ESMTP id 3C634E09B1
	for <gentoo-user@lists.gentoo.org>; Wed, 14 Mar 2012 06:26:36 +0000 (UTC)
Received: by dadp12 with SMTP id p12so2356924dad.11
        for <gentoo-user@lists.gentoo.org>; Tue, 13 Mar 2012 23:26:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=Kr1AwD0Uh2NX6cWM1wqpcwhGFHgvWAUBYDkDam/uv2U=;
        b=A5ktbPUkb2Dwip6XIz0wP+xkpnHRUC+Z/3etryFZu4LKaQBeqTKYseg/E2puXHAybU
         uT9hPIjmK1G5Zur1DSBsykQy0hSWZp2OsTcIzx8zV/xXccRU+WBOoexpS8aCTXKQvcvs
         C/CvYaBkhhFEe6jeIvfdoaRnOZ2SNoXYK3IdPGEWhVdAcYnmyzBydBJdK0/ZqrPt8bZi
         4HFfV8UarjcMfcaSbrYGpV/93sZZKQLBxrX8qGoioKY7c9y9BmAQXEbhL/5v/DN41ycy
         L9qzy7ZNHgKvJ2Y3faeyCjSvcJspDSacAAcCvczq12AMwTlvHEqjgtb2hJ5qySJDzDyl
         tIWA==
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.68.125.195 with SMTP id ms3mr1963212pbb.62.1331706395571; Tue,
 13 Mar 2012 23:26:35 -0700 (PDT)
Received: by 10.68.197.41 with HTTP; Tue, 13 Mar 2012 23:26:35 -0700 (PDT)
In-Reply-To: <1331706037.18083.6.camel@moriah>
References: <1331694791.26893.7.camel@moriah>
	<1331696943.15575.5.camel@moriah>
	<1331706037.18083.6.camel@moriah>
Date: Wed, 14 Mar 2012 00:26:35 -0600
Message-ID: <CADPrc80wU_6S_Hm7DnjYA4V3QXvH2kpJYpum4Qjw1gEcxhciDw@mail.gmail.com>
Subject: Re: [gentoo-user] suspend/hibernate and genkernel.
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 9a7d18c9-93f3-4320-9e11-1135538c3160
X-Archives-Hash: 05a63da2f995cdcbd587cd5bea592eee

On Wed, Mar 14, 2012 at 12:20 AM, William Kenworthy <billk@iinet.net.au> wr=
ote:
> On Wed, 2012-03-14 at 11:49 +0800, William Kenworthy wrote:
>> 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 =C2=A0and 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/hibernat=
e
>> > 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. =C2=A0I dont know from reading the bugs if it was ever fixe=
d 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
>>
>>
>>
>>
>
> Well, patching genkernel worked so its still broken as regards
> suspend/resume - so I can now suspend/resume still with some errors.
>
> Next problem is that there are error messages implying /usr might not be
> mounted by the initramfs (some /usr files not found) ... is there
> anything else that needs doing? =C2=A0Once the system is up /usr and all
> other directories are correctly mounted (most are on LVM).

Did you run genkernel with --lvm? Sorry, I don't use genkernel, but
dracut has several options to include arbitrary files on the
initramfs. I'm sure genkernel has something similar; why don't you try
to add the /usr missing files in the initramfs?

Good luck.

> Is there a way to get a detailed log of what the initrd is doing/has
> done?

> BillK
>
>
>
>



--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico