Skip to content

Add Linux 5.3 bee files #1382

Merged
merged 17 commits into from
Oct 2, 2019
Merged

Add Linux 5.3 bee files #1382

merged 17 commits into from
Oct 2, 2019

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Oct 2, 2019

These were only used for testing, but as the packages exist in /src/mariux, add the corresponding bee
files to the git history. Note, as these versions were never installed on the distmaster, the bee files are removed in the end.

Tested on rabammel and machmal.

See Documentation/admin-guide/dynamic-debug-howto.rst for details.
Apply commit 581ae3a (linux-4.19.57: Enable CONFIG_CRASH_DUMP).

We don't want to maintain a separate crash kernel but use our normal
kernel as a crash kernel. Enable CONFIG_CRASH_DUMP and
CONFIG_RELOCATABLE.
Add the current output of `make savedefconfig`.

For whatever reason `CONFIG_PCI` was removed, so manually
add it back, so, for example, S-ATA still works.
Enable ways to store Linux messages in case of panics.

    config PSTORE
    	tristate "Persistent store support"
    	select CRYPTO if PSTORE_COMPRESS
    	default n
    	help
    	   This option enables generic access to platform level
    	   persistent storage via "pstore" filesystem that can
    	   be mounted as /dev/pstore.  Only useful if you have
    	   a platform level driver that registers with pstore to
    	   provide the data, so you probably should just go say "Y"
    	   (or "M") to a platform specific persistent store driver
    	   (e.g. ACPI_APEI on X86) which will select this for you.
    	   If you don't have a platform persistent store driver,
    	   say N.

That implicitly selects the option `EFI_VARS_PSTORE` below.

    config EFI_VARS_PSTORE
    	tristate "Register efivars backend for pstore"
    	depends on EFI_VARS && PSTORE
    	default y
    	help
    	  Say Y here to enable use efivars as a backend to pstore. This
    	  will allow writing console messages, crash dumps, or anything
    	  else supported by pstore to EFI variables.

Fixes: #1249
As MarIuX does not run on laptops, unselect this option. Mimic commit
4ea3ed2 (linux-5.3: Update configuration).
> This option enables a tickless idle system: timer interrupts
> will only trigger on an as-needed basis when the system is idle.
> This is usually interesting for energy saving.
>
> Most of the time you want to say Y here.

See commit 018f0a2 (linux-5.3: Set CONFIG_NO_HZ_IDLE=y).

> This option enables a tickless idle system: timer interrupts
> will only trigger on an as-needed basis when the system is idle.
>
> Switch on, to save power and cpu load of VM hosts.
This creates slightly smaller images, and decompresses much faster. [1]

    $ ls -l /boot/bzImage-5.3*
    -rw-r--r-- 1 root root 13181488 Sep 23 15:21 /boot/bzImage-5.3.0.mx64.291
    -rw-r--r-- 1 root root 11956784 Oct  2 16:33 /boot/bzImage-5.3.2.mx64.292

[1]: https://kernel.ubuntu.com/~cking/boot-speed-eoan-5.3/kernel-compression-method.txt
Linux 5.4-rc1 [1] is available, so remove the 5.3 Linux kernels, which
were never installed on the distmaster – especially as the proprietary
Nvidia driver was not packaged for them.

[1]: https://lkml.org/lkml/2019/9/30/642
@pmenzel pmenzel merged commit a93d1d5 into master Oct 2, 2019
@pmenzel pmenzel deleted the add-linux-5.3-bee-files branch October 2, 2019 14:56
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant