LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Cant hibernate 9.3 (https://www.linuxquestions.org/questions/suse-opensuse-60/cant-hibernate-9-3-a-346544/)

alaios 07-25-2005 10:01 AM

Cant hibernate 9.3
 
Hi i use suse 9.3 with the default kde..... The problem is that from the Kpowesave when i use the hibernate functionality dont hibernates the pc always. it justs tries to stop the tasks and then returns to the kde asking for a password... do u face this problem or not?
Thx a lot

Amr_not_Amr 07-26-2005 10:34 AM

I faced the same problem >>
but not as with u
it starts to suspend the computer then the progess bar reaches 100% then the black sreen appears .. then it it turn again to the X ..
but I think it's because of old hardware .. i've a Pentium 3, 800 Mhz processor, with 256 Mb RAM ..



I guess also it's because of using more than one swap partition or too small swap .. maybe .. try to increase ur swap partition size and use only one .. and it should be at least double of the RAM size ..
try and tell me

alaios 07-26-2005 08:40 PM

No i dontt think thats a problem of old hardware...... I have 1gb ram with 700mb swap.. I dont know why but i think thats a s very bad implementation of hibernate functionality

Amr_not_Amr 07-27-2005 04:30 AM

Quote:

I have 1gb ram with 700mb swap
the swap is much much less than the ram size ..
enlagre the swap partition to be at least 1250 mb
the swap should always be largaer than the ram to be able to hibernate .. because when u try to hibernate it dumps the *used* ram to the swap .. so if there is no enough space on the swap it can't do the job ..

if u don't know how to enlarge the swap partition I can help u

alaios 07-27-2005 05:43 AM

Yea if u can help me with this task,,,,

gokulagiridaran 07-27-2005 11:08 AM

hey its working fine for me, i have 256MB RAM with 300 MB Swap.

Kdr Kane 07-27-2005 11:49 AM

Unfortunately, you'll probably have to rebuild to increase the swap partition.

You can't use a swap file, it must be a partition and it must be larger than your total RAM memory. These are the requirements for hibernation.

Amr_not_Amr 07-27-2005 05:24 PM

I'm not on suse right now >> so u have to guess if i'm not using exact words

open yast ... then open system page from the left menu ..
then open partitioner
then it will ask u whether u r aware of what u r doing so click on YES
then the partitioner window will open
so select the swap partition then delete it by clicking on the delete buttom
then select the partition just after or before it which has some free spoce then click on resize buttom and resize it to a size of 400 mb less at least (u can resize it to a 500 to 600 mb lesser size for optimum performance) .... then create new partition by clicking on the new buttom and choose the filesystem to be swap ..and use the maximum allowed size ..

then make sure of the swap size not less then 1200 mb
then apply by clicking on finish then apply
then it will take sometime to accomplish the job so be patient ..
when it finishes click on abort .. the make sure the new swap partition is active by checking /etc/fstab


I hope i could help u ..

Beranger 07-28-2005 03:52 AM

My fix
 
I had the same issue the first time I put SuSE 9.3 on this PC, having RAM=512 MB, swap=520 MB.

My fix was to add

Code:

acpi=force
to the boot string.

Now it works.

alaios 08-15-2005 11:32 PM

Oh boy now i am confused.... what should i do??
Put the string acpi=force or chagne the size of swap partition?
Is i change the partition this cant harm my pc so it cant boot anymore?

Beranger 08-16-2005 02:06 AM

Quote:

Originally posted by alaios
Oh boy now i am confused.... what should i do??
Put the string acpi=force or chagne the size of swap partition?
Is i change the partition this cant harm my pc so it cant boot anymore?

Changing the size of your swap partition won't harm anything!!!
(actually, I made mine 1.5 GB for 512 MB of RAM)
That is... if you have unpartitioned space or you can take space from another partition, not from the one you're having Linux on!!!
On the other hand, 'acpi=force' would not harm either, try it first.
Are you having the swap at least 1.5 times your RAM, anyway?

alaios 08-16-2005 02:42 AM

What do u mean that wont harm anything? If i resize the partition in such way so as to overwrite some files that the other partition has?

Beranger 08-16-2005 02:54 AM

Quote:

Originally posted by alaios
What do u mean that wont harm anything? If i resize the partition in such way so as to overwrite some files that the other partition has?
Actually, you can't resize it!
If you delete it and then recreate it, you have to have free unpartitioned space.
If you don't, try getting some free space from a windoze partution -- with Partition Magic or something.

Amr_not_Amr 08-16-2005 09:17 AM

you can resize the partion just after or before it using the partitioner in YAST
then delete the swap partition
and then recreate it using all the available space

Beranger 08-16-2005 09:39 AM

Quote:

Originally posted by Amr_not_Amr
you can resize the partion just after or before it using the partitioner in YAST
then delete the swap partition
and then recreate it using all the available space

You're confusing the user...
It depends of what is before and after the partition...


All times are GMT -5. The time now is 05:00 PM.