Ubuntu 11.04 Upgrade Linux Kernel to 2.6.39.0

This post was written by admin on May 6, 2011
Posted Under: General

Ubuntu 11.04 has many known issues posted on its release notes, one line said:

On certain systems, a bad interaction between Unity, the GL driver and the kernel may cause the system to hang. (740126)

This is a frequent screen frozen issue, and it’s said has something to do with the kernel. Default kernel come with Ubuntu 11.04 is 2.6.38-8, and here’s how to upgrade to Linux kernel 2.6.39-0.

Update: Kernel-ppa currently is down, there’s no kernel packages. Before adding the ppa check ppa:kernel-ppa/ppa. As an alternative, you can download latest kernel packages from http://kernel.ubuntu.com/~kernel-ppa/mainline/

Press Ctrl+Alt+T to start a terminal window, and do following steps:

1.) Add the kernel ppa and update your system:

sudo add-apt-repository ppa:kernel-ppa/ppa

sudo apt-get update

2.) Check available kernels with the command:

apt-cache showpkg linux-headers

kernel 2.6.39.0 should be in list.

3.) Run the command to install kernel 2.6.39.0:

sudo apt-get install linux-headers-2.6.39-0 linux-headers-2.6.39-0-generic linux-image-2.6.39-0-generic --fix-missing

Finally, reboot and check kernel version under System Monitor -> System tab.

