Public bug reported:

Ubuntu 24.10
kdump-tools 1:1.10.3ubuntu4

I would expect that with crash dumps enabled, the crash dumper would be
able to collect the information it needs and reboot with a minimum of
information being input from me - and communicate clearly to me what it
needs and why.

However, the kdump-tools crashkernel gets only 1GB of memory reserved
for it by default with 64GB of system memory, since the actual usable
total falls *slightly* under 64GB with some memory reserved by the BIOS.

This is not enough for disk encryption to start, causing the crashkernel
to provide a LUKS password screen that can never be satisfied due to
having insufficient memory to start. This is an extremely confusing user
experience. It's not clear why the encryption password is being asked
for again in the first place - let alone why the system doesn't have
enough memory to start encryption.

The memory usage issue is something that the kdump-tools package should
presumably be able to understand (that the root filesystem is going to
need LUKS and that it is going to need to be able to supply enough
memory to meet LUKS's demands). But at the very least, the installer
should know to inform kdump-tools that it's going to need more memory. I
didn't set up kdump-tools OR LUKS - I only asked the installer to set up
the latter, and the former is enabled by default.

ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: kdump-tools 1:1.10.3ubuntu4
ProcVersionSignature: Ubuntu 6.11.0-19.19-generic 6.11.11
Uname: Linux 6.11.0-19-generic x86_64
ApportVersion: 2.30.0-0ubuntu4.2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 17 20:02:32 2025
InstallationDate: Installed on 2025-02-03 (42 days ago)
InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Release amd64 (20241009.4)
SourcePackage: kdump-tools
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: kdump-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oracular wayland-session

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to kdump-tools in Ubuntu.
Matching subscriptions: Maintainer
https://bugs.launchpad.net/bugs/2103470

Title:
  kdump does not reserve enough memory for disk encryption unless the
  system has 64GB+ memory

Status in kdump-tools package in Ubuntu:
  New

Bug description:
  Ubuntu 24.10
  kdump-tools 1:1.10.3ubuntu4

  I would expect that with crash dumps enabled, the crash dumper would
  be able to collect the information it needs and reboot with a minimum
  of information being input from me - and communicate clearly to me
  what it needs and why.

  However, the kdump-tools crashkernel gets only 1GB of memory reserved
  for it by default with 64GB of system memory, since the actual usable
  total falls *slightly* under 64GB with some memory reserved by the
  BIOS.

  This is not enough for disk encryption to start, causing the
  crashkernel to provide a LUKS password screen that can never be
  satisfied due to having insufficient memory to start. This is an
  extremely confusing user experience. It's not clear why the encryption
  password is being asked for again in the first place - let alone why
  the system doesn't have enough memory to start encryption.

  The memory usage issue is something that the kdump-tools package
  should presumably be able to understand (that the root filesystem is
  going to need LUKS and that it is going to need to be able to supply
  enough memory to meet LUKS's demands). But at the very least, the
  installer should know to inform kdump-tools that it's going to need
  more memory. I didn't set up kdump-tools OR LUKS - I only asked the
  installer to set up the latter, and the former is enabled by default.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.10
  Package: kdump-tools 1:1.10.3ubuntu4
  ProcVersionSignature: Ubuntu 6.11.0-19.19-generic 6.11.11
  Uname: Linux 6.11.0-19-generic x86_64
  ApportVersion: 2.30.0-0ubuntu4.2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Mar 17 20:02:32 2025
  InstallationDate: Installed on 2025-02-03 (42 days ago)
  InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Release amd64 (20241009.4)
  SourcePackage: kdump-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kdump-tools/+bug/2103470/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to