Ubuntu 11.04 Upgrade Linux Kernel to 2.6.39.0
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:
- How to Install Linux Kernel 3.0 rc2 in Ubuntu 11.04 Natty Narwhal
- How to Install Linux kernel 2.6.39 rc4 in Ubuntu 11.04 Natty
- Install latest kernel 2.6.37 & 2.6.38 in Ubuntu 10.04 from PPA
- PPA of linux-backport-natty 2.6.38-10.46 for Ubuntu 10.04 Lucid
- 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]
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:
May 15th, 2011 at 9:13 pm
After properly added the ppa and updated system, there it was. check if there’s connected problem in the commands outputs.
[Reply]
can we follow this procedure to install 2.6.39 on Ubuntu 10.04 lts?
[Reply]
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]
Actually it was because the database was not updated. I only switched to linux 5 weeks ago
[Reply]
skipi-gz Reply:
September 12th, 2011 at 5:17 am
wait wait wait. im getting the same problem that you had, what exactly did you do? thanks
[Reply]
Hi,
At last!!
big thanks to you, it solved my problems with Natty
Regards,
Tomek
[Reply]
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]
Jonathan Reply:
June 10th, 2011 at 7:44 pm
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/776895
[Reply]
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]
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:
June 29th, 2011 at 2:49 pm
add “irqpoll” at end of kernel line in grub file, and cursor move ok
[Reply]
nice… upgraded !!!
[Reply]
great! it works… eventually
thx!
[Reply]
TQ, i have been waiting for this update..
[Reply]
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:
June 10th, 2011 at 8:07 pm
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]