Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: 10.4 Hibernation problem

  1. #1
    Join Date
    Jun 2007
    Location
    Colorado, USA
    Beans
    202
    Distro
    Ubuntu 10.04 Lucid Lynx

    [solved] 10.4 Hibernation problem

    Readers: Go to my last post in this thread to see how this problem was solved.

    I have been using my PanP4 for approximately 15 months. It is a daily workhorse and it has performed well after an early hardware problem taken care of quickly by Thomas Aaron and System 76.

    This machine ran Ubuntu 8.10 very well. In that version both suspend and hibernate worked reliably. I did a fresh install to Ubuntu 10.4 not too long ago. All has seemed quite satisfactory.

    My kernel is 2.6.32-23 generic

    I have:

    3 Gigabytes of RAM

    An Nvidia 9300M card with Nvidia 195.36.24 driver.

    The System 76 driver for 10.4 Lucid is loaded.

    Swap is on and it is at just less than 4 Gigabytes.

    My machine will suspend to RAM and come out reliably, though not always with full brightness. I bring this back up with Fn-F9 when it happens. In any event I come back up as I should with all applications open and wireless on and ready.

    I do not use Hibernate or “suspend to Disk” frequently. When I do it does not work.

    The machine appears to save to disk and shutdown as I would expect when hibernating.

    But it comes up to a fresh desktop. It does not restore the “saved” desktop.

    Wireless is not enabled. If I do enable wireless it will appear to make a connection to my wireless router, but neither Firefox nor Chromium will see an Internet connection.

    My solution is to reboot. If I do so a clean desktop comes up normally and wireless is fully operational.

    This may not be exclusively an Ubuntu 10.4 problem. I am also running Mepis 8.5, 32 bit.

    The desktop is KDE 4.3.4

    The kernel is 2.6.32-mepis-smp

    The Nvidia driver once again is 195.36.24.

    I have a separate swap file for Mepis. it also is just under 4 Gigabytes and it is on.

    Suspend to ram works as it does under Ubuntu. I do not experience the sporadic brightness problem.

    Suspend to disk does not work. instead Mepis simply locks the screen. If I unlock the screen I come back to my desktop but wireless is not operational. As with Ubuntu I cannot seem to turn it back on properly.

    My solution once again is to reboot into Mepis. If I do so wireless will be working. Naturally I start from a clean desktop.

    So Mepis also fails the hibernation test.

    There are several posts in the larger Ubuntu forum regarding hibernation problems with 10.4 Lucid on laptops. But my experience suggests this may not be exclusively an Ubuntu problem.

    I notice that both systems are Debian based and both use similar kernels. They also are using the same Nvidia driver. Do we have some circumstantial evidence that the problem involves some interaction between those two components?
    Last edited by bill516; August 6th, 2010 at 07:26 PM. Reason: Mark solved, direct readers to last post in series.

  2. #2
    Join Date
    Oct 2007
    Location
    Aurora, CO
    Beans
    2,564
    Distro
    Ubuntu

    Re: 10.4 Hibernation problem

    I have heard that the latest mainline kernel is better with power management on the PanP4. Goto http://kernel.ubuntu.com/~kernel-ppa...v2.6.34-lucid/ and download the latest linux-headers and linux-image packages for your architecture. That may fix your problem. Don't remove your old kernel, in case something doesn't work quite right after the download.
    Ian Santopietro - System76 Technical Support.
    Open a Support Ticket!
    Ask a Sales Question!

  3. #3
    Join Date
    Jun 2007
    Location
    Colorado, USA
    Beans
    202
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: 10.4 Hibernation problem

    Thank you! Is this what HotSHotDJ is talking about in the post below mine?

    Busy at the moment. I'll try this and report back.

  4. #4
    Join Date
    Oct 2007
    Location
    Aurora, CO
    Beans
    2,564
    Distro
    Ubuntu

    Re: 10.4 Hibernation problem

    It could be. He didn't explicitly state that it fixed hibernation, and his was on a PanP5, but the two are fairly similar, so i believe it should also work for yours. If it doesn't, simply boot back into the original kernel and remove that mainline one, and while we're back to square one, there's no harm done.
    Ian Santopietro - System76 Technical Support.
    Open a Support Ticket!
    Ask a Sales Question!

  5. #5
    Join Date
    Jun 2007
    Location
    Colorado, USA
    Beans
    202
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: 10.4 Hibernation problem

    Here's where we are this morning. I went to the site specified by isantop and downloaded:

    linux-image-2.6.34-020634-generic_2.6.34-020634-generic_amd64.deb

    and

    linux-headers-2.6.34-020634-generic_2.6.34-020634_amd64.deb

    I attempted to install linux-image and then linux-headers.

    linux-image appeared to install as it should.

    linux-headers refused to install citing an unmet dependency.

    isantop can you verify that I have the right .deb files for a 64 bit 10.4 system? If I do not what am I supposed to retrieve?

    Can you say anything about the "unmet dependency"?

    This is the first time I have attempted to fool with kernels in any way so any help appreciated!

  6. #6
    Join Date
    Oct 2007
    Location
    Aurora, CO
    Beans
    2,564
    Distro
    Ubuntu

    Re: 10.4 Hibernation problem

    No problem.

    Please move the .debs to your home folder (directly) and then open a terminal and enter:

    Code:
    sudo dpkg -i *.deb
    and post the output here. I'll look through it and find the problem.
    Ian Santopietro - System76 Technical Support.
    Open a Support Ticket!
    Ask a Sales Question!

  7. #7
    Join Date
    Jun 2007
    Location
    Colorado, USA
    Beans
    202
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: 10.4 Hibernation problem

    Thanks isantop. Here is the requested output.

    beejay@Home03:~$ sudo dpkg -i *.deb
    [sudo] password for beejay:
    Selecting previously deselected package linux-headers-2.6.34-020634-generic.
    (Reading database ... 193949 files and directories currently installed.)
    Unpacking linux-headers-2.6.34-020634-generic (from linux-headers-2.6.34-020634-generic_2.6.34-020634_amd64.deb) ...
    Preparing to replace linux-image-2.6.34-020634-generic 2.6.34-020634 (using linux-image-2.6.34-020634-generic_2.6.34-020634_amd64.deb) ...
    Done.
    Unpacking replacement linux-image-2.6.34-020634-generic ...
    Running postrm hook script /usr/sbin/update-grub.
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-2.6.34-020634-generic
    Found initrd image: /boot/initrd.img-2.6.34-020634-generic
    Found linux image: /boot/vmlinuz-2.6.32-23-generic
    Found initrd image: /boot/initrd.img-2.6.32-23-generic
    Found linux image: /boot/vmlinuz-2.6.32-22-generic
    Found initrd image: /boot/initrd.img-2.6.32-22-generic
    Found memtest86+ image: /boot/memtest86+.bin
    Found MEPIS 8.5 (upgradable from Debian lenny) (8.5) on /dev/sda8
    done
    dpkg: dependency problems prevent configuration of linux-headers-2.6.34-020634-generic:
    linux-headers-2.6.34-020634-generic depends on linux-headers-2.6.34-020634; however:
    Package linux-headers-2.6.34-020634 is not installed.
    dpkg: error processing linux-headers-2.6.34-020634-generic (--install):
    dependency problems - leaving unconfigured
    Setting up linux-image-2.6.34-020634-generic (2.6.34-020634) ...
    Running depmod.
    update-initramfs: Generating /boot/initrd.img-2.6.34-020634-generic
    Not updating initrd symbolic links since we are being updated/reinstalled
    (2.6.34-020634 was configured last, according to dpkg)
    Not updating image symbolic links since we are being updated/reinstalled
    (2.6.34-020634 was configured last, according to dpkg)
    Running postinst hook script /usr/sbin/update-grub.
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-2.6.34-020634-generic
    Found initrd image: /boot/initrd.img-2.6.34-020634-generic
    Found linux image: /boot/vmlinuz-2.6.32-23-generic
    Found initrd image: /boot/initrd.img-2.6.32-23-generic
    Found linux image: /boot/vmlinuz-2.6.32-22-generic
    Found initrd image: /boot/initrd.img-2.6.32-22-generic
    Found memtest86+ image: /boot/memtest86+.bin
    Found MEPIS 8.5 (upgradable from Debian lenny) (8.5) on /dev/sda8
    done
    Examining /etc/kernel/postinst.d.
    run-parts: executing /etc/kernel/postinst.d/dkms 2.6.34-020634-generic /boot/vmlinuz-2.6.34-020634-generic
    run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.34-020634-generic /boot/vmlinuz-2.6.34-020634-generic
    run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.34-020634-generic /boot/vmlinuz-2.6.34-020634-generic

    Errors were encountered while processing:
    linux-headers-2.6.34-020634-generic
    beejay@Home03:~$
    Afraid I cannot help much since I do not know what this is supposed to look like!

  8. #8
    Join Date
    Oct 2007
    Location
    Aurora, CO
    Beans
    2,564
    Distro
    Ubuntu

    Re: 10.4 Hibernation problem

    Oops! You'll also need this one: http://kernel.ubuntu.com/~kernel-ppa...020634_all.deb

    Now, run them again, in this order:
    Code:
    sudo dpkg -i linux-image-2.6.34-020634-generic_2.6.34-020634-generic_amd64.deb
    sudo dpkg -i linux-headers-2.6.34-020634_2.6.34-020634_all.deb
    sudo dpkg -i linux-headers-2.6.34-020634-generic_2.6.34-020634_amd64.deb
    They should now all install properly.
    Ian Santopietro - System76 Technical Support.
    Open a Support Ticket!
    Ask a Sales Question!

  9. #9
    Join Date
    Jun 2007
    Location
    Colorado, USA
    Beans
    202
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: 10.4 Hibernation problem

    Ah well. by the time you read this isantop it is probably Monday and the bad penny is back. Sorry about that.

    Here's the latest.

    We have a partial success!

    You latest instruction worked once I noticed that you had an additional "generic" inserted between "020634" and "amd64".

    sudo dpkg -i linux-image-2.6.34-020634-generic_2.6.34-020634_amd64.deb
    turns the trick on the first install. After that the next two steps work exactly as you indicated.

    At the conclusion of this process when I went back to the desktop I had notice of a "crash detection" on the right side of the upper bar. This indicated that the package "nvidia-current" "failed to install or upgrade."

    So I rebooted using the 2.6.34 kernel to see what would happen. The desktop came up as it normally does. (Yes, the splash screen is just slightly different with this kernel.) The Nvidia 195.36.24 driver seemed properly installed and working.

    I next tested Suspend, or "suspend to RAM". This worked just exactly as it should. Very good and thank you!

    Next I tested Hibernation" or "suspend to disk". No luck here. The system behaves as though it is entering hibernation properly. When I bring it back out by pressing the power key I come up to the log-in screen and then a fresh desktop. I do not get the desktop as I saved it. I also have to enable networking manually because the desktop does not come up with it operating as it normally does. Once I enable networking my wireless reconnects immediately.

    The swap is active and it would seem large enough. I have that suspicious feeling that I am being very dense about something pretty obvious. Can you tell me what it is?

  10. #10
    Join Date
    Oct 2007
    Location
    Aurora, CO
    Beans
    2,564
    Distro
    Ubuntu

    Re: 10.4 Hibernation problem

    Okay, let's check to make sure your swap really is big enough. Please open hardware monitor (System > Administration > System Monitor) and click on the resources tab. Take a screenshot of the window (Press Alt+Prt Sc).

    Post it here and I'll make sure.
    Ian Santopietro - System76 Technical Support.
    Open a Support Ticket!
    Ask a Sales Question!

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

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