Booting Ubuntu 21.04 from DVD takes more than 30 minutes and its environment are corrupted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Fix Committed
|
Undecided
|
Unassigned | ||
casper (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Jammy |
Triaged
|
Medium
|
Unassigned | ||
Kinetic |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Booting Ubuntu 21.04 from DVD takes more than 30 minutes, and fails to start "Ubuntu Live CD installer" and many services.
How to reproduce:
- Burn Ubuntu 21.04 installer to DVD-R.
- Start-up PC from the DVD-R.
- Wait until the instaleler is displayed.
Expected result:
- Startup installer in 10 minutes at longest.
Actual result:
- Takes more than 30 minutes and so.
- Failed to start installer and show up live desktop environment.
Workaround:
- Set "fsck.mode=skip" to the kernel boot params (after /casper/vmlinuz) via GRUB menu entry.
Notes:
- Integrity check is passed with the DVD-R too.
- USB boot can boot in less than few minutes.
- The results is the same in both of UEFI and Legacy BIOS.
Details:
From 21.04, the casper package will execute integrity check (casper-
However intergrity check is very heavy task for physical DVD drive, it will waste CPU time.
Therefore many services -- include NetworkManager and related network tasks -- will be timeouted,
and then ubiquity and others doesn't startup.
Finally interity check is finished after tens of minutes, desktop environment will be work.
I attached journalctl log, many services are reached to timeout.
$ egrep -i " time o| time[do]" journalctl.log
Jun 04 06:04:04 ubuntu systemd[1]: NetworkManager.
Jun 04 06:04:05 ubuntu systemd[1]: networkd-
Jun 04 06:04:05 ubuntu systemd[1]: snapd.service: start operation timed out. Terminating.
Jun 04 06:04:06 ubuntu systemd[1]: thermald.service: start operation timed out. Terminating.
Jun 04 06:04:07 ubuntu systemd[1]: udisks2.service: start operation timed out. Terminating.
Jun 04 06:04:07 ubuntu systemd[1]: wpa_supplicant.
Jun 04 06:04:29 ubuntu systemd[1]: ModemManager.
Jun 04 06:05:44 ubuntu systemd[1]: snapd.service: start operation timed out. Terminating.
Jun 04 06:06:06 ubuntu dbus-daemon[1316]: [system] Failed to activate service 'fi.w1.
Jun 04 06:06:15 ubuntu sh[1463]: error: cannot communicate with server: timeout exceeded while waiting for response
Jun 04 06:06:15 ubuntu snap[1461]: error: cannot communicate with server: timeout exceeded while waiting for response
Jun 04 06:07:18 ubuntu systemd[1]: snapd.service: start operation timed out. Terminating.
Jun 04 06:08:01 ubuntu snapd[1553]: daemon.go:440: adjusting startup timeout by 55s (pessimistic estimate of 30s plus 5s per snap)
Jun 04 06:11:25 ubuntu systemd[1687]: pulseaudio.service: start operation timed out. Terminating.
Jun 04 06:11:25 ubuntu systemd[1687]: tracker-
Jun 04 06:11:25 ubuntu systemd[1687]: tracker-
Jun 04 06:12:56 ubuntu systemd[1687]: tracker-
Jun 04 06:12:57 ubuntu systemd[1687]: tracker-
Jun 04 06:13:25 ubuntu dbus-daemon[1712]: [session uid=999 pid=1712] Failed to activate service 'org.gnome.
Jun 04 06:14:35 ubuntu systemd[1687]: tracker-
Jun 04 06:16:01 ubuntu snapd[2629]: daemon.go:440: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
Jun 04 06:16:06 ubuntu systemd[1687]: <email address hidden>: start operation timed out. Terminating.
Jun 04 06:16:11 ubuntu systemd[1687]: <email address hidden>: State 'stop-sigterm' timed out. Killing.
Jun 04 06:17:43 ubuntu systemd[1687]: <email address hidden>: start operation timed out. Terminating.
Jun 04 06:17:48 ubuntu systemd[1687]: <email address hidden>: State 'stop-sigterm' timed out. Killing.
Jun 04 06:19:19 ubuntu systemd[1687]: <email address hidden>: start operation timed out. Terminating.
Jun 04 06:19:24 ubuntu systemd[1687]: <email address hidden>: State 'stop-sigterm' timed out. Killing.
Jun 04 06:20:08 ubuntu gnome-shell[2760]: Error loading calendars: Error calling StartServiceByName for org.gnome.
Jun 04 06:20:14 ubuntu gnome-session[
Jun 04 06:20:14 ubuntu gnome-session-
Jun 04 06:20:14 ubuntu gnome-session[
Jun 04 06:20:14 ubuntu gnome-session[
Jun 04 06:20:14 ubuntu gnome-session[
Jun 04 06:20:14 ubuntu gnome-session[
Jun 04 06:20:14 ubuntu gnome-session[
Jun 04 06:20:14 ubuntu gnome-session-
Jun 04 06:20:14 ubuntu gnome-session-
Jun 04 06:20:14 ubuntu gnome-session-
Jun 04 06:20:14 ubuntu gnome-session-
Jun 04 06:20:14 ubuntu gnome-session-
Jun 04 06:20:20 ubuntu dbus-daemon[1316]: [system] Failed to activate service 'org.freedeskto
Jun 04 06:20:22 ubuntu dbus-daemon[1316]: [system] Failed to activate service 'org.freedeskto
Jun 04 06:20:22 ubuntu geoclue[2789]: Failed to connect to ModemManager: Error calling StartServiceByName for org.freedesktop
Jun 04 06:20:34 ubuntu gnome-session[
Jun 04 06:20:34 ubuntu gnome-session-
Jun 04 06:20:50 ubuntu gsd-xsettings[
Jun 04 06:20:58 ubuntu gsd-media-
Jun 04 06:21:12 ubuntu gsd-power[2813]: Could not create GnomeRRScreen: Timeout was reached
Jun 04 06:21:15 ubuntu gsd-xsettings[
Jun 04 06:21:16 ubuntu gsd-color[2807]: failed to connect to colord: Error calling StartServiceByName for org.freedesktop
Jun 04 06:21:16 ubuntu dbus-daemon[1316]: [system] Failed to activate service 'org.freedeskto
Jun 04 06:21:38 ubuntu systemd[1687]: org.gnome.
Jun 04 06:21:39 ubuntu dbus-daemon[1712]: [session uid=999 pid=1712] Failed to activate service 'org.gnome.
Jun 04 06:21:40 ubuntu gsd-xsettings[
Jun 04 06:21:41 ubuntu gsd-color[2807]: failed to get screens: Timeout was reached
Jun 04 06:22:03 ubuntu dbus-daemon[1712]: [session uid=999 pid=1712] Failed to activate service 'org.freedeskto
Jun 04 06:22:08 ubuntu gsd-xsettings[
Jun 04 06:22:34 ubuntu gsd-xsettings[
Jun 04 06:23:00 ubuntu gsd-xsettings[
Jun 04 06:23:29 ubuntu gnome-shell[2760]: Error calling StartServiceByName for org.freedesktop
Jun 04 06:23:29 ubuntu gnome-shell[2760]: Gio.DBusError: Error calling StartServiceByName for org.freedesktop
Jun 04 06:25:18 ubuntu org.gnome.
Jun 04 06:26:49 ubuntu gnome-shell[2760]: Received error from DBus search provider org.gnome.
Jun 04 06:27:01 ubuntu gsd-media-
Jun 04 06:27:01 ubuntu org.gnome.
Jun 04 06:27:19 ubuntu gnome-calendar[
Jun 04 07:03:42 ubuntu snapd[3866]: daemon.go:440: adjusting startup timeout by 35s (pessimistic estimate of 30s plus 5s per snap)
tags: | added: rls-jj-incoming |
tags: | added: fr-2009 |
tags: | removed: rls-jj-incoming |
Changed in casper (Ubuntu Jammy): | |
importance: | Undecided → Medium |
Changed in ubuntu-release-notes: | |
status: | New → Fix Committed |
Changed in casper (Ubuntu Jammy): | |
status: | Confirmed → Triaged |
description: | updated |
And result of systemd-analyze:
1h 10min 36.589s casper- md5check. service quit-wait. service service dispatcher. service service service daemon. service
6min 25.653s ubiquity.service
2min 18.423s plymouth-
2min 1.331s snapd.seeded.
1min 36.987s networkd-
1min 26.938s apport.service
1min 25.643s snapd.hold.service
1min 23.503s ModemManager.
1min 19.831s bluetooth.service
1min 19.569s packagekit.service
1min 11.968s rsyslog.service
1min 6.454s gpu-manager.service
1min 2.006s NetworkManager.
57.190s cups.service
49.711s accounts-
40.643s dev-sr0.device