Archives For kernel

Linux Kernel

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

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/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-headers-4.11.0-041100_4.11.0-041100.201705041534_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-headers-4.11.0-041100-generic_4.11.0-041100.201705041534_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-image-4.11.0-041100-generic_4.11.0-041100.201705041534_amd64.deb

sudo dpkg -i *.deb

for 32-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-headers-4.11.0-041100_4.11.0-041100.201705041534_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-headers-4.11.0-041100-generic_4.11.0-041100.201705041534_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-image-4.11.0-041100-generic_4.11.0-041100.201705041534_i386.deb

sudo dpkg -i *.deb

After installed these debs, restart and enjoy!

Uninstall:

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:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.7-saucy/linux-headers-3.11.7-031107-generic_3.11.7-031107.201311040853_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.7-saucy/linux-headers-3.11.7-031107_3.11.7-031107.201311040853_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.7-saucy/linux-image-3.11.7-031107-generic_3.11.7-031107.201311040853_i386.deb

For 64 bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.7-saucy/linux-headers-3.11.7-031107-generic_3.11.7-031107.201311040853_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.7-saucy/linux-headers-3.11.7-031107_3.11.7-031107.201311040853_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.7-saucy/linux-image-3.11.7-031107-generic_3.11.7-031107.201311040853_amd64.deb

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:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/linux-headers-3.12.0-031200-generic_3.12.0-031200.201311031935_i386.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/linux-headers-3.12.0-031200_3.12.0-031200.201311031935_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/linux-image-3.12.0-031200-generic_3.12.0-031200.201311031935_i386.deb

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

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/linux-headers-3.12.0-031200-generic_3.12.0-031200.201311031935_amd64.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/linux-headers-3.12.0-031200_3.12.0-031200.201311031935_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/linux-image-3.12.0-031200-generic_3.12.0-031200.201311031935_amd64.deb

    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:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.5-saucy/linux-headers-3.11.5-031105-generic_3.11.5-031105.201310132235_i386.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.5-saucy/linux-headers-3.11.5-031105_3.11.5-031105.201310132235_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.5-saucy/linux-image-3.11.5-031105-generic_3.11.5-031105.201310132235_i386.deb

    For 64-bit system:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.5-saucy/linux-headers-3.11.5-031105-generic_3.11.5-031105.201310132235_amd64.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.5-saucy/linux-headers-3.11.5-031105_3.11.5-031105.201310132235_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.5-saucy/linux-image-3.11.5-031105-generic_3.11.5-031105.201310132235_amd64.deb

    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-*

    Linux Kernel 3.10.16

    The Linux Kernel 3.10 LTS series has reached v3.10.16, all users of this 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.

    Linux Kernel 3.10.16 fixed a security issue: ipv6 ipsec encryption bug in sctp_v6_xmit, updated drivers as well as other bug fixes. See changelog.

    Upgrade Linux Kernel 3.10.16:

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

    1. Download the DEBs.

    For 32-bit:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.16-saucy/linux-headers-3.10.16-031016-generic_3.10.16-031016.201310131935_i386.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.16-saucy/linux-headers-3.10.16-031016_3.10.16-031016.201310131935_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.16-saucy/linux-image-3.10.16-031016-generic_3.10.16-031016.201310131935_i386.deb

    For 64-bit:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.16-saucy/linux-headers-3.10.16-031016-generic_3.10.16-031016.201310131935_amd64.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.16-saucy/linux-headers-3.10.16-031016_3.10.16-031016.201310131935_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.16-saucy/linux-image-3.10.16-031016-generic_3.10.16-031016.201310131935_amd64.deb

    2. Install the Debs:

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

    3. Restart your computer and done.

    4. If you have problem with this new kernel, run command below to remove Linux Kernel 3.10.16:

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