You are not logged in.

#1 2010-03-08 21:26:38

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Is it worth to try TuxOnIce?

Hi. I have a dekstop computer which I frequently use, and most of the time it stays on when I leave. I wanted to change that, and put it to sleep.

From what I've heard, TuxOnIce does a better job than regular kernel on hibernating, no?

So I'm wondering - how hard is to use kernel26-ice from AUR? Is it as easy as compiling it from AUR, and then rebooting? Would be too beautiful big_smile

Offline

#2 2010-03-08 21:31:18

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Is it worth to try TuxOnIce?

tuxonice does take some time to properly set up and configure, but it's a nice hibernating framework if that's what you're looking for. definitely better than kernel suspend in my opinion.

all the information you need is here: http://wiki.archlinux.org/index.php/Tuxonice


ᶘ ᵒᴥᵒᶅ

Offline

#3 2010-03-08 21:32:48

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Is it worth to try TuxOnIce?

Have you tried suspend-2-ram (sleep/standby)? If your computer is supported it might be a better alternative to hibernation. To try suspend-2-ram make sure you have pm-utils and run pm-suspend as root. To wake up the computer press the power button.

EDIT: To slow, better answer above

Last edited by pyther (2010-03-08 21:33:40)


Website - Blog - arch-home
Arch User since March 2005

Offline

#4 2010-03-09 18:30:54

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: Is it worth to try TuxOnIce?

Actually, suspending to ram using regular kernel works quite well. My network 'wakes up' only after 20 seconds or so, but the computer is silent at works correctly after waking up. I think I'll use that.


PS.: Does it mean that all TuxOnIce does is hibernating(suspending to hdd)? And RAM suspending is still handled by default kernel code?

Offline

#5 2010-03-09 20:53:44

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: Is it worth to try TuxOnIce?

No. What TuxOnIce brings to the table on top of hibernation and suspend is the ability to compress the image, encrypt the image, store it in a file instead of swap and so on. The same is true for uswsusp, with the difference it is a user-space solution, it does not require any kernel modifications.


You need to install an RTFM interface.

Offline

#6 2010-05-07 08:22:20

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Is it worth to try TuxOnIce?

I'm planning to install TuxOnIce, but I wanna ask a few things first. If I want to install it, I should run "makepkg" as root, since it automatically does all things (including mkinitcpio -p)? Should I also copy all the hooks I need from my existing /etc/mkinitcpio.conf to ~/<pkgbuild_folder>/mkinitcpio-kernel26-ice.conf before starting the process? Or will it copy everything for me alone?
Also, there's a MODULES="ata_generic ata_piix uvesafb" line in the conf from AUR. I got nothing in my conf. Should I remove those from the AUR conf? (As I don't want anything I don't need on my system)

Thanks. smile

Last edited by archman-cro (2010-05-07 08:28:49)

Offline

#7 2010-05-07 08:30:08

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Is it worth to try TuxOnIce?

Are you talking about kernel26-ice in AUR? You should definitely read up about makepkg and kernel compilation - makepkg does not require root (mkiniticpio is run when you install the package), look in the PKGBUILD to find out where it takes mkinitcipo.conf from, but the one in /etc/ should be the system-wide preset I think.

P.S.: see here for how mkinitcpio is run (hint: no -c switch).

Last edited by hokasch (2010-05-07 08:33:44)

Offline

#8 2010-05-07 09:00:36

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Is it worth to try TuxOnIce?

From wiki: "You can use the kernel26-ice  package in the AUR. It automatizes all the patch routines, the compilation and installation of the kernel, the regeneration of the initramfs with an appropriate hook."

No -c switch means it won't look for the config in /etc/ but... The above says it will automatically do *everything* including the patching of kernel. I probably don't understand, anyway. big_smile *going again through the arch wiki...*

Offline

#9 2010-05-07 09:17:02

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Is it worth to try TuxOnIce?

Don't know if you need a hook in mkinitcpio.conf with tuxonice, and uneducated guess would be "no, since it is compiled in the kernel" - not sure really, I find the wiki a bit confusing in terms of hibernating/suspend (pm-utils/uswsup/hibernate-scripts/tux...). Maybe you should look at the TuxOnIce wiki for what is needed exactly.
Anyway, there is no hook related to resume here in this config, and it is used for fallback only anyway.

Offline

#10 2010-05-07 09:25:13

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Is it worth to try TuxOnIce?

Wiki and TuxOnIce wiki page are all confusing to me. I should read on it here on the boards, since they don't talk about editing the config files from AUR on their page *confused*, which seems as an important part in configuring the kernel. I will search and read around the forum...(btw, I want to switch to tuxonice cause pm-hibernate doesn't store cached memory in the hibernate image sad)

Offline

#11 2010-05-07 09:32:05

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Is it worth to try TuxOnIce?

Kernel configuration is covered by the aur-package. What you are looking for is how to configure the userland tools (hibernate-script or pm-utils).

p.s.: we are dragging this OT very fast... just open a new thread if you arrive at a concrete question.

Last edited by hokasch (2010-05-07 09:33:55)

Offline

Board footer

Powered by FluxBB