Wednesday 22 February 2017

How to install Kernel 4.10 released on Ubuntu and Linux Mint

Linus Torvalds announced the final release of Kernel 4.10 . 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 Hightlights
  • Fix missing sanity check in /dev/sg
  • bpf: introduce BPF_F_ALLOW_OVERRIDE flag
  • NTB: ntb_transport: fix debugfs_remove_recursive
  • dccp: fix freeing skb too early for IPV6_RECVPKTINFO
  • ARM: multi_v7_defconfig: enable Qualcomm RPMCC
  • packet: Do not call fanout_release from atomic contexts
  • mmc: core: fix multi-bit bus width without high-speed mode
  • net: xilinx_emaclite: fix receive buffer overflow
  • net: xilinx_emaclite: fix freezes due to unordered I/O
  • MAINTAINERS: Remove old e-mail address
  • dpaa_eth: small leak on error
  • ntb: ntb_perf missing dmaengine_unmap_put
  • ntb: ntb_hw_intel: link_poll isn't clearing the pending status properly
  • rhashtable: Revert nested table changes.
  • irda: Fix lockdep annotations in hashbin_delete().
  • uapi: fix linux/if_pppol2tp.h userspace compilation errors
  • net/llc: avoid BUG_ON() in skb_orphan()
  • packet: fix races in fanout_add()
  • tcp: tcp_probe: use spin_lock_bh()
  • [media] videodev2.h: go back to limited range Y'CbCr for SRGB
  • [media] cec: initiator should be the same as the destination for, poll
  • gfs2: Use rhashtable walk interface in glock_hash_walk
  • tipc: Fix tipc_sk_reinit race conditions
  • rhashtable: Add nested tables 
See announcement for full details

Installation instructions:

Because it is very difficult to compile a Linux kernel, Canonical has packed all the kernel releases as deb packages and made them available for everybody that uses Ubuntu or Ubuntu-based systems, via its kernel.ubuntu.com repository.

How to install Kernel 4.10 on 32 bit Ubuntu and derivative systems:

Download the needed packages:

$ 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

Install the Kernel:

$ sudo dpkg -i linux-headers-4.10*.deb linux-image-4.10*.deb

$ sudo reboot

How to install Kernel 4.10 on 64 bit Ubuntu and derivative systems:
Download the needed packages:

Download the needed packages:

$ 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

Install the Kernel:

$ sudo dpkg -i linux-headers-4.10*.deb linux-image-4.10*.deb

$ sudo reboot

Check Kernel version:

$ uname -r

Optional, remove the kernel:

$ sudo apt-get remove linux-headers-4.10* linux-image-4.10*
   


Harry

Author & Editor

A technology enthusiast and addictive blogger who likes to hacking tricks and wish to be the best White Hacket Hacker of the World.

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.