2018-07-14 22:14:10 |
Lech Jabłoński |
bug |
|
|
added bug |
2018-07-17 13:18:30 |
Balint Reczey |
affects |
pkgbinarymangler (Ubuntu) |
initramfs-tools (Ubuntu) |
|
2018-10-27 10:44:32 |
Mantas Kriaučiūnas |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861228 |
|
2018-10-27 10:44:32 |
Mantas Kriaučiūnas |
bug task added |
|
initramfs-tools (Debian) |
|
2018-10-27 10:45:42 |
Mantas Kriaučiūnas |
summary |
Slow startup with encrypted swap |
Slow startup with zram-config installed (/dev/zram0) or encrypted swap |
|
2018-10-27 10:47:40 |
Mantas Kriaučiūnas |
description |
The problem was due to my swap being encrypted. So the local-premount script in initramfs was waiting for a swap device that was not available, until it timed out. The relevant message was gave up waiting for suspend/resume device.
To disable this (as resuming from swap is not possible with an encrypted swap, and I don't use hibernation anyway), I modified this file: /etc/initramfs-tools/conf.d/resume. In this file, a line with RESUME=none (instead of the UUID that was here) will disable waiting for a resume device.
Run sudo update-initramfs -u to apply the changes.
Please, fix it already. Duplicate of Bug #1768230 on Ubuntu 18.10 |
Ubuntu 18.04 startup slowdowns for 30-60 seconds when zram-config installed or swap is encrypted.
When generating initrd I get this message in terminal:
I: The initramfs will attempt to resume from /dev/zram0
I: (UUID=e380356c-767e-4265-98da-8be62ad28569)
I: Set the RESUME variable to override this.###########################################.................]
So the local-premount script in initramfs was waiting for a swap device that was not available, until it timed out. The relevant message was gave up waiting for suspend/resume device.
To disable this (as resuming from swap is not possible with an encrypted swap, and I don't use hibernation anyway), I modified this file: /etc/initramfs-tools/conf.d/resume. In this file, a line with RESUME=none (instead of the UUID that was here) will disable waiting for a resume device.
Run sudo update-initramfs -u to apply the changes.
Please, fix it already. Duplicate of Bug #1768230 on Ubuntu 18.10 |
|
2018-10-27 10:47:43 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Mantas Kriaučiūnas |
2018-10-27 10:47:52 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Baltix GNU/Linux system developers |
2018-10-27 10:48:01 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Unishop |
2018-10-27 10:48:08 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Baltix GNU/Linux activists |
2018-10-27 10:48:43 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Jonas Juodė |
2018-10-27 10:48:46 |
Launchpad Janitor |
initramfs-tools (Ubuntu): status |
New |
Confirmed |
|
2018-10-27 10:49:00 |
Mantas Kriaučiūnas |
bug task added |
|
zram-config (Ubuntu) |
|
2018-10-27 10:50:01 |
Mantas Kriaučiūnas |
bug task added |
|
baltix-default-settings |
|
2018-10-29 10:42:44 |
Mantas Kriaučiūnas |
attachment added |
|
Patch from Debian initramfs-tools 0.132 to fix booting when zram swap is enabled https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1781746/+attachment/5206679/+files/312393b0cf1231125eeff3d1a2b6b778a935c21d.diff |
|
2018-10-29 10:43:41 |
Mantas Kriaučiūnas |
tags |
|
bionic patch patch-accepted-debian |
|
2018-10-29 10:54:22 |
Launchpad Janitor |
zram-config (Ubuntu): status |
New |
Confirmed |
|
2018-10-29 11:09:34 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-10-29 11:09:46 |
Mantas Kriaučiūnas |
description |
Ubuntu 18.04 startup slowdowns for 30-60 seconds when zram-config installed or swap is encrypted.
When generating initrd I get this message in terminal:
I: The initramfs will attempt to resume from /dev/zram0
I: (UUID=e380356c-767e-4265-98da-8be62ad28569)
I: Set the RESUME variable to override this.###########################################.................]
So the local-premount script in initramfs was waiting for a swap device that was not available, until it timed out. The relevant message was gave up waiting for suspend/resume device.
To disable this (as resuming from swap is not possible with an encrypted swap, and I don't use hibernation anyway), I modified this file: /etc/initramfs-tools/conf.d/resume. In this file, a line with RESUME=none (instead of the UUID that was here) will disable waiting for a resume device.
Run sudo update-initramfs -u to apply the changes.
Please, fix it already. Duplicate of Bug #1768230 on Ubuntu 18.10 |
[Impact]
Ubuntu 18.04 startup slowdowns for 30-120 seconds when zram swap is enabled (for example zram-config installed) or swap is encrypted.
Today lots of users have SSD instead of HDD disk drives and use zram swap instead of swap partition or swap file, but if initrd is generated when zram swap is enabled then system can become "unbootable" from the user's perspective (Users with SSD storage doesn't wait 2 or more minutes...)
This bug is already fixed in Debian initramfs-tools ver 0.132, please accept this simple 3 lines patch from Debian into Ubuntu 18.04 LTS
https://salsa.debian.org/kernel-team/initramfs-tools/commit/312393b0cf1231125eeff3d1a2b6b778a935c21d
[Test Case]
Install zram-config package and regenerate and initrd, for example with
sudo update-initramfs -u
When generating initrd I get this message in terminal:
I: The initramfs will attempt to resume from /dev/zram0
I: (UUID=e380356c-767e-4265-98da-8be62ad28569)
I: Set the RESUME variable to override this.###########################################.................]
So the local-premount script in initramfs was waiting for a swap device that was not available, until it timed out. The relevant message was gave up waiting for suspend/resume device.
[Regression Potential]
None, patch simply adds case for /dev/zram*:
60 case "$resume_auto" in
61 /dev/zram*)
62 ephemeral=true
63 ;;
64 esac
[Other Info]
Manual method to disable this (as resuming from swap is not possible with an encrypted or zram swap): modify file /etc/initramfs-tools/conf.d/resume - add (or change) line
RESUME=none
(instead of the UUID that was here) will disable waiting for a resume device.
and run sudo update-initramfs -u to apply the changes. |
|
2018-10-29 11:09:58 |
Mantas Kriaučiūnas |
summary |
Slow startup with zram-config installed (/dev/zram0) or encrypted swap |
[SRU] Slow startup with zram-config installed (/dev/zram0) or encrypted swap |
|
2018-10-31 09:39:14 |
Oibaf |
bug |
|
|
added subscriber Oibaf |
2018-11-07 19:23:01 |
Bug Watch Updater |
initramfs-tools (Debian): status |
Unknown |
Fix Released |
|
2018-11-08 20:56:14 |
Simon Quigley |
bug |
|
|
added subscriber Lubuntu Packages Team |
2018-11-14 15:06:05 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Ubuntu Release Team |
2018-12-17 08:21:06 |
Mantas Kriaučiūnas |
baltix-default-settings: status |
New |
Confirmed |
|
2018-12-17 08:21:09 |
Mantas Kriaučiūnas |
baltix-default-settings: importance |
Undecided |
High |
|
2018-12-17 08:21:13 |
Mantas Kriaučiūnas |
baltix-default-settings: assignee |
|
Mantas Kriaučiūnas (mantas) |
|
2018-12-17 10:10:08 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2018-12-17 10:27:25 |
Mantas Kriaučiūnas |
tags |
bionic patch patch-accepted-debian |
bionic patch patch-accepted-debian rls-bb-incoming |
|
2019-01-15 20:46:56 |
Alessio |
bug |
|
|
added subscriber Alessio |
2019-01-29 21:30:58 |
Brian Murray |
tags |
bionic patch patch-accepted-debian rls-bb-incoming |
bionic patch patch-accepted-debian rls-dd-incoming |
|
2019-01-29 21:31:06 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-02-02 23:06:24 |
Mathew Hodson |
initramfs-tools (Ubuntu): importance |
Undecided |
Medium |
|
2019-02-02 23:09:15 |
Mathew Hodson |
bug task deleted |
zram-config (Ubuntu) |
|
|
2019-04-20 18:35:57 |
Simon Quigley |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2019-04-20 18:36:06 |
Simon Quigley |
tags |
bionic patch patch-accepted-debian rls-dd-incoming |
bionic patch patch-accepted-debian rls-ee-incoming |
|
2019-06-14 16:20:10 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Bionic |
|
2019-06-14 16:20:10 |
Mathieu Trudel-Lapierre |
bug task added |
|
initramfs-tools (Ubuntu Bionic) |
|
2019-06-14 16:20:18 |
Mathieu Trudel-Lapierre |
initramfs-tools (Ubuntu): status |
Confirmed |
Fix Released |
|
2019-06-14 16:20:56 |
Mathieu Trudel-Lapierre |
initramfs-tools (Ubuntu Bionic): status |
New |
Triaged |
|
2019-06-14 16:21:03 |
Mathieu Trudel-Lapierre |
tags |
bionic patch patch-accepted-debian rls-ee-incoming |
bionic patch patch-accepted-debian rls-bb-notfixing |
|
2024-04-03 19:25:35 |
ԜаӀtеr Ⅼарсһуnѕkі |
removed subscriber Lubuntu Packages Team |
|
|
|