Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
suspend and resume on sw raid with newer kernels (2.6.30)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
subrahmanyan
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2004
Posts: 149
Location: Grey Havens

PostPosted: Sat Sep 26, 2009 7:35 pm    Post subject: suspend and resume on sw raid with newer kernels (2.6.30) Reply with quote

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
View user's profile Send private message
d-fens
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 93

PostPosted: Sat Sep 24, 2011 9:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Sat Sep 24, 2011 9:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum