[SOLVED] 3 minutes boot delay due to udev worker timeout in linux-5.6-bpo kernel
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
3 minutes boot delay due to udev worker timeout in linux-5.6-bpo kernel
With linux 5.6.0-0.bpo.2-amd64, while booting it is stuck at "waiting for /dev to be fully populated...(time out)".
There is no such issue with kernel -4.19.0-9-amd64. I am just trying the latest kernel and wonder if any module is missing? Attached is the diff result comparing 4.19.0-9 and 5.6.0-0.bpo.2 kernels.
System running on openRC + eudev etc.
This is the message when I shutdown the system:
Code:
Currently running processes (pstree): init-*-rc--openrc---openrc-run---sendsigs---pstree *-udevd---3*[udevd] Killing all processes... : worker [xyzab]
failed while handling '/devices/pci0000:00/0000:00:1c.3/0000:09:00:0/usb4/4-0' udevd worker [xxxx]
failed while handling '/devices/pci0000:00/0000:00:1c.3/0000:09:00:0/usb3/3-0:1-0'
I am not sure where to look into, to find the problem. BTW, I've tried other 5.x kernels and the problem persists.
I tried booting with rw init=/bin/bash and started services manually. /etc/rcS.d/S02eudev takes a minute to finish with "done. (time out)" message shown.
Installed haveged. But, udev waiting & time out continues. What is least helpful with this fresh Beowulf install is, I cannot find any logs about what is actually failing or "hangs" while booting or in any log files. In the previous installation (from ascii to beowulf), when I boot with linux-5.6.x, I can see some usb id's related error messages can be seen. (I guess a bluetooth adapter and wireless adapter).
Right now, I saw some message while shutting down. I think it's complaining about usb device and udevd worker. (will confirm)
Where do I start with? I tried starting init scripts manually and even eudev started fine. If I run "udevadm settle" it takes few minutes.
Last edited by deepclutch; 06-30-2020 at 09:35 AM.
I ended up removing most of the packages by removing linux-image-5.6.x, eudev, elogind, apt (involuntary) and other critical packages. This removed whole of X11, wayland and Gnome/GTK packages as well. Around 515 packages. Then, reinstalled kernel-5.6, eudev, elogind, apt (it was tricky for novices). On next reboot, it went smooth. No error messages.
Yet to find out which package(s) is breaking the system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.