Archives For kernel

Linux Kernel

The 4.12 Linux Kernel was finally released earlier today. Linus Torvalds announced in

Things were quite calm this week, so I really didn’t have any real reason to delay the 4.12 release.

As mentioned over the various rc announcements, 4.12 is one of the bigger releases historically, and I think only 4.9 ends up having had more commits. And 4.9 was big at least partly because Greg announced it was an LTS kernel. But 4.12 is just plain big.

There’s also nothing particularly odd going on in the tree – it’s all just normal development, just more of it that usual. The shortlog below is obviously just the minor changes since rc7 – the whole 4.12 shortlog is much too large to post.

In the diff department, 4.12 is also very big, although the reason there isn’t just that there’s a lot of development, we have the added bulk of a lot of new header files for the AMD Vega support. That’s almost exactly half the bulk of the patch, in fact, and partly as a result of that the driver side dominates everything else at 85+% of the release patch (it’s not all the AMD Vega headers – the Intel IPU driver in staging is big too, for example).

But aside from just being large, and a blip in size around rc5, the rc’s stabilized pretty nicely, so I think we’re all good to go.

Go out and use it.

Kernel 4.12 top features:

  • initial GeForce GTX 1000 series 3D accelerated support on Nouveau driver stack
  • Intel’s DRM driver has turned on atomic mode-setting by default
  • Initial Radeon RX Vega support on AMDGPU DRM driver
  • A USB Type-C port manager
  • KASLR enabled by default for x86 systems.
  • BFQ and Kyber now mainline as two new I/O schedulers.
  • Continued power management tuning.

How to Install Kernel 4.12 in Ubuntu / Linux Mint:

The mainline kernels do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use.

The mainline kernel PPA has made the binaries for the new kernel release, available for download at the link below:

Download Kernel 4.12 (.deb)

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-4.12.0-xxxxxx_all.deb
  2. linux-headers-4.12.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-image-4.12.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

To get the Kernel 4.12 from the command console, run the commands below one by one:

For 64-bit OS:

cd /tmp/




sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/




sudo dpkg -i *.deb

After installed these .debs, restart and enjoy!

Uninstall Linux Kernel 4.12:

Start/restart your machine and select boot with the previous kernel in Grub2 -> Advanced menu. Then use Ubuntu Tweak, or other system tool to remove the Kernel 4.12, or you may see this how to remove old kernels tutorial.

Linux Kernel

Linux 4.11 Kernel was officially released on April 30th. Linus Torvalds announced in

So after that extra week with an rc8, things were pretty calm, and I’m much happier releasing a final 4.11 now.

We still had various smaller fixes the last week, but nothing that made me go “hmm..”. Shortlog appended for people who want to peruse the details, but it’s a mix all over, with about half being drivers (networking dominates, but some sound fixlets too), with the rest being soem arch updates, generic networking, and filesystem (nfs[d]) fixes. But it’s all really small, which is what I like to see the last week of the release cycle.

Linux 4.11 Kernel release highlights:

  • Enable frame-buffer compression by default for Skylake device and newer.
  • Adds DP MST audio support in Intel’s DRM driver.
  • Initial Geminilake graphics support.
  • ASPEED AST2500 display support.
  • Better Turbo Boost Max 3.0 support.
  • New ARM SoCs and boards support.
  • Realtek ALC1220 is now supported
  • Radeon/AMDGPU and various other DRM driver updates.
  • Improvements and updates to KVM, Xen, TurboStat, Raspberry Pi, TPM2, and more.

How to Install Kernel 4.11 in Ubuntu:

The mainline kernel PPA built the Linux 4.11 build .deb packages a few days later, available for download at the link below:

The mainline kernels do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use.

Download Linux 4.11 Kernel (.deb)

You can also use UKUU, a simple graphical tool to install latest Linux Kernels in Ubuntu.

To get Linux 4.11 Kernel from command console, run following commands one by one:

for 64-bit system:

cd /tmp/




sudo dpkg -i *.deb

for 32-bit system:

cd /tmp/




sudo dpkg -i *.deb

After installed these debs, restart and enjoy!


To remove Linux Kernel 4.11, first restart and select boot with previous kernel (from Grub boot-loader -> Advanced Options) and then run command:

sudo apt-get remove linux-headers-4.11* linux-image-4.11*

