Re: [gentoo-user] chicken/eff issue with suspend-to-disk/hibernate problem [Was: The End Is Near ... or, get the vaseline, they're on the way!]

2012-03-29 Thread wdk@moriah


On 29/03/2012, at 22:04, Neil Bothwick  wrote:

> On Thu, 29 Mar 2012 15:51:44 +0200, J. Roeleveld wrote:
> 
>>> try tuxonice - allows you to suspend to a file on disk as well as ram
>>> or swap.  Added bonus is its much more robust than in-kernel, and the
>>> dev (Nigel) is very responsive if help or bugfixes (usually for new
>>> kernel versions) are needed.  
> 
> I'd question this seeing as it hasn't been released for kernel 3.1 or
> later. Not that it is a bad choice, it is not, but it is certainly not
> keeping up.
> 
>> True, but I don't want to have too many write-actions to the internal
>> SSD, which means that I'd want the file on the SD as well...
> 
> TuxOnIce lets you specify where you want the hibernate file.
> 
> 
> -- 
> Neil Bothwick
> 
> X-Modem- A device on the losing end of an encounter with lightning.

and dont forget, its not a swapfile so you only write once on hibernate, and 
read once on restart.  and you can delete/recreate the file in between if you 
wish - its only used for hibernate.

billK





Re: [gentoo-user] chicken/eff issue with suspend-to-disk/hibernate problem [Was: The End Is Near ... or, get the vaseline, they're on the way!]

2012-03-29 Thread Neil Bothwick
On Thu, 29 Mar 2012 15:51:44 +0200, J. Roeleveld wrote:

> > try tuxonice - allows you to suspend to a file on disk as well as ram
> > or swap.  Added bonus is its much more robust than in-kernel, and the
> > dev (Nigel) is very responsive if help or bugfixes (usually for new
> > kernel versions) are needed.  

I'd question this seeing as it hasn't been released for kernel 3.1 or
later. Not that it is a bad choice, it is not, but it is certainly not
keeping up.

> True, but I don't want to have too many write-actions to the internal
> SSD, which means that I'd want the file on the SD as well...

TuxOnIce lets you specify where you want the hibernate file.


-- 
Neil Bothwick

X-Modem- A device on the losing end of an encounter with lightning.


signature.asc
Description: PGP signature


Re: [gentoo-user] chicken/eff issue with suspend-to-disk/hibernate problem [Was: The End Is Near ... or, get the vaseline, they're on the way!]

2012-03-29 Thread J. Roeleveld

On Thu, March 29, 2012 12:40 pm, wdk@moriah wrote:
>
>
> On 29/03/2012, at 17:35, "J. Roeleveld"  wrote:
>
>>
>> On Mon, March 19, 2012 3:56 pm, Alex Schuster wrote:
>>> William Kenworthy writes:
>>>
 On Sun, 2012-03-18 at 18:30 -0600, Canek Peláez Valdés wrote:
>>>
> My laptop has used dracut since months ago, and suspends/resumes just
> fine, as it does my media center.
>>>
 Genkernel doesnt, bugs and work arounds on gentoo bugzilla, with angry
 comments from a dev that it wont be supported and to not file bugs for
 it - now that dev has moved on I dont know if enough has changed to
 test
 the waters and file a bug again.

 Its missing a hook in the initrd to call the binary that starts the
 resume process.
>>>
>>> Huh? I don't use this at the moment, because suspend-to-ram is enough
>>> for
>>> me, but it (that is, the initramfs part) used to work just fine out of
>>> the
>>> box for me, also opening my LUKS-encrypted root volume being on LVM. It
>>> also seemed to work on another Gentoo PC I installed recently, although
>>> TuxOnIce itself does not work so the resume fails. Argh, this suspend
>>> to
>>> disk stuff NEVER really worked for me, and I tried for years on
>>> different
>>> systems.
>>
>> I had it working a long time ago, but the last time I tried it I ended
>> up
>> with a bit of a problem:
>>
>> I don't want a swap-partition on the SSD in my netbook. So I want it to
>> use the SD-card that's permanently plugged in. Problem is, it's
>> connected
>> via an internal USB-port and USB is killed before the writing-proces for
>> the suspend-to-disk starts.
>>
>> Anyone know a solution short of rewriting the kernel? ;)
>>
>> --
>> Joost
>>
>>
> try tuxonice - allows you to suspend to a file on disk as well as ram or
> swap.  Added bonus is its much more robust than in-kernel, and the dev
> (Nigel) is very responsive if help or bugfixes (usually for new kernel
> versions) are needed.

True, but I don't want to have too many write-actions to the internal SSD,
which means that I'd want the file on the SD as well...


-- 
Joost




Re: [gentoo-user] chicken/eff issue with suspend-to-disk/hibernate problem [Was: The End Is Near ... or, get the vaseline, they're on the way!]

2012-03-29 Thread wdk@moriah


On 29/03/2012, at 17:35, "J. Roeleveld"  wrote:

> 
> On Mon, March 19, 2012 3:56 pm, Alex Schuster wrote:
>> William Kenworthy writes:
>> 
>>> On Sun, 2012-03-18 at 18:30 -0600, Canek Peláez Valdés wrote:
>> 
 My laptop has used dracut since months ago, and suspends/resumes just
 fine, as it does my media center.
>> 
>>> Genkernel doesnt, bugs and work arounds on gentoo bugzilla, with angry
>>> comments from a dev that it wont be supported and to not file bugs for
>>> it - now that dev has moved on I dont know if enough has changed to test
>>> the waters and file a bug again.
>>> 
>>> Its missing a hook in the initrd to call the binary that starts the
>>> resume process.
>> 
>> Huh? I don't use this at the moment, because suspend-to-ram is enough for
>> me, but it (that is, the initramfs part) used to work just fine out of the
>> box for me, also opening my LUKS-encrypted root volume being on LVM. It
>> also seemed to work on another Gentoo PC I installed recently, although
>> TuxOnIce itself does not work so the resume fails. Argh, this suspend to
>> disk stuff NEVER really worked for me, and I tried for years on different
>> systems.
> 
> I had it working a long time ago, but the last time I tried it I ended up
> with a bit of a problem:
> 
> I don't want a swap-partition on the SSD in my netbook. So I want it to
> use the SD-card that's permanently plugged in. Problem is, it's connected
> via an internal USB-port and USB is killed before the writing-proces for
> the suspend-to-disk starts.
> 
> Anyone know a solution short of rewriting the kernel? ;)
> 
> --
> Joost
> 
> 
try tuxonice - allows you to suspend to a file on disk as well as ram or swap.  
Added bonus is its much more robust than in-kernel, and the dev (Nigel) is very 
responsive if help or bugfixes (usually for new kernel versions) are needed.

BillK





Re: [gentoo-user] chicken/eff issue with suspend-to-disk/hibernate problem [Was: The End Is Near ... or, get the vaseline, they're on the way!]

2012-03-29 Thread J. Roeleveld

On Mon, March 19, 2012 3:56 pm, Alex Schuster wrote:
> William Kenworthy writes:
>
>> On Sun, 2012-03-18 at 18:30 -0600, Canek Peláez Valdés wrote:
>
>> > My laptop has used dracut since months ago, and suspends/resumes just
>> > fine, as it does my media center.
>
>> Genkernel doesnt, bugs and work arounds on gentoo bugzilla, with angry
>> comments from a dev that it wont be supported and to not file bugs for
>> it - now that dev has moved on I dont know if enough has changed to test
>> the waters and file a bug again.
>>
>> Its missing a hook in the initrd to call the binary that starts the
>> resume process.
>
> Huh? I don't use this at the moment, because suspend-to-ram is enough for
> me, but it (that is, the initramfs part) used to work just fine out of the
> box for me, also opening my LUKS-encrypted root volume being on LVM. It
> also seemed to work on another Gentoo PC I installed recently, although
> TuxOnIce itself does not work so the resume fails. Argh, this suspend to
> disk stuff NEVER really worked for me, and I tried for years on different
> systems.

I had it working a long time ago, but the last time I tried it I ended up
with a bit of a problem:

I don't want a swap-partition on the SSD in my netbook. So I want it to
use the SD-card that's permanently plugged in. Problem is, it's connected
via an internal USB-port and USB is killed before the writing-proces for
the suspend-to-disk starts.

Anyone know a solution short of rewriting the kernel? ;)

--
Joost