Results 1 to 6 of 6

Thread: Hibernate not work in opensuse 12.3 and xfce4.10 desktop

Hybrid View

  1. #1

    Default Hibernate not work in opensuse 12.3 and xfce4.10 desktop

    Hi
    When i want to hibernate my laptop and use pm-hibernate command from terminal OR use xfce4 power manager option for hibernate nothing happend and computer work without any changes!!
    Code:
    root@ali-lap:/home/reza# pm-hibernate 
    root@ali-lap:/home/reza# pm-hibernate
    this pm-suspend out put:
    Code:
    tail: /var/log/pm-suspend.log: file truncated
    Initial commandline parameters: 
    Sun Jul  7 18:10:51 IRDT 2013: Running hooks for hibernate.
    Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
    hibernate initiated: Sun Jul  7 18:10:51 IRDT 2013
    
    Linux ali-lap.ali-lap 3.7.10-1.16-desktop #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) x86_64 x86_64 x86_64 GNU/Linux
    kernel command line: 'BOOT_IMAGE=/boot/vmlinuz root=/dev/sda5'
    Module                  Size  Used by
    xfs                   911692  0 
    nilfs2                177330  0 
    jfs                   193530  0 
    btrfs                 834856  0 
    zlib_deflate           26915  1 btrfs
    libcrc32c              12645  1 btrfs
    st                     44369  0 
    dm_mod                 92315  0 
    michael_mic            12613  4 
    arc4                   12616  2 
    ecb                    12816  0 
    fuse                   87139  3 
    af_packet              39587  2 
    bnep                   19702  2 
    bluetooth             341895  7 bnep
    vboxpci                27291  0 
    vboxnetadp             25671  0 
    vboxnetflt             23480  0 
    vboxdrv               336753  3 vboxpci,vboxnetadp,vboxnetflt
    iTCO_wdt               13481  0 
    iTCO_vendor_support    13719  1 iTCO_wdt
    snd_hda_codec_hdmi     40844  1 
    snd_hda_codec_realtek    82329  1 
    snd_hda_intel          42034  5 
    snd_hda_codec         147417  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep              13603  1 snd_hda_codec
    snd_pcm               110154  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    snd_seq                69780  0 
    snd_timer              29371  3 snd_pcm,snd_seq
    snd_seq_device         14498  1 snd_seq
    fglrx                5303071  114 
    snd                    91489  17 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
    uvcvideo               84941  0 
    acpi_cpufreq           19572  1 
    mperf                  12668  1 acpi_cpufreq
    coretemp               13394  0 
    lpc_ich                17062  0 
    videobuf2_core         35910  1 uvcvideo
    kvm_intel             136915  0 
    videodev              129333  2 uvcvideo,videobuf2_core
    videobuf2_vmalloc      13021  1 uvcvideo
    acer_wmi               32548  0 
    sparse_keymap          13891  1 acer_wmi
    kvm                   475491  1 kvm_intel
    soundcore              15048  1 snd
    mxm_wmi                13022  0 
    sr_mod                 22296  0 
    crc32c_intel           12902  1 
    mfd_core               13436  1 lpc_ich
    mei                    79557  0 
    amd_iommu_v2           19098  1 fglrx
    sg                     36525  0 
    videobuf2_memops       13645  1 videobuf2_vmalloc
    joydev                 17378  0 
    i2c_i801               22440  0 
    rfkill                 26530  5 bluetooth,acer_wmi
    intel_ips              18422  0 
    wmi                    19071  2 acer_wmi,mxm_wmi
    broadcom               13171  0 
    tg3                   157549  0 
    pcspkr                 12719  0 
    lib80211_crypt_tkip    17663  0 
    cdrom                  46688  1 sr_mod
    snd_page_alloc         18711  2 snd_hda_intel,snd_pcm
    video                  19401  1 acer_wmi
    microcode              35785  0 
    wl                   2573568  0 
    battery                18769  0 
    ac                     13133  0 
    button                 13953  1 fglrx
    autofs4                42771  2 
    processor              44950  1 acpi_cpufreq
    thermal_sys            24957  2 video,processor
    scsi_dh_emc            17259  0 
    scsi_dh_rdac           17409  0 
    scsi_dh_hp_sw          12895  0 
    scsi_dh_alua           17162  0 
    scsi_dh                14844  4 scsi_dh_emc,scsi_dh_rdac,scsi_dh_hp_sw,scsi_dh_alua
    ata_generic            12911  0 
    ata_piix               35039  6 
    
                 total       used       free     shared    buffers     cached
    Mem:       3916736    2035988    1880748          0      67160     700024
    -/+ buffers/cache:    1268804    2647932
    Swap:      4009980          0    4009980
    
    
    /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/02rtcwake hibernate hibernate:
    rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...
    
    /usr/lib/pm-utils/sleep.d/02rtcwake hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate:
    autofs.service - Automounts filesystems on demand
          Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled)
          Active: inactive (dead) since Sun, 2013-07-07 18:03:57 IRDT; 6min ago
         Process: 14372 ExecStart=/usr/sbin/automount ${AUTOFS_OPTIONS} -p /var/run/automount.pid (code=exited, status=0/SUCCESS)
        Main PID: 14374 (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/autofs.service
    
    Jul 07 18:03:51 ali-lap.ali-lap systemd[1]: Starting Automounts filesystems on demand...
    Jul 07 18:03:51 ali-lap.ali-lap automount[14374]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set
    Jul 07 18:03:51 ali-lap.ali-lap systemd[1]: Started Automounts filesystems on demand.
    Jul 07 18:03:57 ali-lap.ali-lap systemd[1]: Stopping Automounts filesystems on demand...
    Jul 07 18:03:57 ali-lap.ali-lap systemd[1]: Stopped Automounts filesystems on demand.
    
    /usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate:
    INFO: checking for suspend-to-disk prerequisites...
    ERROR: no resume parameter on kernel commandline, can not suspend
    WARNING: /var/run/pm-utils/pm-suspend/storage/inhibit will be created to prevent suspending!
    
    /usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate: success.
    Sun Jul  7 18:10:52 IRDT 2013: Inhibit found, will not perform hibernate
    Sun Jul  7 18:10:52 IRDT 2013: Running hooks for thaw
    Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check thaw hibernate:
    
    /usr/lib/pm-utils/sleep.d/30s2disk-check thaw hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/06autofs thaw hibernate:
    
    /usr/lib/pm-utils/sleep.d/06autofs thaw hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/02rtcwake thaw hibernate:
    
    /usr/lib/pm-utils/sleep.d/02rtcwake thaw hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:
    
    /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/00logging thaw hibernate:
    
    /usr/lib/pm-utils/sleep.d/00logging thaw hibernate: success.
    message file have not any log for this process!

    Any ideas‌?
    Thanks.

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Hibernate not work in opensuse 12.3 and xfce4.10 desktop

    On 2013-07-07 15:56, alirezaimi wrote:
    >
    > Hi
    > When i want to hibernate my laptop and use pm-hibernate command from
    > terminal OR use xfce4 power manager option for hibernate nothing happend
    > and computer work without any changes!!



    > Code:
    > --------------------
    > Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate:
    > INFO: checking for suspend-to-disk prerequisites...
    > ERROR: no resume parameter on kernel commandline, can not suspend <=============
    > --------------------


    That is your problem.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  3. #3

    Default Re: Hibernate not work in opensuse 12.3 and xfce4.10 desktop

    Quote Originally Posted by robin_listas View Post
    On 2013-07-07 15:56, alirezaimi wrote:
    >
    > Hi
    > When i want to hibernate my laptop and use pm-hibernate command from
    > terminal OR use xfce4 power manager option for hibernate nothing happend
    > and computer work without any changes!!



    > Code:
    > --------------------
    > Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate:
    > INFO: checking for suspend-to-disk prerequisites...
    > ERROR: no resume parameter on kernel commandline, can not suspend <=============
    > --------------------


    That is your problem.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)
    This is my problem ! So, What is your problem ??

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Hibernate not work in opensuse 12.3 and xfce4.10 desktop

    Quote Originally Posted by alirezaimi View Post
    Hi
    When i want to hibernate my laptop and use pm-hibernate command from terminal OR use xfce4 power manager option for hibernate nothing happend and computer work without any changes!!
    Code:
    root@ali-lap:/home/reza# pm-hibernate 
    root@ali-lap:/home/reza# pm-hibernate
    this pm-suspend out put:
    Code:
    tail: /var/log/pm-suspend.log: file truncated
    Initial commandline parameters: 
    Sun Jul  7 18:10:51 IRDT 2013: Running hooks for hibernate.
    Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
    hibernate initiated: Sun Jul  7 18:10:51 IRDT 2013
    
    Linux ali-lap.ali-lap 3.7.10-1.16-desktop #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) x86_64 x86_64 x86_64 GNU/Linux
    kernel command line: 'BOOT_IMAGE=/boot/vmlinuz root=/dev/sda5'
    Module                  Size  Used by
    xfs                   911692  0 
    nilfs2                177330  0 
    jfs                   193530  0 
    btrfs                 834856  0 
    zlib_deflate           26915  1 btrfs
    libcrc32c              12645  1 btrfs
    st                     44369  0 
    dm_mod                 92315  0 
    michael_mic            12613  4 
    arc4                   12616  2 
    ecb                    12816  0 
    fuse                   87139  3 
    af_packet              39587  2 
    bnep                   19702  2 
    bluetooth             341895  7 bnep
    vboxpci                27291  0 
    vboxnetadp             25671  0 
    vboxnetflt             23480  0 
    vboxdrv               336753  3 vboxpci,vboxnetadp,vboxnetflt
    iTCO_wdt               13481  0 
    iTCO_vendor_support    13719  1 iTCO_wdt
    snd_hda_codec_hdmi     40844  1 
    snd_hda_codec_realtek    82329  1 
    snd_hda_intel          42034  5 
    snd_hda_codec         147417  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep              13603  1 snd_hda_codec
    snd_pcm               110154  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    snd_seq                69780  0 
    snd_timer              29371  3 snd_pcm,snd_seq
    snd_seq_device         14498  1 snd_seq
    fglrx                5303071  114 
    snd                    91489  17 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
    uvcvideo               84941  0 
    acpi_cpufreq           19572  1 
    mperf                  12668  1 acpi_cpufreq
    coretemp               13394  0 
    lpc_ich                17062  0 
    videobuf2_core         35910  1 uvcvideo
    kvm_intel             136915  0 
    videodev              129333  2 uvcvideo,videobuf2_core
    videobuf2_vmalloc      13021  1 uvcvideo
    acer_wmi               32548  0 
    sparse_keymap          13891  1 acer_wmi
    kvm                   475491  1 kvm_intel
    soundcore              15048  1 snd
    mxm_wmi                13022  0 
    sr_mod                 22296  0 
    crc32c_intel           12902  1 
    mfd_core               13436  1 lpc_ich
    mei                    79557  0 
    amd_iommu_v2           19098  1 fglrx
    sg                     36525  0 
    videobuf2_memops       13645  1 videobuf2_vmalloc
    joydev                 17378  0 
    i2c_i801               22440  0 
    rfkill                 26530  5 bluetooth,acer_wmi
    intel_ips              18422  0 
    wmi                    19071  2 acer_wmi,mxm_wmi
    broadcom               13171  0 
    tg3                   157549  0 
    pcspkr                 12719  0 
    lib80211_crypt_tkip    17663  0 
    cdrom                  46688  1 sr_mod
    snd_page_alloc         18711  2 snd_hda_intel,snd_pcm
    video                  19401  1 acer_wmi
    microcode              35785  0 
    wl                   2573568  0 
    battery                18769  0 
    ac                     13133  0 
    button                 13953  1 fglrx
    autofs4                42771  2 
    processor              44950  1 acpi_cpufreq
    thermal_sys            24957  2 video,processor
    scsi_dh_emc            17259  0 
    scsi_dh_rdac           17409  0 
    scsi_dh_hp_sw          12895  0 
    scsi_dh_alua           17162  0 
    scsi_dh                14844  4 scsi_dh_emc,scsi_dh_rdac,scsi_dh_hp_sw,scsi_dh_alua
    ata_generic            12911  0 
    ata_piix               35039  6 
    
                 total       used       free     shared    buffers     cached
    Mem:       3916736    2035988    1880748          0      67160     700024
    -/+ buffers/cache:    1268804    2647932
    Swap:      4009980          0    4009980
    
    
    /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/02rtcwake hibernate hibernate:
    rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...
    
    /usr/lib/pm-utils/sleep.d/02rtcwake hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate:
    autofs.service - Automounts filesystems on demand
          Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled)
          Active: inactive (dead) since Sun, 2013-07-07 18:03:57 IRDT; 6min ago
         Process: 14372 ExecStart=/usr/sbin/automount ${AUTOFS_OPTIONS} -p /var/run/automount.pid (code=exited, status=0/SUCCESS)
        Main PID: 14374 (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/autofs.service
    
    Jul 07 18:03:51 ali-lap.ali-lap systemd[1]: Starting Automounts filesystems on demand...
    Jul 07 18:03:51 ali-lap.ali-lap automount[14374]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set
    Jul 07 18:03:51 ali-lap.ali-lap systemd[1]: Started Automounts filesystems on demand.
    Jul 07 18:03:57 ali-lap.ali-lap systemd[1]: Stopping Automounts filesystems on demand...
    Jul 07 18:03:57 ali-lap.ali-lap systemd[1]: Stopped Automounts filesystems on demand.
    
    /usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate:
    INFO: checking for suspend-to-disk prerequisites...
    ERROR: no resume parameter on kernel commandline, can not suspend
    WARNING: /var/run/pm-utils/pm-suspend/storage/inhibit will be created to prevent suspending!
    
    /usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate: success.
    Sun Jul  7 18:10:52 IRDT 2013: Inhibit found, will not perform hibernate
    Sun Jul  7 18:10:52 IRDT 2013: Running hooks for thaw
    Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check thaw hibernate:
    
    /usr/lib/pm-utils/sleep.d/30s2disk-check thaw hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/06autofs thaw hibernate:
    
    /usr/lib/pm-utils/sleep.d/06autofs thaw hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/02rtcwake thaw hibernate:
    
    /usr/lib/pm-utils/sleep.d/02rtcwake thaw hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:
    
    /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/00logging thaw hibernate:
    
    /usr/lib/pm-utils/sleep.d/00logging thaw hibernate: success.
    message file have not any log for this process!

    Any ideas‌?
    Thanks.
    If you take a look at the file named: /etc/default/grub, you will see a line that starts with: GRUB_CMDLINE_LINUX_DEFAULT= like the following:

    Code:
    GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D0FP65-part1 splash=silent intel_pstate=disable quiet showopts vga=0x34d"
    The resume= should point to your SWAP partition. What does you file entry say? You can work with Grub 2 using this bash utility:

    GNU Grub2 Command Listing Helper with --help & Input - Blogs - openSUSE Forums

    If you make a change, you must run the following command to update the Grub 2 menu:

    Code:
    grub2-mkconfig -o /boot/grub2/grub.cfg
    You can use the YaST / System / Partitioner to see what name your hard drive uses that contains the SWAP partition.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5

    Default Re: Hibernate not work in opensuse 12.3 and xfce4.10 desktop

    Quote Originally Posted by jdmcdaniel3 View Post
    If you take a look at the file named: /etc/default/grub, you will see a line that starts with: GRUB_CMDLINE_LINUX_DEFAULT= like the following:

    Code:
    GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D0FP65-part1 splash=silent intel_pstate=disable quiet showopts vga=0x34d"
    The resume= should point to your SWAP partition. What does you file entry say? You can work with Grub 2 using this bash utility:

    GNU Grub2 Command Listing Helper with --help & Input - Blogs - openSUSE Forums

    If you make a change, you must run the following command to update the Grub 2 menu:

    Code:
    grub2-mkconfig -o /boot/grub2/grub.cfg
    You can use the YaST / System / Partitioner to see what name your hard drive uses that contains the SWAP partition.

    Thank You,
    Problem Solved! Thank you very much!

  6. #6
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Hibernate not work in opensuse 12.3 and xfce4.10 desktop

    Quote Originally Posted by alirezaimi View Post
    Problem Solved! Thank you very much!
    Very happy to help. I am not sure how this would not get done for you during the install, but it can be done manually as you have found out.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •