You are not logged in.

#1 2006-10-16 19:10:10

nicholai
Member
Registered: 2005-04-26
Posts: 51

[Solved] Kernel 2.6.17-beyond, suspend2 and raid swap.

Hi all,

I'm using the 2.6.17-beyond kernel (x86-64) and would like to resume with suspend2.

My root and swap are parititions are software raids and this seems to cause some undesired behaviour.

The resume (hook?) loads before the software raids are assembled durring boot. That mean it can't find / (/dev/mdX) or swap (/dev/mdY), hence I can't resume and it fallbacks to a normal boot.

So, is there a way to force the raids devices to assemble before the resume?

Some info from mkinitcpio.conf:

MODULES="sd_mod sata_sil sata_nv raid0 raid1 ext3 reiserfs"
HOOKS="base udev resume"

grub.conf
[code]
kernel /vmlinuz26beyond root=/dev/md2 ro md=2,/dev/sda2,/dev/sdb2  md=6,/dev/sda6,/dev/sdb6 resume2=swap:/dev/md6
[code]

Thanks in advance,

Nicholai


Desktop :Athlon64       2.2 GHz
Laptop   :Toshiba R100    1GHz

Offline

#2 2006-10-16 19:36:55

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [Solved] Kernel 2.6.17-beyond, suspend2 and raid swap.

If you want raid assembled before resume, add the raid hook before the resume hook.

Offline

#3 2006-10-16 19:51:48

nicholai
Member
Registered: 2005-04-26
Posts: 51

Re: [Solved] Kernel 2.6.17-beyond, suspend2 and raid swap.

That did the trick. Suspend2 works like a charm.

Thanks for the quick reply.


Desktop :Athlon64       2.2 GHz
Laptop   :Toshiba R100    1GHz

Offline

Board footer

Powered by FluxBB