Hibernation not working in 18.04











up vote
1
down vote

favorite
1












Linux/Ubuntu rookie here, so please be gentle :)



I've installed Ubuntu 18 in my laptop and I'm trying to configure hibernation. I've tried to follow these posts, but still without any results...



I've changed my partition so that it's 11GB (I've tried to follow what was written here):



sudo swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 11G 0B -2


If I try to use the pm-hibernate, nothing happens...



Looking at the logs, I can see these entries:



22:00:47 wpa_supplicant: dbus: Failed to construct signal
22:00:47 systemd: Failed to start Hibernate.
22:00:47 kernel: PM: Cannot get swap writer
22:00:42 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
21:57:49 wpa_supplicant: dbus: Failed to construct signal
21:57:49 systemd: Failed to start Hibernate.
21:57:49 kernel: PM: Cannot get swap writer
21:57:44 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
21:55:44 wpa_supplicant: dbus: Failed to construct signal
21:55:44 systemd: Failed to start Hibernate.
21:55:44 kernel: PM: Swap header not found!
21:55:35 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
21:55:17 spice-vdagent: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
21:55:16 pulseaudio: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
21:55:10 spice-vdagent: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
21:55:07 wpa_supplicant: dbus: Failed to construct signal
21:55:03 kernel: [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x25 (or later)


It's obvious there's some sort of problem when hibernation starts, but I really don't knohich the machine state is written to disk, eitw what's wrong...



Can somebody help?



Thanks.



Luis










share|improve this question


























    up vote
    1
    down vote

    favorite
    1












    Linux/Ubuntu rookie here, so please be gentle :)



    I've installed Ubuntu 18 in my laptop and I'm trying to configure hibernation. I've tried to follow these posts, but still without any results...



    I've changed my partition so that it's 11GB (I've tried to follow what was written here):



    sudo swapon --show
    NAME TYPE SIZE USED PRIO
    /swapfile file 11G 0B -2


    If I try to use the pm-hibernate, nothing happens...



    Looking at the logs, I can see these entries:



    22:00:47 wpa_supplicant: dbus: Failed to construct signal
    22:00:47 systemd: Failed to start Hibernate.
    22:00:47 kernel: PM: Cannot get swap writer
    22:00:42 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
    21:57:49 wpa_supplicant: dbus: Failed to construct signal
    21:57:49 systemd: Failed to start Hibernate.
    21:57:49 kernel: PM: Cannot get swap writer
    21:57:44 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
    21:55:44 wpa_supplicant: dbus: Failed to construct signal
    21:55:44 systemd: Failed to start Hibernate.
    21:55:44 kernel: PM: Swap header not found!
    21:55:35 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
    21:55:17 spice-vdagent: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
    21:55:16 pulseaudio: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
    21:55:10 spice-vdagent: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
    21:55:07 wpa_supplicant: dbus: Failed to construct signal
    21:55:03 kernel: [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x25 (or later)


    It's obvious there's some sort of problem when hibernation starts, but I really don't knohich the machine state is written to disk, eitw what's wrong...



    Can somebody help?



    Thanks.



    Luis










    share|improve this question
























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      Linux/Ubuntu rookie here, so please be gentle :)



      I've installed Ubuntu 18 in my laptop and I'm trying to configure hibernation. I've tried to follow these posts, but still without any results...



      I've changed my partition so that it's 11GB (I've tried to follow what was written here):



      sudo swapon --show
      NAME TYPE SIZE USED PRIO
      /swapfile file 11G 0B -2


      If I try to use the pm-hibernate, nothing happens...



      Looking at the logs, I can see these entries:



      22:00:47 wpa_supplicant: dbus: Failed to construct signal
      22:00:47 systemd: Failed to start Hibernate.
      22:00:47 kernel: PM: Cannot get swap writer
      22:00:42 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
      21:57:49 wpa_supplicant: dbus: Failed to construct signal
      21:57:49 systemd: Failed to start Hibernate.
      21:57:49 kernel: PM: Cannot get swap writer
      21:57:44 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
      21:55:44 wpa_supplicant: dbus: Failed to construct signal
      21:55:44 systemd: Failed to start Hibernate.
      21:55:44 kernel: PM: Swap header not found!
      21:55:35 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
      21:55:17 spice-vdagent: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
      21:55:16 pulseaudio: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
      21:55:10 spice-vdagent: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
      21:55:07 wpa_supplicant: dbus: Failed to construct signal
      21:55:03 kernel: [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x25 (or later)


      It's obvious there's some sort of problem when hibernation starts, but I really don't knohich the machine state is written to disk, eitw what's wrong...



      Can somebody help?



      Thanks.



      Luis










      share|improve this question













      Linux/Ubuntu rookie here, so please be gentle :)



      I've installed Ubuntu 18 in my laptop and I'm trying to configure hibernation. I've tried to follow these posts, but still without any results...



      I've changed my partition so that it's 11GB (I've tried to follow what was written here):



      sudo swapon --show
      NAME TYPE SIZE USED PRIO
      /swapfile file 11G 0B -2


      If I try to use the pm-hibernate, nothing happens...



      Looking at the logs, I can see these entries:



      22:00:47 wpa_supplicant: dbus: Failed to construct signal
      22:00:47 systemd: Failed to start Hibernate.
      22:00:47 kernel: PM: Cannot get swap writer
      22:00:42 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
      21:57:49 wpa_supplicant: dbus: Failed to construct signal
      21:57:49 systemd: Failed to start Hibernate.
      21:57:49 kernel: PM: Cannot get swap writer
      21:57:44 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
      21:55:44 wpa_supplicant: dbus: Failed to construct signal
      21:55:44 systemd: Failed to start Hibernate.
      21:55:44 kernel: PM: Swap header not found!
      21:55:35 kernel: wlp2s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-22)
      21:55:17 spice-vdagent: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
      21:55:16 pulseaudio: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
      21:55:10 spice-vdagent: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
      21:55:07 wpa_supplicant: dbus: Failed to construct signal
      21:55:03 kernel: [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x25 (or later)


      It's obvious there's some sort of problem when hibernation starts, but I really don't knohich the machine state is written to disk, eitw what's wrong...



      Can somebody help?



      Thanks.



      Luis







      18.04 hibernate






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 27 at 21:09









      Luis Abreu

      1062




      1062






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          -1
          down vote













          To my information, hibernation to a swap file does not work, and might never do.



          However, suspending to the swapfile usually works. The problem should usually just happen when you try to resume from it.



          The file system is not mounted at the point Linux tries to find the swap to resume from, and thus will fail to do so.






          share|improve this answer








          New contributor




          bluesceada is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1050258%2fhibernation-not-working-in-18-04%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            -1
            down vote













            To my information, hibernation to a swap file does not work, and might never do.



            However, suspending to the swapfile usually works. The problem should usually just happen when you try to resume from it.



            The file system is not mounted at the point Linux tries to find the swap to resume from, and thus will fail to do so.






            share|improve this answer








            New contributor




            bluesceada is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






















              up vote
              -1
              down vote













              To my information, hibernation to a swap file does not work, and might never do.



              However, suspending to the swapfile usually works. The problem should usually just happen when you try to resume from it.



              The file system is not mounted at the point Linux tries to find the swap to resume from, and thus will fail to do so.






              share|improve this answer








              New contributor




              bluesceada is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.




















                up vote
                -1
                down vote










                up vote
                -1
                down vote









                To my information, hibernation to a swap file does not work, and might never do.



                However, suspending to the swapfile usually works. The problem should usually just happen when you try to resume from it.



                The file system is not mounted at the point Linux tries to find the swap to resume from, and thus will fail to do so.






                share|improve this answer








                New contributor




                bluesceada is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                To my information, hibernation to a swap file does not work, and might never do.



                However, suspending to the swapfile usually works. The problem should usually just happen when you try to resume from it.



                The file system is not mounted at the point Linux tries to find the swap to resume from, and thus will fail to do so.







                share|improve this answer








                New contributor




                bluesceada is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                bluesceada is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered Nov 17 at 12:48









                bluesceada

                1




                1




                New contributor




                bluesceada is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                bluesceada is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                bluesceada is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1050258%2fhibernation-not-working-in-18-04%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Ellipse (mathématiques)

                    Quarter-circle Tiles

                    Mont Emei