Announcement

Collapse
No announcement yet.

Hibernate

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

    Hibernate

    I have tryed to hibernate Kubuntu lucid lynx but was unsuccessful, after short seekin/googlin I have found a solution:

    http://ubuntuforums.org/showthread.php?t=199952

    It seems that there is still old uncomplete fix in lucid?

    #2
    Re: Hibernate

    Originally posted by molostoff
    I have tryed to hibernate Kubuntu lucid lynx but was unsuccessful, after short seekin/googlin I have found a solution:

    http://ubuntuforums.org/showthread.php?t=199952

    It seems that there is still old uncomplete fix in lucid?
    sorry this should be posted in lucid subtree....

    Comment


      #3
      Re: Hibernate

      Hi

      Have you got a swap partition and is it at least the size of your RAM as without it you will never be able to hibernate?

      Comment


        #4
        Re: Hibernate

        Originally posted by The Liquidator
        Hi

        Have you got a swap partition and is it at least the size of your RAM as without it you will never be able to hibernate?
        No, in kubuntu default config settings it cannot hibernate, because of /sys/power/image_size, which is reporting a need to allocate an image with a size of ~500Gb, and this overlimit of my drive (160Gb only) at all.

        As expressed in a topic (included above) echo swapspaceinkbytes > /sys/power/image_size will solve this problem, and I just have used rc.local to supply echo... into this a value of proper size for hibernate image.

        I am not sure at the moment, but at least in lucid this /sys/power/image_size should be corrected to provide clean hibernate procedure. Currently it is errorneus, and looks like a mistake.

        BTW, I use linux-preempt kernel.

        update: sorry, changed to swapspaceinkbytes, my typo.

        Comment


          #5
          Re: Hibernate

          Originally posted by molostoff
          No, in kubuntu default config settings it cannot hibernate, because of /sys/power/image_size, which is reporting a need to allocate an image with a size of ~500Gb, and this overlimit of my drive (160Gb only) at all.
          Are you sure you are reading the figure correctly? In my Lucid 10.04, the size is approximately 525Mb:
          cat /sys/power/image_size
          524288000
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Re: Hibernate

            Originally posted by Snowhog
            Originally posted by molostoff
            No, in kubuntu default config settings it cannot hibernate, because of /sys/power/image_size, which is reporting a need to allocate an image with a size of ~500Gb, and this overlimit of my drive (160Gb only) at all.
            Are you sure you are reading the figure correctly? In my Lucid 10.04, the size is approximately 525Mb:
            cat /sys/power/image_size
            Yes, your supposition is definitely straight - I have 1,2Gb for swap and usually 200Mb is used on it, plus 400Mb inmemory workingset. But with the default value you have quoted my lucid does not hibernate. Not enough in dmesg output

            I have used instructions from the link I have attached in my first post, It seems that the value of 524288000 is in kb indeed. At least used by hybernate as kb, not bytes.

            Perhaps there is a mistake inside lucid config, hibernate support, or kernel itself, I dont know, but setting this to the value taken from `free` (available swap space in kb) makes hibernation work.

            So, I suppose that /sys/power/image_size is expressed in kilobytes rather than bytes. And I am not sure that I am right here.

            Comment

            Working...
            X