Archives For Linux 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

Linus Torvalds announced the final release of Kernel 4.10 days ago. He wrote on lkml.org:

So there it is, the final 4.10 release. It’s been quiet since rc8, but we did end up fixing several small issues, so the extra week was all
good.

On the whole, 4.10 didn’t end up as small as it initially looked. After the huge release that was 4.9, I expected things to be pretty
quiet, but it ended up very much a fairly average release by modern kernel standards. So we have about 13,000 commits (not counting merges – that would be another 1200+ commits if you count those). The work is all over, obviously – the shortlog below is just the changes in the
last week, since rc8.

Linux Kernel 4.10 release highlights:

  • Initial mainline GVT-g graphics virtualization support
  • Intel Turbo Boost Max 3.0 support.
  • EXT4 DAX iomap support and XFS iomap support.
  • Better Microsoft Surface 3/4 support. Wacom MobileStudio Pro class of drawing tablets support
  • Nouveau Boost support
  • More ARM platform support, better Raspberry Pi 3 support.
  • and many other changes.

How to Install Kernel 4.10 in Ubuntu:

The Ubuntu Kernel Team has made the DEB packages for the new kernel, available for download at the link below:

Download Kernel 4.10 (deb)

NOTE that Canonical does not support these Kernel packages. They are not appropriate for production use.

For the Desktop users, you can also use Ukuu a simple graphical tool to install the latest kernels.

For Ubuntu Server or those who prefer the command line, install them via following commands:

For 64-bit system:


cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10/linux-headers-4.10.0-041000_4.10.0-041000.201702191831_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10/linux-headers-4.10.0-041000-generic_4.10.0-041000.201702191831_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10/linux-image-4.10.0-041000-generic_4.10.0-041000.201702191831_amd64.deb

sudo dpkg -i *.deb

For 32-bit system:


cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10/linux-headers-4.10.0-041000_4.10.0-041000.201702191831_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10/linux-headers-4.10.0-041000-generic_4.10.0-041000.201702191831_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10/linux-image-4.10.0-041000-generic_4.10.0-041000.201702191831_i386.deb

sudo dpkg -i *.deb

After installed these debs, restart and enjoy!

Uninstall:

To remove Linux Kernel 4.10, you may 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.10* linux-image-4.10*

Linux Kernel

Linux Kernel 4.9 was finally released last night as ‘the biggest release’ said in the announcement. Linus Torvalds wrote on lkml.org:

So Linux 4.9 is out, and the merge window for 4.10 is thus open.

With the extra week for 4.9, the timing for the merge window is obviously a bit awkward, and it technically closes in two weeks on Christmas Day. But that is a pure technicality, because I will certainly stop pulling on the 23rd at the latest, and if I get roped into xmas food prep, even that date might be questionable.

I could extend the merge window rather than cut it short, but I’m not going to. I suspect we all want a nice calm winter break, so if your stuff isn’t ready to be merged early, the solution is to just not merge it yet at all, and wait for 4.11. Just so you all know (I already bcc’d the main merge window suspects in a separate mailing last week, I’m just repeating myself here to avoid anybody being confused about timing).

Anyway, back to 4.9 itself.

I’m pretty sure this is the biggest release we’ve ever had, at least in number of commits. If you look at the number of lines changed, we’ve had bigger releases in the past, but they have tended to be due to specific issues (v4.2 got a lot of lines from the AMD GPU register definition files, for example, and we’ve had big re-organizations that caused a lot of lines in the past: v3.2 was big due to staging, v3.7
had the automated uapi header file disintegration, etc). In contrast, 4.9 is just big.

Admittedly a chunk of that is the new greybus staging support, but that really isn’t the bulk of it – it’s just another small detail in the overall “yes, v4.9 is big” picture.

Other than just the size, 4.9 looks fairly normal. A bit over two thirds drivers (staging, GPU and networking are the bulk of it, but it’s all over), with the rest looking fairly normal too: arch updates, documentation, generic networking, filesystems..

The shortlog (16k+ commits, with another 1100 merge commits to round things out) is obviously much too big to put here, and wouldn’t be legible anyway. So as is my wont, I’m appending just the log of my merges.

New Features in Linux Kernel 4.9:

  • Virtual Display Support and improved GPU reset for AMDGPU.
  • Various fixes and improvements to Intel DRM.
  • Memory protection keys (MPK) support.
  • Support for vmapped kernel stacks.
  • 29 more ARM machines support, including Raspberry Pi Zero, LG Nexus 5, etc.
  • Various file-system improvements and more.

How to Install Linux Kernel 4.9:

The Ubuntu kernel team has build the new kernel release, and the binaries are available for download at the link below:

Download Kernel 4.9 (.deb)

Depends on your OS type, grab and install the packages below one by one:

  • linux-headers-4.9.0-xxxxxx_all.deb
  • linux-headers-4.9.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  • linux-image-4.9.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.9 from the command console, run the commands below one by one:

