Skip to content

Commit

Permalink
Update kernel-crash-dump.md to add details about kdump enablement by …
Browse files Browse the repository at this point in the history
…default in 24.10 (#54)

* Update kernel-crash-dump.md to add details about kdump enablement by default in 24.10
  • Loading branch information
khbecker authored Sep 26, 2024
1 parent 7b9e0f0 commit ddddd6e
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion how-to/software/kernel-crash-dump.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,30 @@ For some of these events (kernel panic, NMI) the kernel will react automatically

When a kernel panic occurs, the kernel relies on the *kexec* mechanism to quickly reboot a new instance of the kernel in a pre-reserved section of memory that had been allocated when the system booted (see below). This permits the existing memory area to remain untouched in order to safely copy its contents to storage.

## KDump enabled by default

Starting in Oracular Oriole (24.10) the kernel crash dump facility will be enabled by default during standard Ubuntu Desktop or Ubuntu Server installations on systems that meet the following requirements:
- the system has at least 4 CPU threads
- the system has at least 6GB of RAM, and less than 2TB of RAM
- the free space available in `/var` is more than 5 times the amount of RAM and swap space
- and the CPU architecture is
- amd64 or s390x, or
- arm64 and UEFI is used

On machines with it enabled (either by default or by manual installation), it can be disabled via the command:

```bash
sudo apt remove kdump-tools
```

On machines that do not meet these requirements and on pre-24.10 releases, the kernel crash dump facility can be enabled manually by following the installation instructions that follow.

## Installation

The kernel crash dump utility is installed with the following command:

```bash
sudo apt install linux-crashdump
sudo apt install kdump-tools
```

> **Note**:
Expand Down

0 comments on commit ddddd6e

Please sign in to comment.