You are not logged in.

#1 2011-01-07 12:20:32

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

TuxOnIce Filewriter support

I guess this is not really a newbie question, but I guess it belongs here.

I've been trying to get the TOI Filewriter to work. I use the "hibernate-script" (version 2.0-5) package from AUR.
In tuxonice.conf I have a "FilewriterLocation /path/to/file 1500"
In GRUB's menu.lst is the "resume=UUID=blablabla:0xblabla" (the thing you get when you run "hibernate --no-suspend", when the file is created)
/etc/mkinitcpio.conf includes a "resume" in HOOKS.

It seems to write the image to a file correctly and the pc shuts down. When I try to boot and resume, it just waits 10 secs at "Waiting 10 seconds for device 0xblabla" and then it continues booting normally, ignoring the resume image.

Is anyone able to use a Filewriter correctly?

Any ideas appreciated. Really.
Thanks.

Offline

#2 2011-01-07 16:04:33

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: TuxOnIce Filewriter support

Works here. UUID didn't work for me so I just used /dev/sda7 (the drive my file is on).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2011-01-07 17:40:03

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

Re: TuxOnIce Filewriter support

You use only "resume=/dev/sda7"? Without the offset where the file is?

edit: That way all I get is this:

ABORTING: resume is not setup correctly. Unless you have setup your bootloader
correctly, resuming will most likely fail. To correct this, add
"resume=UUID=4df05d00a2784a1f8caa977365124b7b:0x378000" to your kernel command line in your
LILO or GRUB configuration file and reboot.
hibernate: Aborting.

Please post me your tuxonice.conf, menu.lst if you can.

Last edited by archman-cro (2011-01-07 17:53:36)

Offline

#4 2011-01-07 18:17:53

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: TuxOnIce Filewriter support

SuspendDevice swap:/dev/sda7:0x1087070 in tuxonice.conf

kernel /boot/vmlinuz26-ice root=/dev/disk/by-uuid/9f90f2fa-49ce-4fb7-886b-bcebbc2fc231 ro resume=swap:/dev/sda7:0x1087070 in menu.lst

Of course I meant /dev/sda7 followed by the offset, filewriter and swap isn't the same.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2011-01-07 22:04:02

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

Re: TuxOnIce Filewriter support

Oh, I didn't try it with SuspendDevice in tuxonice.conf.
/ME runs to test it out!

Edit: Can't believe this, it still complains the same if I have "resume=swap:/dev/sda1:0x378000" in menu.lst sad. Same error. Which hibernate-script and toi patch versions are you using? And are you using a tuxonice-userui? I don't have it installed.

Last edited by archman-cro (2011-01-07 22:17:18)

Offline

#6 2011-01-07 23:06:00

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: TuxOnIce Filewriter support

I'm helping maintain kernel26-ice so I use the one there (3.2rc2 with kernel 2.6.36.2). I just installed tuxonice-userui but it worked before that as well.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2011-01-07 23:14:33

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

Re: TuxOnIce Filewriter support

Hmm I have a tailored up kernel. Maybe I excluded something that's needed for a filewriter to work?...
I see there's this "Replace swsusp by default" I've left disabled. Rebuilding the kernel now, even though I don't think that's the reason toi is behaving differently than yours...

edit: Nope, can't get Filewriter to work (resume). Swapwriter works good.

Last edited by archman-cro (2011-01-08 00:27:32)

Offline

#8 2011-01-08 16:02:06

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: TuxOnIce Filewriter support

That'd be likely, but there's literally a ton of options and I don't know which it would actually be. Probably best for you to check with the devs (or just spend some time compiling with all default options from the kernel26-ice package, just to confirm its that).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB