public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Kenworthy <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] suspend/hibernate and genkernel.
Date: Wed, 14 Mar 2012 14:20:37 +0800	[thread overview]
Message-ID: <1331706037.18083.6.camel@moriah> (raw)
In-Reply-To: <1331696943.15575.5.camel@moriah>

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  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
> 
> 
> 
> 

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?  Once the system is up /usr and all
other directories are correctly mounted (most are on LVM).

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

BillK






  reply	other threads:[~2012-03-14  6:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14  3:13 [gentoo-user] suspend/hibernate and genkernel William Kenworthy
2012-03-14  3:22 ` Canek Peláez Valdés
2012-03-14  3:49 ` William Kenworthy
2012-03-14  6:20   ` William Kenworthy [this message]
2012-03-14  6:26     ` Canek Peláez Valdés
2012-03-14  9:06       ` William Kenworthy
2012-03-14 13:27   ` Sebastian Pipping
2012-03-14 14:28     ` William Kenworthy
2012-03-14 16:54       ` Canek Peláez Valdés
2012-03-14 23:12         ` wdk@moriah
2012-03-15  2:26 ` Nilesh Govindrajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1331706037.18083.6.camel@moriah \
    --to=billk@iinet.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox