Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't resume from SUSPEND2
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
_dA_CyANIDe
Apprentice
Apprentice


Joined: 30 Mar 2005
Posts: 196
Location: Czech Republic

PostPosted: Thu Oct 05, 2006 1:58 pm    Post subject: Can't resume from SUSPEND2 Reply with quote

Hello,

if i suspend my computer everything workes fine. But after rebooti got :
can't mount root partiton .. unknown block (8.3)

parameter from grub.conf: resume2=swap:/dev/sda2

sda1 = boot/reiserfs
sda2 = swap
sda3 = root/reiser4


What can be wrong??
_________________
AMD64 X2 3800+, 1GB RAM, Gigabyte GF7600
-----
Firewalls cannot block stupidity!
Back to top
View user's profile Send private message
_dA_CyANIDe
Apprentice
Apprentice


Joined: 30 Mar 2005
Posts: 196
Location: Czech Republic

PostPosted: Thu Oct 05, 2006 2:05 pm    Post subject: Reply with quote

From :
#cat /sys/power/state

mem
_________________
AMD64 X2 3800+, 1GB RAM, Gigabyte GF7600
-----
Firewalls cannot block stupidity!
Back to top
View user's profile Send private message
Mythril
n00b
n00b


Joined: 07 Oct 2006
Posts: 52

PostPosted: Sat Oct 07, 2006 10:00 am    Post subject: Reply with quote

I had the same problem

I'm using genkernel and udev, so I had to make the following modifications :
add
Code:
echo > /proc/suspend2/do_resume

to /usr/share/genkernel/generic/linuxrc, after the 'mount -t proc /proc' line.
(update your initramfs with: genkernel --install initrd)

And, in grub.conf my kernel line is :
Code:
kernel /boot/kernel-genkernel-x86-2.6.16-suspend2-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda7 udev doscsi video=vesafb:mtrr:3,ywrap,1280x800-32@85 resume2=swap:/dev/sda6 udev gentoo=udev


If I remember well, it was somehow related to the udev args.

This worked for :
suspend2-sources-2.6.16-r8
hibernate-script-1.12-r1
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