You are not logged in.

#1 2010-04-28 17:24:12

webmasteryoda
Member
From: Serbia
Registered: 2010-03-20
Posts: 115
Website

Hibernate problem (SOLVED)

Hibernate doesnt work.

It seams that system is writing to my swap on hibernate, but it isnt returning back to my previous session / windows / programs, etc...

My fstab:

/dev/sda6 /home ext4 defaults 0 1
/dev/sda7 swap swap defaults 0 0
/dev/sda8 / ext4 defaults 0 1
/dev/sda3 /mnt/windata ntfs-3g defaults 0 0

Here s my grub:

menuentry "Arch (on /dev/sda8)" {
    insmod ext2
    set root=(hd0,8)
    search --no-floppy --fs-uuid --set 5905b2a4-0b74-4962-ae9c-5d82c750dc03
    linux /boot/vmlinuz26 root=/dev/sda8 resume=/dev/sda7 ro nomodeset
        initrd /boot/kernel26.img

rc.conf

MODULES=(acpi-cpufreq cpufreq_ondemand cpufreq_powersave agpgart intel-agp fglrx autofs4)
DAEMONS=(!network syslog-ng dbus hal cpufreq laptop-mode !netfs crond alsa wicd kdm)

My user is member of "power" group.

What else is important? Did I missed something?

Last edited by webmasteryoda (2010-04-28 18:59:09)

Offline

#2 2010-04-28 18:12:34

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Hibernate problem (SOLVED)

Zdravo!

What suite are you using to hibernate? pm-hibernate? Tuxonice? Something other than those?
I'm not sure, but try checking the /etc/mkinitcpio.conf file, and check out the "HOOKS" line.
Do you have "resume" in it? If not, that's why it's not loading the hibernation image.

To add that, you need to edit the mkinitcpio.conf file and add "resume" !before! "filesystems", and after "scsi" and "sata" (or "ata", depends on your disk, I guess...) and then update the kernel with "mkinitcpio -p kernel26" (as root!). I got pm-hibernate working like that.

Good luck, and have fun. smile
Pozdrav iz Zagreba. big_smile

Last edited by archman-cro (2010-04-28 18:17:32)

Offline

#3 2010-04-28 18:58:40

webmasteryoda
Member
From: Serbia
Registered: 2010-03-20
Posts: 115
Website

Re: Hibernate problem (SOLVED)

Yap... problem solved.

Thx to my neighbour archman-cro.

Pozdrav iz Kule, Vojvodina
I Hvala

Offline

#4 2010-04-28 18:59:13

ngsupb
Member
Registered: 2009-07-29
Posts: 57
Website

Re: Hibernate problem (SOLVED)

archman-cro, thanks man. It worked for me too

Offline

#5 2010-04-28 19:12:04

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Hibernate problem (SOLVED)

You're welcome, guys! Have fun! smile

Offline

#6 2010-12-15 22:07:34

mordoc
Member
Registered: 2010-11-22
Posts: 11

Re: Hibernate problem (SOLVED)

Guys, it's because of this that I love the Arch community...another configuration, "How do I...," is out of the way.

Offline

#7 2011-04-24 19:52:33

chr
Member
Registered: 2011-04-24
Posts: 3

Re: Hibernate problem (SOLVED)

Hi
I registered just to say thanks to archman-cro. solved the hibernate problem for me smile

Offline

#8 2011-04-24 20:45:17

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: Hibernate problem (SOLVED)

This info is on the wiki and has been for a long time.  Don't bump threads just to say 'thanks', it just adds to the clutter.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB