Archives For kernel

Linux Kernel 6.0 was released hours ago! Here are the new features and how to install instructions for Ubuntu 22.04.

So, as is hopefully clear to everybody, the major version number change is more about me running out of fingers and toes than it is about any big fundamental changes.Linus Torvalds announced.

New Features in Linux Kernel 6.0

The new kernel introduced experimental support of Intel’s A750 and A770 graphics card, using i915 DRM kernel driver with “force_probe” option. PCI support for LoongArch CPU architecture from China and OpenRISC architecture.

The release also added audio driver for Intel Meteor Lake, AMD Raphael and Jadeite, V3D Direct Rendering Manager (DRM) driver for Raspberry Pi 4, and Intel Software Guard Extensions (SGX) support.

Other changes include:

  • Support Lenovo ThinkPad X13s Arm laptop
  • Low-memory mode support for F2FS file system.
  • Habana Labs Gaudi2 Support
  • XP-PEN Deco L Drawing Tablet support.
  • Fix touchpad & keyboard issues after suspend for many TUXEDO laptops

How to Install Linux Kernel 6.0 in Ubuntu:

NOTE: Mainline Kernel packages are neither officially supported and nor appropriate for production use. Install it only for testing or certain use.

Ubuntu builds the latest Kernel packages via Mainline Kernel PPA. For Linux Kernel 6.0, download the packages from the link below:

Select download amd64 packages for modern 64-bit PC/laptop, or armhf/arm64 for ARM devices such as Apple Silicon and Raspberry Pi. And, install them one by one in the turns below:

  1. linux-headers-6.0.0-060000_***_all.deb
  2. linux-headers-6.0.0-060000-generic_***.deb
  3. linux-modules-6.0.0-060000-generic_***.deb
  4. linux-image-unsigned-6.0.0-060000-generic_***.deb

To download & install the packages from command line, open terminal (or connect to console) and run the commands below one by one (for 64-bit only):

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/linux-headers-6.0.0-060000_6.0.0-060000.202210022231_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/linux-headers-6.0.0-060000-generic_6.0.0-060000.202210022231_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/linux-modules-6.0.0-060000-generic_6.0.0-060000.202210022231_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/linux-image-unsigned-6.0.0-060000-generic_6.0.0-060000.202210022231_amd64.deb

sudo apt install ./linux-*.deb

After installing the Kernel packages, restart your machine and enjoy!

Uninstall:

To restore the previous Kernel, start or restart your machine. In the system boot-menu, go to “Advanced” and select booting the previous kernel.

After booting the old kernel, run command below to remove Linux 6.0:

sudo apt remove linux-headers-6.0.0* linux-modules-6.0.0* linux-image-unsigned-6.0.0*

Linux Kernel 5.19 was released! Ubuntu Mainline PPA has made the packages for testing purpose.

Linus Torvalds announced this kernel release last night:

On a personal note, the most interesting part here is that I did the release (and am writing this) on an arm64 laptop. It’s something I’ve been waiting for for a _loong_ time, and it’s finally reality, thanks
to the Asahi team. We’ve had arm64 hardware around running Linux for a long time, but none of it has really been usable as a development platform until now.

Linux 5.19 Kernel features initial support for LoongArch CPU architecture, Apple M1 NVMe controller and Apple eFuse driver. There are also initial graphics driver for Raptor Lake P (Intel’s 13th generation processors), In-Field Scan (IFS) to circuit level tests on a CPU core, and bug-fix for Intel laptops running hot and draining the battery faster.

Other features include:

  • Zstd compressed firmware support
  • Google Whiskers Touchpad support.
  • Lenovo X12 trackpoint support.
  • Armv9 Scalable Matrix Extension support
  • Big TCP and pureLiFi‚Äôs device driver.

How to Install Kernel 5.19 in Ubuntu 22.04:

NOTE: The mainline kernel packages are NOT officially support! You install them ONLY for specific hardware support or testing purpose!

First, go to the PPA web page via the link button below:

Select download amd64/build package for modern PC/laptop, arm64/armhf build for ARM devices, or ppc64el/s390x depends on your CPU architecture type. And, install the packages in following order:

  • linux-headers-5.19.0-051900_xxx_all.deb
  • linux-headers-5.19.0-051900-generic_xxx_amd64.deb
  • linux-modules-5.19.0-051900-generic_xxx_amd64.deb
  • linux-image-unsigned-5.19.0-051900-generic_xxx_amd64.deb

Or, open terminal by pressing Ctrl+Alt+T on keyboard, and run following commands one by one to download and install the Kernel packages (64-bit only).

cd ~/Downloads
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.19/amd64/linux-headers-5.19.0-051900_5.19.0-051900.202207312230_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.19/amd64/linux-headers-5.19.0-051900-generic_5.19.0-051900.202207312230_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.19/amd64/linux-image-unsigned-5.19.0-051900-generic_5.19.0-051900.202207312230_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.19/amd64/linux-modules-5.19.0-051900-generic_5.19.0-051900.202207312230_amd64.deb
sudo apt install ./linux-headers-5.19.0*.deb ./linux-image-unsigned-5.19.0*.deb ./linux-modules-5.19.0*.deb

Once installed, restart your computer and verify by running uname -a command in terminal.

For those prefer to use a graphical tool, there’s Ubuntu Mainline Kernel Installer can help to make things easier:

Uninstall Kernel 5.19

To remove the Kernel packages, you need to first restart your computer, select boot an old kernel in “Advanced” sub-menu of Grub boot-loader.

And finally run command in terminal (Ctrl+Alt+T) to remove Kernel 5.19:

sudo apt remove linux-headers-5.19.0* linux-modules-5.19.0* linux-image-unsigned-5.19.0*

Linux Kernel 5.18 was released on this Sunday. Ubuntu 22.04 user can install this new kernel via the mainline PPA repository.

The new Kernel release comes with many new features, and here are some of them:

  • Intel Hardware Feedback Interface “HFI” Driver
  • Intel Software Defined Silicon (SDSi) driver
  • AMD HSMP driver
  • Intel Indirect Branch Tracking (IBT)
  • New Razer Driver & Tablet improvements.
  • Intel’s Platform Environment Control Interface (PECI)
  • Intel Alder Lake N graphics and Alder Lake “PS” audio support.
  • SiGma Micro keyboard control ICs support

How to Install Kernel 5.18 in Ubuntu 22.04:

Ubuntu has build the kernel package in its Kernel Mainline PPA, available to install in Ubuntu 22.04 LTS.

NOTE: The Mainline Kernel package does not include any Ubuntu-provided drivers or patches, which are NOT appropriate for production use. ONLY install when you do require it and use at your own risk!

The Kernel 5.18 .deb packages are available to download at the link below:

For Ubuntu 22.04 desktop PC/laptop, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one to download the packages:

cd /tmp
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18/amd64/linux-headers-5.18.0-051800_5.18.0-051800.202205222030_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18/amd64/linux-headers-5.18.0-051800-generic_5.18.0-051800.202205222030_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18/amd64/linux-image-unsigned-5.18.0-051800-generic_5.18.0-051800.202205222030_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18/amd64/linux-modules-5.18.0-051800-generic_5.18.0-051800.202205222030_amd64.deb

Then install them via command:

cd /tmp && sudo apt install . var jetpackLazyImagesL10n = {"loading_warning":"Images are still loading. Please cancel your print and try again."};