Jump to content

kernel 3.12-4 with Ubuntu 13.10


Richard-BKK

Recommended Posts

Installing the official released Linux 3.12-4 kernel (this is not a beta) with Ubuntu 13.10, it works great with Ubuntu Server 13.10. The benefits are mainly faster file system for EXT4 and others. Also the network traffic increases a bit...

See http://www.phoronix.com/scan.php?page=article&item=linux_312_fs&num=2

For 64-bits do

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.4-trusty/linux-headers-3.12.4-031204-generic_3.12.4-031204.201312081207_amd64.deb
 
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.4-trusty/linux-headers-3.12.4-031204_3.12.4-031204.201312081207_all.deb
 
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.4-trusty/linux-image-3.12.4-031204-generic_3.12.4-031204.201312081207_amd64.deb

For 32-bits do

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.4-trusty/linux-headers-3.12.4-031204-generic_3.12.4-031204.201312081207_i386.deb
 
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.4-trusty/linux-headers-3.12.4-031204_3.12.4-031204.201312081207_all.deb
 
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.4-trusty/linux-image-3.12.4-031204-generic_3.12.4-031204.201312081207_i386.deb

To install run

sudo dpkg -i linux-headers-3.12.4-*.deb linux-image-3.12.4-*.deb

and restart.... (sudo reboot)

If for some reason you want to remove the new 3.12 kernel you can remove it with

sudo apt-get purge linux-headers-3.12.4-* linux-image-3.12.4-*

Edited by Richard-BKK
  • Like 1
Link to comment
Share on other sites

Are you running an nVidia card on that machine? If so, how was the install? Did you build it the old fashion way where you reboot to runlevel 3 and install or use a package?

I'm sticking with below on my OpenSUSE box until I'm sure that nVidia drivers just work with 3.11 and greater.

Linux linux-q8by.site 3.10.17-1-desktop #1 SMP PREEMPT Thu Aug 29 19:20:20 UTC 2013 (8038aea) x86_64 x86_64 x86_64 GNU/Linux

As an aside, adding the below url to your repository list will get you some of the latest kernels on OpenSUSE 12.3...which is currently displaying 3.12.3-1.1.

http://download.opensuse.org/repositories/Kernel:/stable/standard/
Link to comment
Share on other sites

No, I not have a Nvidia graphics card in this computer, I actually not even have X-windows installed. The computer with kernel 3.12-4 is purely a server at home and at the moment I only ssh shell into it through terminal, and download torrents by a html/web interface. After I have downloaded the torrents it will automatically be moved to a folder which is a samba share... so I can reach it very easy from any device on our home network...

On our Fedora 19 desktop computers, which are mostly equipped with Nvidia cards, we run kernel 3.11-10 with the Nvidia 331.20-3 drivers from fusionrpm repo.

Link to comment
Share on other sites

i've been running 3.12 for a few weeks, but just the other day upgraded to 3.12.3-1 (current default kernel for arch). interestingly, i HAVE been noticing significantly faster network speeds (although that is very difficult to quantify, particularly here), in the last 2 days i have been getting between 300-500Kbps on pacman updates, compared to the usual 40-150Kbs. Seems a pretty huge increase, i'll have to look at the docs to see what they did.

Link to comment
Share on other sites

I was also impressed with the EXT4 file-system and network performance after I installed the kernel 3.12-4. I even considered upgrading the kernel on a Fedora 19 test system... but found it was not worth the time as Fedora 20 will arrive pretty soon and it's expected that the kernel 3.12 update for that release would only be a few days...

Link to comment
Share on other sites

i must admit to being a little bit confused - last night after posting i ran a semi-scientific experiment, taking a lubuntu virtual machine running 3.11.0-14 and used wget to download an ISO image from Khon Kaen University, average speed 794Kbps. I then updated the kernel to 3.12.4 using your method and ran the same download again, average speed 856Kbps. So it seemed then that there was not a noticeable difference (although local traffic could have increased significantly between the 2 downloads, that is all that I can figure)

