[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM

Eugene San 2062428 at bugs.launchpad.net
Fri Apr 19 21:05:14 UTC 2024


@wxl
People on #kubuntu-dev decided to skip zram for now since they wanted for issue to be recognized as "release critical " for that change.

You can see more details at the end of
https://irclogs.ubuntu.com/2024/04/18/%23kubuntu-devel.html

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2062428

Title:
  Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on
  systems with less than ~3GB of RAM

Status in calamares-settings-ubuntu package in Ubuntu:
  Invalid
Status in kubuntu-meta package in Ubuntu:
  New
Status in livecd-rootfs package in Ubuntu:
  Invalid

Bug description:
  Since around introduction of Kernel 6.8 to Daily builds, installation
  of Kubuntu / Ubuntu / Ubuntu-Mate builds randomly hangs(mostly),
  crashes or fails on systems with less than 3GB of RAM.

  When the system hangs, VM indicates heavy CPU and CDROM usage. My bet
  is on Kernel killing itself trying to "juggle" data between OverlayFS
  and Filesystem cache without a way to swap-out since someone decided
  that removing zram-config from livefs was a good idea.

  When the system doesn't hang, I can see kernel OOM killing random
  processes like calamares, cryptsetup etc.

  I had 100% success of installing Kubuntu 24.04 daily on VMs with 3GB, 75% with 2.5GB and almost 0% on 2GB VMs.
  Lvecd installers prior to Linux 6.8 had no issues with 2GB VMs.

  Once the system is installed it functions satisfactory with 2GB.

  I believe adding zram-config to livefs/casper would allow installation
  on systems with only 2GB of RAM.

  Tested over a couple of months with many snapshots of 24.04 Daily
  builds for Ubuntu, Kubutu and Ubuntu-Mate on VirtualBox and KVM/Qemu
  with default settings except enabled EFI.

  PS,
  The issue is not unique to calamares but I am filing it here since that's what I was asked to do by people on #kubuntu-devel and to be honest at the moment I don't care about anything but being able to test Kubuntu images on small VMs.

  P.P.S
  Specific example #1 (bad):
  * Kubuntu snapshot from http://cdimage.ubuntu.com/kubuntu/daily-live/20240418.1/
  * VirtualBox 7.1.16 - VM - Default Ubuntu Profile, Enable EFI, Adjust RAM to 2.5GB
  * Boot LiveCD, Choose Try option
  * Start Install with default settings
  * Observe Calamares existing mid install without any visual indication
  * Logs show OOM-Killer killing cryptsetup and Calamares

  Specific example #2 (Good):
  * Kubuntu snapshot from http://cdimage.ubuntu.com/kubuntu/daily-live/20240418.1/
  * VirtualBox 7.1.16 - VM - Default Ubuntu Profile, Enable EFI, Adjust RAM to 2.5GB
  * Boot LiveCD, Choose Try option
  * >> Install zram-config, start zram-config service <<
  * Start Install with default settings
  * Observe Calamares finishing install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2062428/+subscriptions




More information about the foundations-bugs mailing list