For 64-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_i386.deb

sudo dpkg -i *.deb

After installed these .debs, restart and enjoy!

Uninstall Linux Kernel 4.9:

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.9, or you may see this post that teach you how to remove old kernels.

Linux Kernel

Linus Torvalds finally announced the release of the Linux Kernel 4.7. He wrote on lkml.org:

So, after a slight delay due to my travels, I’m back, and 4.7 is out.

Despite it being two weeks since rc7, the final patch wasn’t all that big, and much of it is trivial one- and few-liners. There’s a couple of network drivers that got a bit more loving. Appended is the shortlog since rc7 for people who care: it’s fairly spread out, with networking and some intel Kabylake GPU fixes being the most noticeable ones. But there’s random small noise spread all over.

Kernel 4.7 release highlights:

  • open source support for Radeon RX 480 GPUs
  • async discard support by the core block code
  • support for upgrading firmware using the EFI Capsule
  • New Linux Security Module (LSM) “LoadPin”
  • support for generating virtual USB Device Controllers in USB/IP
  • numerous drivers updates and lots of bug-fixes.

How to Install / Upgrade Kernel 4.7 in Ubuntu:

Not recommended for common users, unless there’s must upgrade reasons and you know exactly what you’re doing and how to solve problems.

Ubuntu Kernel Team has made the binary packages for the new kernel release, available for download at the link below:

Download Kernel 4.7 Packages [.deb]

Depends on your OS type, grab and install the packages below one by one:

  1. linux-headers-4.7.0-xxxxxx_all.deb
  2. linux-headers-4.7.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-image-4.7.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 and i386 for 32bit system.

You may also download these .deb packages in terminal / command console by running following commands one by one:

For 64-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700_4.7.0-040700.201607241632_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-image-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb

sudo dpkg -i *.deb

For 32bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700_4.7.0-040700.201607241632_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700-generic_4.7.0-040700.201607241632_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-image-4.7.0-040700-generic_4.7.0-040700.201607241632_i386.deb

sudo dpkg -i *.deb

Finally restart your computer.

Uninstall Kernel 4.7:

For any reason you want to remove this Kernel, start/restart your machine and select boot with the previous kernel in Grub2 -> Advanced menu. Then remove the 4.7 kernel via Ubuntu Tweak, or just follow this tutorial.

Linux Kernel

The Linux Kernel 4.6 stable has been released. Linus Torvalds announced this kernel release in lkml.org:

    It’s just as well I didn’t cut the rc cycle short, since the last week ended up getting a few more fixes than expected, but nothing in there feels all that odd or out of line. So 4.6 is out there at the normal schedule, and that obviously also means that I’ll start doing merge window pull requests for 4.7 starting tomorrow.

    Since rc7, there’s been small noise all over, with driver fixes being the bulk of it, but there is minor noise all over (perf tooling, networking, filesystems, documentation, some small arch fixes..)

New features in Kernel 4.6:

  • Initial open-source support for GTX 900 series
  • Runtime AHCI power management support for greater power savings
  • Dell laptop support improvements
  • Better security for 32-bit Linux programs.
  • Various open-source AMD graphics driver improvements.
  • A number of new ARM hardware support.

How to Install Kernel 4.6 in Ubuntu:

There are .deb packages for this kernel release available in kernel-ppa/mainline:

Download Kernel 4.6 (.deb)

Download and install the packages named below one by one according to your OS type (i386 for 32-bit, amd64 for 64-bit):

  1. linux-headers-4.6.0-xxx_all.deb
  2. linux-headers-4.6.0-xxx-generic_xxx_i386/amd64.deb
  3. linux-image-4.6.0-xxx-generic_xxx_i386/amd64.deb

For a low latency system (e.g. for recording audio) install following packages instead:

  1. linux-headers-4.6.0-xxx_all.deb
  2. linux-headers-4.6.0-xxx-lowlatency_xxx_i386/amd64.deb
  3. linux-image-4.6.0-xxx-lowlatency_xxx_i386/amd64.deb

You can also download and install these debs by running the commands below in terminal/console:

For 64-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600_4.6.0-040600.201605151930_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600-generic_4.6.0-040600.201605151930_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-image-4.6.0-040600-generic_4.6.0-040600.201605151930_amd64.deb

sudo dpkg -i *.deb

For 32-bit system

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600_4.6.0-040600.201605151930_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600-generic_4.6.0-040600.201605151930_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-image-4.6.0-040600-generic_4.6.0-040600.201605151930_i386.deb

sudo dpkg -i *.deb

Restart your computer after installation to apply changes.

Restore:

You can easily switch back to the previous kernel by restart your machine and select boot with old kernel version (available in Advanced options). Then use Ubuntu-Tweak or follow this guide to remove Kernel 4.6.