Sunday, September 25, 2016

How to install Kernel 4.7.5 released on Ubuntu 16.04

Linux kernel is the essential part of any Linux operating system. It is responsible for resource allocation, low-level hardware interfaces, security, simple communications, basic file system management, and more. Written from scratch by Linus Torvalds.


Linux Kernel 4.7.5 Hightlights
  • fix the fix of copy_from_user()
  • fix 'undefined reference to `___copy_from_user'
  • Add braces to avoid "ambiguous ‘else’" compiler warnings
  • Fix broken debug output
  • avoid warning about missing braces
  • copy_from_user() should zero the destination on access_ok() failure
  • fix copy_from_user()
  • make copy_from_user() zero the destination properly
  • fix strncpy_from_user() error return
  • fix a bit shift bug in big_endian os
  • fix minor infoleak in get_user_ex()
  • fix iov_iter_fault_in_readable()
  • irqchip/atmel-aic: Fix potential deadlock in ->xlate()
  • Fixes: b1479ebb7720 ("irqchip: atmel-aic: Add atmel AIC/AIC5 drivers")
  • Provide irq_gc_{lock_irqsave,unlock_irqrestore}() helpers
  • Added a comment when these helpers should be [not] used
  • sdhci-st: Handle interconnect clock
  • svcauth_gss: Revert 64c59a3726f2 ("Remove unnecessary allocation")
  • drm: Only use compat ioctl for addfb2 on X86/IA64
  • drm/i915: Ignore OpRegion panel type except on select machines
  • drm: atmel-hlcdc: Fix vertical scaling
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.7.5 on 32 bit Ubuntu and derivative systems:

Download the needed packages:

$ cd /tmp

$ wget \

kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.5/linux-headers-4.7.5-040705_4.7.5-040705.201609240533_all.deb \

kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.5/linux-headers-4.7.5-040705-generic_4.7.5-040705.201609240533_i386.deb \

kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.5/linux-image-4.7.5-040705-generic_4.7.5-040705.201609240533_i386.deb

Install the Kernel:

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

$ sudo reboot

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


Download the needed packages:

$ cd /tmp

$ wget \

kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.5/linux-headers-4.7.5-040705_4.7.5-040705.201609240533_all.deb \

kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.5/linux-headers-4.7.5-040705-generic_4.7.5-040705.201609240533_amd64.deb \

kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.5/linux-image-4.7.5-040705-generic_4.7.5-040705.201609240533_amd64.deb

Install the Kernel:

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

$ sudo reboot

Check Kernel version:

$ uname -r

Optional, remove the kernel:

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



No comments:

Post a Comment