Mittwoch, 2. September 2015

How to Patch, Compile and Install the Realtime Linux Kernel (4.1.5)

If you want to get serious with music production on Linux you will need a realtime kernel. This guide is a condensed reference on how to patch, compile and install the 4.1.5. kernel. This should work with other kernel versions, too.
less ../patch-4.1.5-rt5.patch | patch -p1
  • Open up the kernel configuration tool:
make menuconfig
  • Configure the kernel.
    • General Setup
      • Timers Subsystem
        • High Resolution Timer Support (enable this)
    • Processor Type and Features
      • Preemption Model
        • Fully Preemptible Kernel (RT) (select this)
    • Power Management and ACPI options
      • ACPI support (disable this)
      • Consider disabling other power management functionality as well.
  • Build and install the kernel:
make
make modules
sudo make INSTALL_MOD_STRIP=1 modules_install
sudo make install
  • Update the bootloader (probably grub) if not done automatically.

Keine Kommentare:

Kommentar veröffentlichen