Announcement

Collapse
No announcement yet.

Resume from Hibernate - odd problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Resume from Hibernate - odd problem

    Hi

    My dell inspiron 630m (2006 vintage) has never been able to wake from sleep, but it never had a problem hibernating and resuming - until 12.04.

    The situation now is that it hibernates okay. On resume, I see the plymouth screen and the message that it is resuming. After maybe 15 seconds the blue/white dots process stops and it appears that everything is halted.

    Thinking it had failed to resume, I started to type reisub. After the "e" The screen flickers and then the desktop appears! A few seconds later, the network is up and everything is working again. Unfortunately commencing the reisub routine now appears mandatory if I elect to hibernate the machine.

    Does anyone have any idea what may be causing this (the graphics seem a reasonable suspect) and suggest a fix?

    many thanks.

    #2
    being that "e" is the kill-15 key it would seem as though something is getting stuck and the "e" is killing it and allowing the system to finish coming back.

    can you get to a TTY when this happens and do the "reisub" or "re" from their and maybe get some visual feedback?

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Here's another "resume from hibernate" issue -- there must be something amiss in the default configuration for resume from hibernate.

      Comment


        #4
        Thanks both for your responses.

        Would the system maintain a log somewhere of what is going on at the boot stage which might help me diagnose this?

        PS - In my first post I have updated the intel graphics drivers (from the Ubuntu Xorg team not the crack pushers!) and that hasn't done anything.

        Comment


          #5
          Possibly /var/log/messages?

          Comment


            #6
            Okay, thanks.

            There is a file var/log/pm-suspend.log which contains the info. I did another hibernate and start and got the same result.

            The attached file is the data relating to that attempt. The only thing that leaps out to me is the errors relating to the network manager.

            Any thoughts please?
            Attached Files

            Comment


              #7
              It could be a networking issue. Network adapters (including bluetooth and, most of all, wifi) seem to be related to a lot of power management issues. One thing I've found useful (though tedious, a workaround only) in some versions of *buntu is to manually stop networking from the network manager icon, then hibernate, and manually re-enable it after resume.
              I'd rather be locked out than locked in.

              Comment


                #8
                Right -- the relevant message appears to be this:

                /usr/lib/pm-utils/sleep.d/60_wpa_supplicant thaw hibernate: success.
                Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager thaw hibernate:
                Having NetworkManager wake interfaces back up...Failed.
                When a computer (laptop or netbook) is put to sleep or hibernated, no one know where that computer will be when it is awakened or resumed. Therefore, it's not safe to assume the same ethernet or wifi connection will be available upon resume. It's a problem .... what is the network manager supposed to do?

                Comment


                  #9
                  Have you taken the steps to enable hibernation, as it has been disabled in Ubuntu for 12.04?
                  There are steps to test things when enabling it:

                  https://help.ubuntu.com/12.04/ubuntu...hibernate.html
                  http://askubuntu.com/questions/94754...ation-in-12-04

                  Comment


                    #10
                    Originally posted by dibl View Post
                    It's a problem .... what is the network manager supposed to do?
                    Windows handles this by completely destroying the networking context during suspend/hibernate. All TCP connections get an RST or a FIN, DHCP is released, DNS cache is purged, ARP is flushed, wi-fi dissociates. Essentially, all network-related processes view suspend/hibernate to be equivalent to a reboot.

                    That's probably the correct model for any operating system. Sounds like the scripts for power management still haven't got all right hooks yet.

                    Comment


                      #11
                      Originally posted by SteveRiley View Post
                      Windows handles this by completely destroying the networking context during suspend/hibernate. All TCP connections get an RST or a FIN, DHCP is released, DNS cache is purged, ARP is flushed, wi-fi dissociates. Essentially, all network-related processes view suspend/hibernate to be equivalent to a reboot.

                      That's probably the correct model for any operating system.
                      I agree.

                      Personally, the SSD in my netbook is so fast that booting it is only a few seconds slower than resuming from hibernation or sleep, so I rarely do those any more.

                      Comment


                        #12
                        Originally posted by claydoh View Post
                        Have you taken the steps to enable hibernation, as it has been disabled in Ubuntu for 12.04?
                        There are steps to test things when enabling it:

                        https://help.ubuntu.com/12.04/ubuntu...hibernate.html
                        http://askubuntu.com/questions/94754...ation-in-12-04
                        Yes, I did follow the steps outlined there - until I did selecting hibernate did absolutely nothing at all. What a strange decision to disable it completely by default - how many newcomers with Laptops have been put off by this, I wonder?

                        At least now it resumes perfectly, so long as I do the RE part of Reisub. However, with 11.10 and prior versions it worked perfectly so for me 12.04 is a regression in that respect. Maybe it's telling me it's time to get a new one

                        Comment


                          #13
                          I have never had hibernation work for me reliably, but that is just anecdotal. I have seldom used it anyway. Suspend has worked very well for me the past few years with the same hardware.

                          My take on disabling suspend-to-disk was that it has the potential for data loss if it doesn't work, a much scarier scenario for new laptop users. I am betting that simply disabling it was an LTS related thing. Perhaps if and when it is fixed, it can be re enabled in future versions. Another feeling I get is that the newer hardware that is a major problem area for this.

                          Comment

                          Working...
                          X