Archives For kernel

Linux Kernel

After 7 release candidates, Linux Kernel 4.13 was finally released yesterday afternoon. Linus Torvalds announced that:

So last week was actually somewhat eventful, but not enough to push me to delay 4.13.

Most of the changes since rc7 are actually networking fixes, the bulk of them to various drivers. With apologies to the authors of said patches, they don’t look all that interesting (which is definitely exactly what you want just before a release). Details in the appended shortlog.

Note that the shortlog below is obviously only since rc7 – the _full_ 4.13 log is much too big to post and nobody sane would read it. So if you’re interested in all the rest of it, get the git tree and limit the logs to the files you are interested in if you crave details.

New Features in Kernel 4.13:

  • Initial Intel Cannonlake and Coffeelake support
  • Nouveau has HDMI 3D / stereoscopic support.
  • Radeon/AMDGPU DRM updates
  • New HID, audio hardware support
  • New input drivers support.
  • And lots of more other changes and improvements.

How to Install Kernel 4.13 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 new kernel binaries for Ubuntu, available for download at the link below:

Download Kernel 4.13 (.deb)

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

  1. linux-headers-4.13.0-xxxxxx_all.deb
  2. linux-headers-4.13.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-image-4.13.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.13 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.13/linux-headers-4.13.0-041300_4.13.0-041300.201709031731_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13/linux-headers-4.13.0-041300-generic_4.13.0-041300.201709031731_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13/linux-image-4.13.0-041300-generic_4.13.0-041300.201709031731_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13/linux-headers-4.13.0-041300_4.13.0-041300.201709031731_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13/linux-headers-4.13.0-041300-generic_4.13.0-041300.201709031731_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13/linux-image-4.13.0-041300-generic_4.13.0-041300.201709031731_i386.deb

sudo dpkg -i *.deb

After installed these .debs, restart and enjoy!

Uninstall Linux Kernel 4.13:

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.13, or you may see this how to remove old kernels tutorial.

Linux Kernel

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

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/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-headers-4.12.0-041200_4.12.0-041200.201707022031_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-headers-4.12.0-041200-generic_4.12.0-041200.201707022031_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-image-4.12.0-041200-generic_4.12.0-041200.201707022031_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-headers-4.12.0-041200_4.12.0-041200.201707022031_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-headers-4.12.0-041200-generic_4.12.0-041200.201707022031_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/linux-image-4.12.0-041200-generic_4.12.0-041200.201707022031_i386.deb

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