You are not logged in.

#1 2011-08-20 02:02:25

yangtsesu
Member
Registered: 2011-08-20
Posts: 34

[solved]Hibernate fails

grub.cfg

menuentry 'Arch Linux,Linux ck' --class archlinux --class gnu-linux --class gnu --class os {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd0,gpt3)'
        search --no-floppy --fs-uuid --set=root a22317b1-e416-4ac2-9497-32acef8d29e3
        echo    '载入 Linux ck ...'
        linux   /vmlinuz-linux-ck root=/dev/sda5 ro  resume=/dev/sda4 quiet init=/bin/systemd
        echo    '载入初始化内存盘...'
        initrd  /initramfs-linux-ck.img
}

dmesg.log

# cat /var/log/dmesg.log |grep  Hibernation
[    1.343683] PM: Hibernation image not present or could not be loaded.

swap info

# cat /sys/power/image_size 
1623941120
[root@yangtse-laptop yangtse]# cat /proc/swaps 
Filename				Type		Size	Used	Priority
/dev/sda4                               partition	1999868	0	0

pmsuspend.log

             total       used       free     shared    buffers     cached
Mem:       3968840     701992    3266848          0      35520     326100
-/+ buffers/cache:     340372    3628468
Swap:      1999868          0    1999868

/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:

/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub hibernate hibernate:

/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode hibernate hibernate:

/usr/lib/pm-utils/sleep.d/01laptop-mode hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg hibernate hibernate:

/usr/lib/pm-utils/sleep.d/11netcfg hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:

/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:

/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
Running hook /etc/pm/sleep.d/90alsa hibernate hibernate:

/etc/pm/sleep.d/90alsa hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Sat Aug 20 09:30:32 CST 2011: performing hibernate
# mkinitcpio -p linux-ck
==> Building image from preset: 'default'
  -> -k /boot/vmlinuz-linux-ck -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-ck.img
==> Starting build: 3.0-ck
==> ERROR: module not found: `resume'

I use linux-ck,linux the same

Last edited by yangtsesu (2011-08-20 05:31:49)

Offline

#2 2011-08-20 05:31:25

yangtsesu
Member
Registered: 2011-08-20
Posts: 34

Re: [solved]Hibernate fails

sorry resume in hook not module

Offline

Board footer

Powered by FluxBB