Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Unable to boot - udev stuck on "Waiting for..."
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Wintershade
n00b
n00b


Joined: 21 Jul 2007
Posts: 32
Location: Croatia

PostPosted: Tue Apr 12, 2016 12:18 am    Post subject: [SOLVED] Unable to boot - udev stuck on "Waiting for... Reply with quote

Hey guys,

I've just made a fresh Gentoo installation on my laptop, and now I'm having trouble booting. For the record, until a few days ago I've had a fully working Gentoo install, but after 5-6 months of experimenting with various /etc settings, portage overlays, etc. I figured the easiest way to clean everything up was to make a clean reinstall.

So anyway, I follow the Gentoo Handbook and I install the stage3, compile the ~amd64 kernel (via genkernel), install grub, generate an EFI image, reboot... and the system hangs. At least from what I can tell. It gets stuck on the udev message "Waiting for uevents to be processed" and never goes past this point (I've actually left it like that for a few hours).


Can anyone shed some light on this? I know this question was already posted, but the "newest" such thread I could find was from 3 years ago :(
Thanks in advance!
_________________
Only the best is good enough.

My make.conf file


Last edited by Wintershade on Mon Apr 18, 2016 11:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 814

PostPosted: Wed Apr 13, 2016 10:37 am    Post subject: Reply with quote

i've had this problem once (a long time ago) and booting would continue if i just hit <ENTER> (or maybe <CTRL-C>?) at "waiting for uevents ...". i think it went away after reinstalling openrc (or maybe changing a setting in rc.conf).
sorry i can't remember more since it happened so long ago.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Wed Apr 13, 2016 12:05 pm    Post subject: Re: Unable to boot - udev stuck on "Waiting for uevents Reply with quote

Wintershade wrote:
I've just made a fresh Gentoo installation on my laptop, and now I'm having trouble booting.

Are you sure you used a recent stage 3 for installation as from https://get.gentoo.org/?

Wintershade wrote:
Can anyone shed some light on this? I know this question was already posted, but the "newest" such thread I could find was from 3 years ago :(

Setting rc_parallel="YES" in /etc/rc.conf should help, hopefully.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Wed Apr 13, 2016 12:12 pm    Post subject: Reply with quote

it must hangs at waiting for uevent while dev manager is stuck trying to load a missing firmware.
you should let it go for minutes until it pass the problem, check dmesg to see who is crying about firmware (mostly network card), install it and you'll should be good to go.
Back to top
View user's profile Send private message
Wintershade
n00b
n00b


Joined: 21 Jul 2007
Posts: 32
Location: Croatia

PostPosted: Thu Apr 14, 2016 10:53 pm    Post subject: Reply with quote

Hey guys, me again. Thanks for your feedback - I have tried most things:

I have made another fresh, clean install of Gentoo, without any modifications to any configuration file. The stage3 package was downloaded from https://get.gentoo.org
I have tried reinstalling OpenRC, as well as eudev.
I have bumped OpenRC to the latest ~amd64 version
I have downgraded eudev to version 3.1.2 rather than 3.1.5.
I have set rc_parallel="YES" in rc.conf.

None of these did any difference - booting still hangs at "Waiting for uevents to be processed."

Here is what OpenRC does before that:
Code:

/proc is already mounted
mounting /run...
/run/openrc: creating directory
/run/lock: creating directory
/run/lock: correcting owner
Caching service dependencies ...
Remounting devtmpfs on /dev ...
Mounting /dev/mqueue ...
Mounting /dev/shm ...
Creating lit of required static device nodes for the current kernel ...
Mounting security filesystem ...
Mounting debug filesystem ...
Mounting fuse control filesystem ...
Mounting SELinux filesystem ...
Mounting efivarfs filesystem ...
Mounting cgroup filesystem ...
Setting up tmpfiles.d for /dev ...
Starting udev ...
Generating a rule to create a /dev/root symlink ...
Populating /dev with existing devices through uevents ...
Waiting for uevents to be processed ...




...and that's it. It hangs. Pressing Enter or Ctrl+C or anything else makes no difference.


krinn wrote:
it must hangs at waiting for uevent while dev manager is stuck trying to load a missing firmware.
you should let it go for minutes until it pass the problem, check dmesg to see who is crying about firmware (mostly network card), install it and you'll should be good to go.

Waiting does no good. It does not move. How can I check dmesg if the system is frozen?



Thanks again!
_________________
Only the best is good enough.

My make.conf file
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Thu Apr 14, 2016 11:47 pm    Post subject: Reply with quote

There is a wonderful tool for situations like this known as The System Rescue CD.

Use it to examine /var/log/messages and /var/log/dmesg. Chroot from the environment to get portage working to install linux-firmware.

But first unplug anything like extra usb sticks, external hard drives, etc. You may find that the problem is actually one of them and low hanging fruit and all that.

Also, please to waste your time reinstalling again. All that does is give you the opportunity to make the same mistake twice. You don't reinstall Gentoo. You fix your mistakes. Most of the time anyway.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Wintershade
n00b
n00b


Joined: 21 Jul 2007
Posts: 32
Location: Croatia

PostPosted: Mon Apr 18, 2016 11:58 pm    Post subject: Reply with quote

There were no /var/log/messages or /var/log/dmesg files.

However, I eventually solved the problem. I was pointed out by a friend that, if I have Optimus graphics (which I do), I need to configure the kernel for it before booting Gentoo for the first time - i.e. I had to reconfigure the kernel and compile the Intel graphics module as built-in.

It all works now. Thanks everyone for your help!
_________________
Only the best is good enough.

My make.conf file
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum