Bug 19025 - 3 minutes delay in booting (systemd-udevd taking a long time)
Summary: 3 minutes delay in booting (systemd-udevd taking a long time)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-22 17:04 CEST by Wim Coulier
Modified: 2023-10-10 09:33 CEST (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
picture of messages shown during delay of boot (456.33 KB, image/jpeg)
2016-07-22 17:07 CEST, Wim Coulier
Details
Output of journalctl -ab > journal.txt (447.40 KB, text/plain)
2016-07-24 10:42 CEST, Wim Coulier
Details
systemd-analyze plot > boot.svg (206.42 KB, image/svg+xml)
2016-07-27 21:00 CEST, Wim Coulier
Details

Description Wim Coulier 2016-07-22 17:04:42 CEST
Description of problem: Each time laptop boots there is a delay of 2 min 59 seconds, where the boot process waits "for Complete Device Initialization". Nothing is shown to the user unless he uses "Esc", the messages in attach are shown.
This is on a laptop with a dual boot setup with the Microsoft partitions encrypted with bitlocker.
Comment 1 Wim Coulier 2016-07-22 17:07:15 CEST
Created attachment 8225 [details]
picture of messages shown during delay of boot
Comment 2 David Walser 2016-07-22 22:21:36 CEST
It looks like you have either incorrect UUIDs in either /etc/fstab or on your kernel command line, or the UUIDs are correct, but for devices that are not present.  This is a configuration issue you should be able to fix.
Comment 3 Marja Van Waes 2016-07-24 09:35:26 CEST
If reconfiguring doesn't help, then what are the /etc/fstab lines for the Microsoft partitions encrypted with bitlocker ?

CC: (none) => marja11, pterjan, tmb
Keywords: (none) => NEEDINFO

Comment 4 Marja Van Waes 2016-07-24 09:37:51 CEST
oh, and in that case, please do also run, as root, 


        journalctl -ab > journal.txt

and attach journalctl.txt to this report.

Or, if reconfiguring did fix the issue, please close this bug report.
Comment 5 Wim Coulier 2016-07-24 10:42:21 CEST
Created attachment 8247 [details]
Output of journalctl -ab > journal.txt
Comment 6 Wim Coulier 2016-07-24 10:46:14 CEST
For info: The win_c and win_c2 were in that case (as a result of encrypting those partitions with bitlocker from within windows). After removing the from fstab the two lines related to these partitions only the "wait for Complet Device Installation" line remained. Since I did not know how to get rid of that and the installation was still completely fresh, I did a full Mageia reinstall (formatting the / partition, but not /home). The "wait for Complete Device Installation" line was still there with the 2 min 59 sec delay. Also, after the delay, the laptop boots into Mageia just fine, so access to / and /home work just fine. For the rest fstab only contains the entry for EFI and none.

Since it was a potential configuration issue and not a bug, I asked for help on the forum, however up till now, without resulting to a fix: https://forums.mageia.org/en/viewtopic.php?f=8&t=11241
Comment 7 Marja Van Waes 2016-07-24 12:33:17 CEST
Comment on attachment 8247 [details]
Output of journalctl -ab > journal.txt

at 10:28:28 there are messages about systemd-udevd taking a long time, after that nothing happens for an entire minute. i don't manage to copy those lines to this comment on my phone
Comment 8 Marja Van Waes 2016-07-24 12:36:48 CEST
additionally, there are sddm segfaults, but those should no longer happen after last updates (and there's already a different bug report for that)

CC: (none) => mageia
Summary: 3 minutes delay in booting => 3 minutes delay in booting (systemd-udevd taking a long time)

Marja Van Waes 2016-07-24 12:37:12 CEST

Keywords: NEEDINFO => (none)

Comment 9 Sander Lepik 2016-07-27 13:53:17 CEST
Could you run the following command:

systemd-analyze plot > boot.svg

and then attach the boot.svg file. This should show which service is actually delaying the boot process.

CC: (none) => mageia

Comment 10 Wim Coulier 2016-07-27 21:00:20 CEST
Created attachment 8265 [details]
systemd-analyze plot > boot.svg
Comment 11 Marja Van Waes 2016-07-27 23:22:11 CEST
(In reply to Sander Lepik from comment #9)
> Could you run the following command:
> 
> systemd-analyze plot > boot.svg
> 
> and then attach the boot.svg file. This should show which service is
> actually delaying the boot process.

Thx, Sander, I didn't know that

(In reply to Wim Coulier from comment #10)
> Created attachment 8265 [details]
> systemd-analyze plot > boot.svg

And the winner is:

systemd-udev-settle.service (2min 511ms)

Assigning to Colin

Assignee: bugsquad => mageia

Comment 12 Wim Coulier 2016-08-06 15:05:47 CEST
Problem is gone now. I assume that one of the recent updates solved it. I've set the status to resolved.

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 13 Frank Olsen 2023-03-24 07:42:59 CET Comment hidden (spam)

CC: (none) => patrickknightpatrick8

Comment 14 Gerald Boyle 2023-10-10 09:33:04 CEST Comment hidden (spam)

CC: (none) => peanutsunless


Note You need to log in before you can comment on or make changes to this bug.