Tonight I did some housecleaning on my arch install, particularly removing skype from the AUR and reinstalling it from the official repo (of which the closest is in Japan), and although it was only a 50mb total install, the files downloaded at an AVERAGE of 1Mbps, maximum 2.5 and minimum ~700Kbps (there were about 30 files total in the install). In the past 5 years of running arch here in BKK, I have averaged 50-100 Kbps on all pacman updates, and NEVER seen speeds exceeding 1Mbps (or even close, usually).

So, I am not sure <deleted> is going on here. I am trying to contact my friend and former TV linux poster urandom (who is the guru of all things kernel related, but has moved back to europe) to get his opinion, but have so far been unsuccessful. Has anyone looked into this any deeper to explain what is going on? I find it hard to believe that a kernel update can make so much of a difference in some cases and none in others, but I cannot ignore what I just experienced!

All in good fun,

K

Link to comment
Share on other sites

i must admit to being a little bit confused - last night after posting i ran a semi-scientific experiment, taking a lubuntu virtual machine running 3.11.0-14 and used wget to download an ISO image from Khon Kaen University, average speed 794Kbps. I then updated the kernel to 3.12.4 using your method and ran the same download again, average speed 856Kbps. So it seemed then that there was not a noticeable difference (although local traffic could have increased significantly between the 2 downloads, that is all that I can figure)

Tonight I did some housecleaning on my arch install, particularly removing skype from the AUR and reinstalling it from the official repo (of which the closest is in Japan), and although it was only a 50mb total install, the files downloaded at an AVERAGE of 1Mbps, maximum 2.5 and minimum ~700Kbps (there were about 30 files total in the install). In the past 5 years of running arch here in BKK, I have averaged 50-100 Kbps on all pacman updates, and NEVER seen speeds exceeding 1Mbps (or even close, usually).

So, I am not sure <deleted> is going on here. I am trying to contact my friend and former TV linux poster urandom (who is the guru of all things kernel related, but has moved back to europe) to get his opinion, but have so far been unsuccessful. Has anyone looked into this any deeper to explain what is going on? I find it hard to believe that a kernel update can make so much of a difference in some cases and none in others, but I cannot ignore what I just experienced!

All in good fun,

K

It does seem strange that Arch, who has an excellent community, would have such a large increase in speed like that.

You could run a diff on the two configs with the command below. It would produce a really big output, but you can scroll through and find the changes.

diff /boot/old_config /boot/new_config

Obviously using grep will let you parse only the changes in the newer file (can also be ">"...you'll know if there are no results that come back). The grep "-" (or "<") will give the old config changes.

diff /boot/old_config /boot/new_config | grep "+"

If you want to post the results for others to look at than you can pipe it into a *.txt file and attach that so it doesn't take up a lot of screenspace (I've been slapped down about that before here).

diff /usr/src/your_old_kernel/.config /usr/src/your_new_kernel/.config > ~/Desktop/config_difference.txt

Or (don't forget that it can also be ">"):

diff /usr/src/your_old_kernel/.config /usr/src/your_new_kernel/.config | grep "+" > ~/Desktop/config_difference.txt

Also in the scripts folder in your kernel source there's a script that will even show you a much reduced output. Haven't really figured out what's different from piping it through grep though....

./diffconfig /boot/old_config /boot/new_config
Link to comment
Share on other sites

As maybe some people have seen, the Linux kernel 3.12-5 was official released, and is therefore also available for Ubuntu.

You can download the ubuntu deb files here http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.5-trusty/

The install procedure is identical to my first post with the exception of changing the 4 into a 5...

Link to comment
Share on other sites

  • 4 weeks later...

You can easily install the latest 3.12.7 kernel following this 3-step guide:

http://www.liberiangeek.net/2014/01/daily-ubuntu-tips-linux-kernel-3-12-7-released-heres-how-to-upgrade-in-ubuntu/

Then reboot: ($ sudo reboot) to check all is well.

Then purge older kernels:

($ sudo apt-get remove --purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d'))

Cheers, AA

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.




×
×
  • Create New...