Related posts:

  1. How to Install Linux Kernel 3.0 rc2 in Ubuntu 11.04 Natty Narwhal
  2. How to Install Linux kernel 2.6.39 rc4 in Ubuntu 11.04 Natty
  3. Install latest kernel 2.6.37 & 2.6.38 in Ubuntu 10.04 from PPA
  4. PPA of linux-backport-natty 2.6.38-10.46 for Ubuntu 10.04 Lucid
  5. Clean up cache,useless file/kernel to free disk space by Ubuntu-Tweak

    Reader Comments

    Thank you, Thank you, Thank you, I was experiencing this problem 2 to 4 times a day and was patiently waiting on update that would fix it. This seems to have done the trick, can’t thank you enough. Sony Vaio, Intel inside.

    [Reply]

    #1 
    Written By Hadren on May 7th, 2011 @ 7:16 pm

    What do you do if there is no kernel 2.6.39.0

    linux-headers-2.6.35-22 2.6.35-22.35
    linux-headers-2.6.35-22-generic 2.6.35-22.35
    linux-headers-2.6.38-9-virtual 2.6.38-9.43
    linux-headers-2.6.38-9-server 2.6.38-9.43
    linux-headers-2.6.38-9-generic 2.6.38-9.43
    linux-headers-2.6.38-9 2.6.38-9.43
    linux-headers-2.6.38-8-virtual 2.6.38-8.42
    linux-headers-2.6.38-8-server 2.6.38-8.42
    linux-headers-2.6.38-8-generic 2.6.38-8.42
    linux-headers-2.6.38-8 2.6.38-8.42

    [Reply]

    admin Reply:

    After properly added the ppa and updated system, there it was. check if there’s connected problem in the commands outputs.

    [Reply]

    #2 
    Written By Peter on May 14th, 2011 @ 3:22 pm

    can we follow this procedure to install 2.6.39 on Ubuntu 10.04 lts?

    [Reply]

    #3 
    Written By obaino on May 19th, 2011 @ 5:08 am

    Just followed your tutorial, it works. What should we do with the Update Manager, as it now proposes an update of kernel?

    first update in the list is called Complete Generic Linux Kernel. Clicking it says:
    Changes for the versions:
    2.6.38.9.23
    2.6.39.0.1~20110419

    How should I read this? It wants to install the 2.6.38.9.23 or is it a newer version, the 2.6.39.0.1~20110419?

    uname -r
    2.6.39-0-generic

    [Reply]

    #4 
    Written By Florin on May 19th, 2011 @ 11:33 am

    Actually it was because the database was not updated. I only switched to linux 5 weeks ago :D

    [Reply]

    skipi-gz Reply:

    wait wait wait. im getting the same problem that you had, what exactly did you do? thanks :)

    [Reply]

    #5 
    Written By Florin on May 19th, 2011 @ 5:15 pm

    Hi,
    big thanks to you, it solved my problems with Natty :D At last!!

    Regards,
    Tomek

    [Reply]

    #6 
    Written By Tomek on May 21st, 2011 @ 6:47 am

    hi….
    i have upgraded my kernel with update manager and then success,but when installed kernel,my kernel have a problem cause fglrx failed to install,but in grub menu linux 2.6.39 is exist…and then i choose linux 2.6.39-generic mode,but its give me a blank screen after boot ubuntu…so i return to linux 2.6.38…can you fix fglrx?
    help me please…..thanks

    [Reply]

    #7 
    Written By ade on May 24th, 2011 @ 3:03 am

    The upgrade of the kernel is even easier if you run following commands in the shell instead of the command under 3.):

    sudo apt-get install linux-image
    sudo apt-get install linux-headers

    [Reply]

    #8 
    Written By Emanuel on May 25th, 2011 @ 7:15 am

    This worked!

    Not only did it solve the freeze and crash problem, but it solved an extreme typing latency in Unity. Before, with 2.6.38, typing was extraordinarily slow, with long latencies. But no difficulties at all now.

    Thanks!

    [Reply]

    bossman Reply:

    add “irqpoll” at end of kernel line in grub file, and cursor move ok

    [Reply]

    #9 
    Written By William Briggs on June 1st, 2011 @ 2:44 pm

    nice… upgraded !!!

    [Reply]

    #10 
    Written By irmanf on June 6th, 2011 @ 7:54 am

    great! it works… eventually
    thx!

    [Reply]

    #11 
    Written By bruno on June 8th, 2011 @ 5:54 am

    TQ, i have been waiting for this update..

    [Reply]

    #12 
    Written By sufian on June 8th, 2011 @ 11:38 pm

    Users with ATI graphic cards who want to update to linux kernel to 2.6.39 should make note of this bug report: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/776895

    [Reply]

    Jonathan Almeida Reply:

    I just updated to 2.6.39 successfully!

    I have an ATI graphics card (Mobility 5470). First I followed the instructions as above, but during installation I got an error report and after submitting it, it redirected me to the bug which you get by using a fglrx driver. Then I added the ppa in the bug report made by Robert Hooker (ppa:ubuntu-x-swat/x-updates), installed the updated fglrx driver and then restarted.

    The first restart seemed a bit laggy but after that everything was fine! =D

    [Reply]

    #13 
    Written By Jonathan on June 10th, 2011 @ 7:43 pm

    Thats work, ty very mucho for fix. I use Edubuntu Natty, i recomend to people change kernel in a new install of Natty. The perfomance is better after kernek change, i dont find any bug after it, so if safe.

    [Reply]

    #14 
    Written By caucel on June 10th, 2011 @ 9:35 pm

    I’ve upgraded my ubuntu 10.04 LTS kernel to 2.6.38 and want to upgrade it to 2.6.39 ’cause 2.6.38 freezes sometimes when I try to log on, restart and/or shutdown, so I believe 2.6.39 might have fixed this problem. Anyone with suggestion on how to go about upgrading 10.04 LTS to 3.6.39?

    [Reply]

    #15 
    Written By Diamond on June 22nd, 2011 @ 7:18 am

    2.6.39 not in the list, apt-cache showpkg linux-headers give this result:

    “Package: linux-headers
    Versions:

    Reverse Depends:
    oss4-dkms,linux-headers
    lirc-modules-source,linux-headers
    sl-modem-source,linux-headers
    xtables-addons-dkms,linux-headers
    oss4-dkms,linux-headers
    openswan-modules-source,linux-headers
    lirc-modules-source,linux-headers
    blcr-dkms,linux-headers
    alsa-source,linux-headers
    nvidia-current,linux-headers
    nvidia-96,linux-headers
    nvidia-173,linux-headers
    fglrx,linux-headers
    bcmwl-kernel-source,linux-headers
    dkms,linux-headers
    virtualbox-4.0,linux-headers
    Dependencies:
    Provides:
    Reverse Provides:
    linux-headers-2.6.38-8-virtual 2.6.38-8.42
    linux-headers-2.6.38-8-generic-pae 2.6.38-8.42
    linux-headers-2.6.38-8-generic 2.6.38-8.42
    linux-headers-2.6.38-8 2.6.38-8.42″

    [Reply]

    #16 
    Written By Lasse on June 30th, 2011 @ 1:30 am

    package 2.6.39-0 is not included in list. I am aware of update info, but don’t understand what exactly I have to do. What commands should be executed?

    [Reply]

    #17 
    Written By walter on July 3rd, 2011 @ 12:50 am

    I have a same problem just like a
    “#17 Written By walter on July 3rd, 2011 @ 12:50 am”
    so I try to install 2.6.39. rc4 and 2.6.39 rc1 and both doesn’t help…Wifi freze my systen until I shutdown.
    may be usefull try to install elder version which works

    [Reply]

    #18 
    Written By bird82 on July 6th, 2011 @ 8:05 am

    I’m trying to upgrade to 2.6.39 on Ubuntu Server 11.04 (fresh install, 2.6.38-8). Is 2.6.39 still in the repositories? After following the steps (added repository and apt-get update) I still cannot see the new kernel after apt-cache. Any ideas? I’m hoping this will fix an annoying bug with ALC892 HD Audio. Thanks!

    [Reply]

    #19 
    Written By Kevin on July 11th, 2011 @ 11:03 am

    There still is NO “2.6.39″ in the list:
    (please fix or get rid of your misleading instructions)
    thx.
    ———————

    $ apt-cache showpkg linux-headers
    Package: linux-headers
    Versions:

    Reverse Depends:
    desktopvideo,linux-headers
    fglrx,linux-headers
    nvidia-current,linux-headers
    oss4-dkms,linux-headers
    lirc-modules-source,linux-headers
    xtables-addons-dkms,linux-headers
    oss4-dkms,linux-headers
    openswan-modules-source,linux-headers
    lirc-modules-source,linux-headers
    blcr-dkms,linux-headers
    alsa-source,linux-headers
    nvidia-current,linux-headers
    nvidia-96,linux-headers
    nvidia-173,linux-headers
    fglrx,linux-headers
    bcmwl-kernel-source,linux-headers
    dkms,linux-headers
    Dependencies:
    Provides:
    Reverse Provides:
    linux-headers-2.6.38-10-virtual 2.6.38-10.46
    linux-headers-2.6.38-10-server 2.6.38-10.46
    linux-headers-2.6.38-10-generic 2.6.38-10.46
    linux-headers-2.6.38-10 2.6.38-10.46
    linux-headers-2.6.38-8-virtual 2.6.38-8.42
    linux-headers-2.6.38-8-server 2.6.38-8.42
    linux-headers-2.6.38-8-generic 2.6.38-8.42
    linux-headers-2.6.38-8 2.6.38-8.42
    —————————————-

    [Reply]

    #20 
    Written By OutToLunch on July 16th, 2011 @ 5:50 am

    I run 11.04 with 2.6.38-10 on an AMD-based ‘Lenovo Edge 11′ with some issues. … added the ppa.

    However, indeed no 2.6.39 in my list.
    Please deliver.

    —————-
    P.S.: There is also something wrong in the window-decorators, as they are not updated.

    P.S.II: I am writing this from another machine under 10.04 LTS, no issues there whatsoever ;-)

    thx

    [Reply]

    #21 
    Written By Pit on July 17th, 2011 @ 3:00 pm

    I cannot see the 2.6.39 kernel in the list.

    Can anybody help ?

    Thank you and kind regards

    $ apt-cache showpkg linux-headers
    Package: linux-headers
    Versions:

    Reverse Depends:
    virtualbox-4.1,linux-headers
    oss4-dkms,linux-headers
    lirc-modules-source,linux-headers
    sl-modem-source,linux-headers
    xtables-addons-dkms,linux-headers
    oss4-dkms,linux-headers
    openswan-modules-source,linux-headers
    lirc-modules-source,linux-headers
    blcr-dkms,linux-headers
    alsa-source,linux-headers
    nvidia-current,linux-headers
    nvidia-96,linux-headers
    nvidia-173,linux-headers
    fglrx,linux-headers
    bcmwl-kernel-source,linux-headers
    dkms,linux-headers
    Dependencies:
    Provides:
    Reverse Provides:
    linux-headers-2.6.38-11-virtual 2.6.38-11.48
    linux-headers-2.6.38-11-generic-pae 2.6.38-11.48
    linux-headers-2.6.38-11-generic 2.6.38-11.48
    linux-headers-2.6.38-11 2.6.38-11.48
    linux-headers-2.6.38-10-virtual 2.6.38-10.46
    linux-headers-2.6.38-10-generic-pae 2.6.38-10.46
    linux-headers-2.6.38-10-generic 2.6.38-10.46
    linux-headers-2.6.38-10 2.6.38-10.46
    linux-headers-2.6.38-8-virtual 2.6.38-8.42
    linux-headers-2.6.38-8-generic-pae 2.6.38-8.42
    linux-headers-2.6.38-8-generic 2.6.38-8.42
    linux-headers-2.6.38-8 2.6.38-8.42

    [Reply]

    #22 
    Written By george on September 9th, 2011 @ 12:22 am

    Hi had this same issue with Ubuntu 11.04 on my HP Mini 2133. While I was running apt-cache showpkg linux-headers I couldn’t find *2.6.39-0-generic listed. This was because I had disabled my Wi-Fi adapter in the BIOS earlier. So a good thing to check is that the adapter is enabled in Bios aswell… :) Lesson leared.

    [Reply]

    #23 
    Written By Johan on September 9th, 2011 @ 4:45 am

    sudo add-apt-repository ppa:kernel-ppa/ppa
    sudo apt-get update
    apt-cache showpkg linux-headers

    Provides:
    Reverse Provides:
    linux-headers-2.6.39-020639rc4 2.6.39-020639rc4.201104191410
    linux-headers-2.6.38-12-generic 2.6.38-12.51
    linux-headers-2.6.38-12-server 2.6.38-12.51
    linux-headers-2.6.38-12-virtual 2.6.38-12.51
    linux-headers-2.6.38-12 2.6.38-12.51
    linux-headers-2.6.38-11-virtual 2.6.38-11.50
    linux-headers-2.6.38-11-server 2.6.38-11.50
    linux-headers-2.6.38-11-generic 2.6.38-11.50
    linux-headers-2.6.38-11 2.6.38-11.50
    linux-headers-2.6.38-10-virtual 2.6.38-10.46
    linux-headers-2.6.38-10-server 2.6.38-10.46
    linux-headers-2.6.38-10-generic 2.6.38-10.46
    linux-headers-2.6.38-10 2.6.38-10.46
    linux-headers-2.6.38-8-virtual 2.6.38-8.42
    linux-headers-2.6.38-8-server 2.6.38-8.42
    linux-headers-2.6.38-8-generic 2.6.38-8.42
    linux-headers-2.6.38-8 2.6.38-8.42

    having the same problem. The kernel is NOT in the ppa for some unknown reason. Got it from:
    http://ubuntuguide.net/how-to-install-linux-kernel-2-6-39-rc4-in-ubuntu-11-04-natty

    dpkg -i .deb worked flawless. Rebooting also. I also installed the header, but my nvidia driver says that the kernel source is missing. COULD SOMEONE PLEASE FIX THE REPOSETORY TO INCLUDE 2.6.39 !?!?

    [Reply]

    #24 
    Written By cguru on October 17th, 2011 @ 11:22 am

    Hi,
    thanks for this information. I already upgraded two PCs from 11.04-32 bits to 11.10, with a screen resolution problem on the second one.
    I am now upgrading 11.04-64 bits to 11.10-64 bits on the same second PC and I get a lot of problems.
    Ubuntu 11.10-64 bits has been upgraded with kernel 2.6.38-11 and, after the commands you indicated, it remains with this old kernel.

    [Reply]

    #25 
    Written By jam on October 27th, 2011 @ 2:39 am

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address