Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: Maverick fails to suspend to ram

  1. #21
    MountainX's Avatar
    MountainX is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jan 2008
    Location
    A place with no mountains
    Beans
    1,610
    Distro
    Kubuntu

    Re: Maverick fails to suspend to ram

    It looks like I lucked into a solution finally after five months! All it took was a new release of Ubuntu! (And a suggestion from a Canonical support engineer.)

    I installed the Natty kernel (2.6.38-4) and the Natty linux-firmware package on my existing Maverick installation and now my computer suspends and resumes perfectly, even with NFS shares open. I'm going to stick with this solution. I don't plan to upgrade to Natty (seems too buggy), but I will use the Natty kernel backports when they are available.

    Here are my exact steps:

    Code:
    uname -a
    Linux desktop 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 GNU/Linux
    
    Browse this website http://kernel.ubuntu.com/ 
    I want v2.6.38.4-natty (there are some for 2.6.39 too)
    
    wget  http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.38.4-natty/linux-headers-2.6.38-02063804_2.6.38-02063804.201104221009_all.deb
    
    wget  http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.38.4-natty/linux-headers-2.6.38-02063804-generic_2.6.38-02063804.201104221009_amd64.deb
    
    wget  http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.38.4-natty/linux-image-2.6.38-02063804-generic_2.6.38-02063804.201104221009_amd64.deb
    
    Make absolutely sure that you install them in this order : 
    
    sudo dpkg -i linux-headers-2.6.38-02063804_2.6.38-02063804.201104221009_all.deb
    
    sudo dpkg -i linux-headers-2.6.38-02063804-generic_2.6.38-02063804.201104221009_amd64.deb
    
    sudo dpkg -i linux-image-2.6.38-02063804-generic_2.6.38-02063804.201104221009_amd64.deb
    OOOPS - errors!!!
    Actually, they are warnings, but they are imporant and I needed to fix them:
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169

    Here's how to fix firmware for 8169 using linux-firmware package from natty:
    Code:
    wget https://launchpad.net/ubuntu/+archive/primary/+files/linux-firmware_1.49_all.deb
    sudo dpkg -i linux-firmware_1.49_all.deb 
    sudo update-initramfs -u
    
    sudo update-grub
    
    reboot
    
    uname -a
    Linux desktop 2.6.38-02063804-generic #201104221009 SMP Fri Apr 22 10:11:24 UTC 2011 x86_64 GNU/Linux
    Seems to have fixed many of my problems! So far this is a huge improvement :grin:
    (I'll do more testing over the next few days...)
    Desktop: KX Studio (Kubuntu 12.04)
    Laptop & Netbook: Kubuntu 12.04
    Tablet: Samsung Galaxy Tab 10.1
    Phone: Nexus 4 Cyanogenmod

  2. #22
    Join Date
    Oct 2005
    Location
    Adelaide, South Australia
    Beans
    746
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Maverick fails to suspend to ram

    I actually resorted to this dbus method instead :

    Code:
    #!/bin/bash
    #Suspend
    
    dbus-send --session --dest=org.gnome.ScreenSaver --type=method_call --print-reply /ScreenSaver org.gnome.ScreenSaver.Lock
    dbus-send --system --print-reply --dest="org.freedesktop.Hal" /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
    Locks the screen and suspends.
    Fear is the mindkiller....
    The little death that obliterates...

  3. #23
    MountainX's Avatar
    MountainX is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jan 2008
    Location
    A place with no mountains
    Beans
    1,610
    Distro
    Kubuntu

    Re: Maverick fails to suspend to ram

    UPDATE: For anyone reading my solution (2 posts above) and on a laptop, be aware of this:
    http://www.phoronix.com/scan.php?pag...item&px=OTM3NQ
    Linux kernel power bug in 2.6-38 (Natty kernel)

    I'm on a desktop so I don't care too much about 10 or 15% greater power consumption for a few weeks or however long it is until the bug is resolved. But laptop/notebook users will certainly care. It kinda sucks that the new kernel fixes this suspend/resume bug but adds a significant new bug.

    EDIT: hmmm, there is a comment that says, "fix released"... wonder if this is really fixed so quickly!?
    https://bugs.launchpad.net/ubuntu/+s...ux/+bug/760131
    Last edited by MountainX; April 27th, 2011 at 04:58 AM.
    Desktop: KX Studio (Kubuntu 12.04)
    Laptop & Netbook: Kubuntu 12.04
    Tablet: Samsung Galaxy Tab 10.1
    Phone: Nexus 4 Cyanogenmod

  4. #24
    Join Date
    Jan 2010
    Beans
    8

    Re: Maverick fails to suspend to ram

    @MountainX, thank you for the solution linux-firmware package from natty.
    I already install latest Kernel backport natty in my Lucid.

    With this command in terminal:
    Code:
    sudo add-apt-repository ppa:kernel-ppa/ppa
    sudo apt-get update
    sudo apt-get install linux-image-generic-lts-backport-natty linux-headers-generic-lts-backport-natty
    And after getting warning firmware, I continue with your command in terminal:
    Code:
    wget https://launchpad.net/ubuntu/+archive/primary/+files/linux-firmware_1.49_all.deb
    sudo dpkg -i linux-firmware_1.49_all.deb 
    sudo update-initramfs -u
    
    sudo update-grub
    And viola, all done, my Lucid (10.04) is now Kernel 2.6.38-12.
    This fixed my error msg during boot:
    Code:
    softreset failed device not ready
    Thank You!

Page 3 of 3 FirstFirst 123

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
  •