Public bug reported:

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 boot params 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-
md5check.service) in any boot time.

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.service: start operation 
timed out. Terminating.
Jun 04 06:04:05 ubuntu systemd[1]: networkd-dispatcher.service: start operation 
timed out. Terminating.
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.service: start operation 
timed out. Terminating.
Jun 04 06:04:29 ubuntu systemd[1]: ModemManager.service: start operation timed 
out. Terminating.
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.wpa_supplicant1': timed out (service_start_timeout=25000ms)
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-extract.service: start operation 
timed out. Terminating.
Jun 04 06:11:25 ubuntu systemd[1687]: tracker-miner-fs.service: start operation 
timed out. Terminating.
Jun 04 06:12:56 ubuntu systemd[1687]: tracker-miner-fs.service: start operation 
timed out. Terminating.
Jun 04 06:12:57 ubuntu systemd[1687]: tracker-extract.service: start operation 
timed out. Terminating.
Jun 04 06:13:25 ubuntu dbus-daemon[1712]: [session uid=999 pid=1712] Failed to 
activate service 'org.gnome.OnlineAccounts': timed out 
(service_start_timeout=120000ms)
Jun 04 06:14:35 ubuntu systemd[1687]: tracker-extract.service: start operation 
timed out. Terminating.
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]: org.gnome.Shell@x11.service: start 
operation timed out. Terminating.
Jun 04 06:16:11 ubuntu systemd[1687]: org.gnome.Shell@x11.service: State 
'stop-sigterm' timed out. Killing.
Jun 04 06:17:43 ubuntu systemd[1687]: org.gnome.Shell@x11.service: start 
operation timed out. Terminating.
Jun 04 06:17:48 ubuntu systemd[1687]: org.gnome.Shell@x11.service: State 
'stop-sigterm' timed out. Killing.
Jun 04 06:19:19 ubuntu systemd[1687]: org.gnome.Shell@x11.service: start 
operation timed out. Terminating.
Jun 04 06:19:24 ubuntu systemd[1687]: org.gnome.Shell@x11.service: State 
'stop-sigterm' timed out. Killing.
Jun 04 06:20:08 ubuntu gnome-shell[2760]: Error loading calendars: Error 
calling StartServiceByName for org.gnome.Shell.CalendarServer: Timeout was 
reached
Jun 04 06:20:14 ubuntu gnome-session[2260]: gnome-session-binary[2260]: 
GnomeDesktop-WARNING: Could not create transient scope for PID 2830: Timeout 
was reached
Jun 04 06:20:14 ubuntu gnome-session-binary[2260]: GnomeDesktop-WARNING: Could 
not create transient scope for PID 2830: Timeout was reached
Jun 04 06:20:14 ubuntu gnome-session[2260]: gnome-session-binary[2260]: 
GnomeDesktop-WARNING: Could not create transient scope for PID 2831: Timeout 
was reached
Jun 04 06:20:14 ubuntu gnome-session[2260]: gnome-session-binary[2260]: 
GnomeDesktop-WARNING: Could not create transient scope for PID 2832: Timeout 
was reached
Jun 04 06:20:14 ubuntu gnome-session[2260]: gnome-session-binary[2260]: 
GnomeDesktop-WARNING: Could not create transient scope for PID 2833: Timeout 
was reached
Jun 04 06:20:14 ubuntu gnome-session[2260]: gnome-session-binary[2260]: 
GnomeDesktop-WARNING: Could not create transient scope for PID 2834: Timeout 
was reached
Jun 04 06:20:14 ubuntu gnome-session[2260]: gnome-session-binary[2260]: 
GnomeDesktop-WARNING: Could not create transient scope for PID 2839: Timeout 
was reached
Jun 04 06:20:14 ubuntu gnome-session-binary[2260]: GnomeDesktop-WARNING: Could 
not create transient scope for PID 2831: Timeout was reached
Jun 04 06:20:14 ubuntu gnome-session-binary[2260]: GnomeDesktop-WARNING: Could 
not create transient scope for PID 2832: Timeout was reached
Jun 04 06:20:14 ubuntu gnome-session-binary[2260]: GnomeDesktop-WARNING: Could 
not create transient scope for PID 2833: Timeout was reached
Jun 04 06:20:14 ubuntu gnome-session-binary[2260]: GnomeDesktop-WARNING: Could 
not create transient scope for PID 2834: Timeout was reached
Jun 04 06:20:14 ubuntu gnome-session-binary[2260]: GnomeDesktop-WARNING: Could 
not create transient scope for PID 2839: Timeout was reached
Jun 04 06:20:20 ubuntu dbus-daemon[1316]: [system] Failed to activate service 
'org.freedesktop.PackageKit': timed out (service_start_timeout=25000ms)
Jun 04 06:20:22 ubuntu dbus-daemon[1316]: [system] Failed to activate service 
'org.freedesktop.ModemManager1': timed out (service_start_timeout=25000ms)
Jun 04 06:20:22 ubuntu geoclue[2789]: Failed to connect to ModemManager: Error 
calling StartServiceByName for org.freedesktop.ModemManager1: Timeout was 
reached
Jun 04 06:20:34 ubuntu gnome-session[2260]: gnome-session-binary[2260]: 
GnomeDesktop-WARNING: Failed to acquire idle monitor object manager: Timeout 
was reached
Jun 04 06:20:34 ubuntu gnome-session-binary[2260]: GnomeDesktop-WARNING: Failed 
to acquire idle monitor object manager: Timeout was reached
Jun 04 06:20:50 ubuntu gsd-xsettings[2821]: Failed to get current display 
configuration state: Timeout was reached
Jun 04 06:20:58 ubuntu gsd-media-keys[2812]: Failed to create proxy for 
screencast: Error calling StartServiceByName for org.gnome.Shell.Screencast: 
Timeout was reached
Jun 04 06:21:12 ubuntu gsd-power[2813]: Could not create GnomeRRScreen: Timeout 
was reached
Jun 04 06:21:15 ubuntu gsd-xsettings[2821]: Failed to get current display 
configuration state: Timeout was reached
Jun 04 06:21:16 ubuntu gsd-color[2807]: failed to connect to colord: Error 
calling StartServiceByName for org.freedesktop.ColorManager: Timeout was reached
Jun 04 06:21:16 ubuntu dbus-daemon[1316]: [system] Failed to activate service 
'org.freedesktop.ColorManager': timed out (service_start_timeout=25000ms)
Jun 04 06:21:38 ubuntu systemd[1687]: 
org.gnome.SettingsDaemon.XSettings.service: start operation timed out. 
Terminating.
Jun 04 06:21:39 ubuntu dbus-daemon[1712]: [session uid=999 pid=1712] Failed to 
activate service 'org.gnome.Shell.CalendarServer': timed out 
(service_start_timeout=120000ms)
Jun 04 06:21:40 ubuntu gsd-xsettings[2821]: Failed to get animations-enabled 
state: Timeout was reached
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.freedesktop.FileManager1': timed out 
(service_start_timeout=120000ms)
Jun 04 06:22:08 ubuntu gsd-xsettings[3021]: Failed to get current display 
configuration state: Timeout was reached
Jun 04 06:22:34 ubuntu gsd-xsettings[3021]: Failed to get current display 
configuration state: Timeout was reached
Jun 04 06:23:00 ubuntu gsd-xsettings[3021]: Failed to get animations-enabled 
state: Timeout was reached
Jun 04 06:23:29 ubuntu gnome-shell[2760]: Error calling StartServiceByName for 
org.freedesktop.PackageKit: Failed to activate service 
'org.freedesktop.PackageKit': timed out (service_start_timeout=25000ms)
Jun 04 06:23:29 ubuntu gnome-shell[2760]: Gio.DBusError: Error calling 
StartServiceByName for org.freedesktop.FileManager1: Failed to activate service 
'org.freedesktop.FileManager1': timed out (service_start_timeout=120000ms)
Jun 04 06:25:18 ubuntu org.gnome.Evolution-alarm-notify.desktop[2831]: Error 
calling StartServiceByName for org.gnome.evolution.dataserver.Sources5: Timeout 
was reached
Jun 04 06:26:49 ubuntu gnome-shell[2760]: Received error from DBus search 
provider org.gnome.Calendar.desktop during XUbuntuCancel: Gio.IOErrorEnum: 
Timeout was reached
Jun 04 06:27:01 ubuntu gsd-media-keys[3189]: # Error creating terminal: Timeout 
was reached
Jun 04 06:27:01 ubuntu org.gnome.Terminal.desktop[3266]: # Error creating 
terminal: Timeout was reached
Jun 04 06:27:19 ubuntu gnome-calendar[3202]: Failed to open/connect to 
calendar: Unable to connect to “Personal”: Error calling StartServiceByName for 
org.gnome.evolution.dataserver.Calendar8: Timeout was reached
Jun 04 07:03:42 ubuntu snapd[3866]: daemon.go:440: adjusting startup timeout by 
35s (pessimistic estimate of 30s plus 5s per snap)

** Affects: casper (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "journalctl.log"
   
https://bugs.launchpad.net/bugs/1930880/+attachment/5502447/+files/journalctl.log

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

Title:
  Booting Ubuntu 21.04 from DVD takes more than 30 minutes and its
  environment are corrupted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1930880/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to