Linux Kernel 3.11.7

Linux Kernel 3.11 series has reached v3.11.7. It’s recommended to upgrade as soon as possible if you’re on Kernel 3.11.

Linux Kernel 3.11.7 has lots of updates and bugfixes for USB, wireless drivers, ARM and ext3/4. See the changelog.

This tutorial shows you how to install / upgrade this Kernel in Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, Ubuntu 12.04 Precise, Ubuntu 12.10 Quantal, Linux Mint and Elementary OS.

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens:

1. Run commands below one by one to download DEBs for Kernel 3.11.7:

For 32 bit system:




For 64 bit system:




2. Both 32 bit & 64 bit install them via:

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

Once done, restart your computer.

If for some reason it does not work properly for you, remove Linux Kernel 3.11.7 via:

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

Linux Kernel 3.12

Linus Torvalds finally announced Linux Kernel 3.12. Here’re the new features and how to install / upgrade to Kernel 3.12 in Ubuntu 13.10, Ubuntu 12.04, Ubuntu 12.10 and Linux Mint.

Linus Torvalds wrote on the mailing list (read the announcement):

I was vacillating whether to do an rc8 or just cut the final 3.12, but
since the biggest reason to *not* do a final release was not so much
the state of the code, as simply the fact that I’ll be traveling with
very bad internet connection next week, I didn’t really want to delay
the release. Sure, we had a number of driver reverts, and there was an
annoying auto-NUMA memory corruption fix series, but none of it was
really worth delaying 3.12 for.

But the fact that I’m going to be (effectively) off-line next week
means that I’m *not* opening the merge window for 3.13 yet …

What’s New in Linux Kernel 3.12:

  • The Radeon open-source kernel graphics driver has improved Dynamic Power Management, but it won’t be until Linux 3.13 where Radeon DPM is enabled by default along with HDMI audio.
  • A brand new DRM/KMS driver in the form of the Snapdragon MSM driver written by Rob Clark to go along with his reverse-engineered Freedreno driver for Qualcomm Snapdragon/Adreno graphics.
  • Run-time GPU power management so NVIDIA Optimus systems can dynamically power on/off the secondary GPU.
  • Experimental DRM render nodes support done by David Herrmann over the summer.
  • AMD Berlin APU support as the first APU built upon AMD’s Heterogeneous System Architecture (HSA).
  • The EXT4 file-system now supports aggressive extent caching and better recovery capabilities.
  • Random F2FS, XFS, and Btrfs file-system improvements. This kernel does deliver on disk improvements.
  • zRAM has been promoted out of the staging area of the kernel. ZRAM supports a compressed block device in RAM to avoid paging to disk and is mostly of benefit for systems with limited amounts of system memory.
  • Various staging driver updates and sound driver work and other glorious work.
  • Install / Upgrade Linux Kernel 3.12

    The DEBs for Linux Kernel 3.12 has been made into kernel-ppa. Press Ctrl+Alt+T on keyboard to open terminal and follow the steps below to download and install them.

    1. Download DEBs for this kernel:

    For 32-bit Ubuntu, Linux Mint and alternatives run commands below one by one:


    For 64-bit Ubuntu, Linux Mint and alternatives run commands below one by one:


    2. For both 32-bit & 64-bit install the Kernel via:

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

    Once installed, restart your computer and done.

    If for some reason the new kernel does not work properly, run command below to remove Linux Kernel 3.12:

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

    Linux Kernel 3.11.5

    The latest Linux Kernel 3.11.5 has been released. It fixed a security issue: ipv6 ipsec encryption bug in sctp_v6_xmit. Also there’re a lot of bugfixes and drivers udpates. See the changelog.

    All users of kernel 3.11 series are urged to upgrade as soon as possible. Here’s how to upgrade in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and Linux Mint 13/14/15/16.

    Upgrade Linux Kernel 3.11.5:

    At the moment of writing this tutorial, the kernel PPA is not ready for this kernel. I’ll update this post once the PPA updated.

    Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, follow the steps below:

    1. Download the kernel Debs:

    For 32-bit system:


    For 64-bit system:


    2. Install the debs:

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

    3. Restart your computer and done!

    4. If you have problem with this kernel. Run command to remove Linux Kernel 3.11.5:

    sudo apt-get purge linux-image-3.11.5-*