View previous topic :: View next topic |
Author |
Message |
subrahmanyan Tux's lil' helper
Joined: 19 Jan 2004 Posts: 149 Location: Grey Havens
|
Posted: Sat Sep 26, 2009 7:35 pm Post subject: suspend and resume on sw raid with newer kernels (2.6.30) |
|
|
After upgrading my kernel from tuxonice-sources-2.6.25-r7 to 2.6.30-r5, I am no longer able to resume a hibernated session.
The problem is that swap resides on /dev/md2 but this array is not yet assembled when a resume attempt is made. Dmesg says: Code: | TuxOnIce: Can't translate "/dev/md2" into a device id yet. | In fact, I have the same problem as the author of this thread on lists.tuxonice.net. Unfortunately, they only say that it can be solved using initramfs but the real solution is not posted there.
My question:
Is there anybody using recent tuxonice kernel and sw raid to suspend/resume from swap? I'd like to know how it works for you - initramfs, custom hack or another solution.
Thanks! _________________ emerge -C Microsoft |
|
Back to top |
|
|
d-fens Tux's lil' helper
Joined: 09 Jan 2004 Posts: 93
|
Posted: Sat Sep 24, 2011 9:23 pm Post subject: |
|
|
sorry for bringng this thread up from the graveyard, but did you have any success ?
i also look for a howto using tuxonice with a swapfile/file on a software raid! |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Sat Sep 24, 2011 9:48 pm Post subject: |
|
|
In principle, this is the same as resuming from any other device that is not automatically created during kernel initialization, such as a LUKS encrypted swap device. You need an initramfs that will make the swap block device accessible, then call resume. |
|
Back to top |
|
|
|