Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calamares-settings-ubuntu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
kubuntu-meta (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
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://
* 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://
* 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
summary: |
- Install randomely crashes/fails/hangs on systems with 3GB or less + Install randomly crashes/fails/hangs on systems with 3GB or less |
description: | updated |
summary: |
- Install randomly crashes/fails/hangs on systems with 3GB or less + Ubuntu 24.04 daily builds - Install randomly crashes/fails/hangs on + systems with 3GB or less |
summary: |
- Ubuntu 24.04 daily builds - Install randomly crashes/fails/hangs on + Kubuntu 24.04 daily builds - Install randomly crashes/fails/hangs on systems with 3GB or less |
description: | updated |
summary: |
- Kubuntu 24.04 daily builds - Install randomly crashes/fails/hangs on - systems with 3GB or less + Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on + systems with less than ~3GB of RAM |
description: | updated |
affects: | calamares-settings-ubuntu (Ubuntu) → livecd-rootfs (Ubuntu) |
Changed in livecd-rootfs (Ubuntu): | |
status: | Incomplete → New |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 2062428
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.
No clues as to product are provided (three flavors use calamares, though Kubuntu is used as example so it maybe Kubuntu but we don't know; is this 24.04? as its not said though mentioned too), nor clues as to what ISO was used, nor package version details. It's likely nothing can be done without this detail; as package versions have changed multiple times in the last few days & no useful data (no logs etc) were provided. Please in future use `ubuntu-bug`... which can be run even from terminal even during operation (or calamares-hang).
If your system has already gone (ie. I assume it was LIVE and thus after failure you shutdown box), some detail can be added to the report if you BOOT the same ISO on the SAME HARDWARE and run `apport-collect 2062428` as requested there. This will populate most missing fields, even if no calamares-log will be attached (you'd need to re-run the install & have the same issue to get that).
As currently little detail is provided, I'll mark this bug as incomplete. If you do run `apport-collect`, please change the status back to "New". Thank you for filing the bug report in attempts to make Ubuntu better.