Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New install boot hangs at netmount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
imieinazwisko
n00b
n00b


Joined: 13 Feb 2020
Posts: 20

PostPosted: Thu Feb 13, 2020 3:07 am    Post subject: New install boot hangs at netmount Reply with quote

I just completed a Gentoo install and it is hanging when trying to do netmount. I have no network drives that need to be mounted so thinking this would be an easy fix I disabled it via:
Code:
rc-update remove netmount default

Now the system hangs on boot immediately after completing the
Code:
running dhcpd
. It appears to get an IP address just fine and then stalls when it says:
Code:
received address
.
This startup message makes no sense to me and I'm not sure where to begin to diagnose it. Is the problem actually with netmount and I should re-enable it and diagnose the problem from there?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3238

PostPosted: Thu Feb 13, 2020 9:18 am    Post subject: Reply with quote

Welcome to Gentoo.

Please have a look in
]/etc/rc.conf wrote:
# Global OpenRC configuration settings

# Set to "YES" if you want the rc system to try and start services
# in parallel for a slight speed improvement. When running in parallel we
# prefix the service output with its name as the output will get
# jumbled up.
# WARNING: whilst we have improved parallel, it can still potentially lock
# the boot process. Don't file bugs about this unless you can supply
# patches that fix it without breaking other things!
#rc_parallel="NO"

# Set rc_interactive to "YES" and you'll be able to press the I key during
# boot so you can choose to start specific services. Set to "NO" to disable
# this feature. This feature is automatically disabled if rc_parallel is
# set to YES.
#rc_interactive="YES"

Uncommenting the #rc_interactive="YES" line will give to the possibility to step through the booting process and see what exactly is hanging.
And, make sure you did not confuse with more than one network manager
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7653
Location: Saint Amant, Acadiana

PostPosted: Thu Feb 13, 2020 10:55 am    Post subject: Reply with quote

This may be related: https://forums.gentoo.org/viewtopic-t-1081710-start-0.html
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
imieinazwisko
n00b
n00b


Joined: 13 Feb 2020
Posts: 20

PostPosted: Thu Feb 13, 2020 11:34 pm    Post subject: Reply with quote

Jaglover wrote:
This may be related: https://forums.gentoo.org/viewtopic-t-1081710-start-0.html


Wow, thanks! This seems to have fixed it strangely enough. Reading through it I was just going to dismiss it because it talks about WPA and I did not even compile wireless capability. Reading into it though it appeared more broad so I gave it a go. I'm not sure I entirely understand the fix. At a high level it seems that certain boot processes need random numbers and the built in generator hangs so the answer is to install another, more reliable generator? I never knew boot processes needed random numbers fed to them.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7653
Location: Saint Amant, Acadiana

PostPosted: Thu Feb 13, 2020 11:56 pm    Post subject: Reply with quote

This was the first hit in startpage.com: https://blog.cloudflare.com/ensuring-randomness-with-linuxs-random-number-generator/
Quote:
On Linux, the root of all randomness is something called the kernel entropy pool. This is a large (4,096 bit) number kept privately in the kernel’s memory. There are 24096 possibilities for this number so it can contain up to 4,096 bits of entropy. There is one caveat - the kernel needs to be able to fill that memory from a source with 4,096 bits of entropy. And that’s the hard part: finding that much randomness.

_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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