Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
random: nonblocking pool is initialized
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
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2587

PostPosted: Thu Nov 24, 2016 12:19 pm    Post subject: random: nonblocking pool is initialized Reply with quote

Could someone please tell me what's behind this "random: nonblocking pool" message?

Very often (not every time) I have this on boot coming before udevd and then it's blocking for about 5 seconds.
Code:
[    3.244653] random: nonblocking pool is initialized
[    8.248754] udevd[476]: starting version 3.1.5
Back to top
View user's profile Send private message
guitou
Guru
Guru


Joined: 02 Oct 2003
Posts: 391
Location: France

PostPosted: Thu Nov 24, 2016 12:51 pm    Post subject: Reply with quote

Hello.
Timestamps here reflect the time when related operation "returns".
So the 5 seconds delay is not due to random generator initialization, but to udev.

++
Gi)
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2587

PostPosted: Thu Nov 24, 2016 4:04 pm    Post subject: Reply with quote

guitou, thanks for the informattion. Maybe I'll save my dmesg logs for some days and then compare.
Thanks again.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3652
Location: Hamburg

PostPosted: Thu Nov 24, 2016 9:18 pm    Post subject: Reply with quote

charles17 wrote:
guitou, thanks for the informattion. Maybe I'll save my dmesg logs for some days and then compare.
Thanks again.
after each kernel update I do in ~/tmp :[code]rel=$(uname -r); sudo zcat /proc/config.gz > config.$rel; sudo dmesg --notime > dmesg-$rel; sudo lsmod | sort > lsmod-$rel
[/codeand use meld to compare old versus current.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2587

PostPosted: Fri Nov 25, 2016 9:59 am    Post subject: Reply with quote

toralf wrote:
after each kernel update I do in ~/tmp :
Code:
rel=$(uname -r); sudo zcat /proc/config.gz > config.$rel; sudo dmesg --notime > dmesg-$rel; sudo lsmod | sort > lsmod-$rel
and use meld to compare old versus current.

Checking kernel configuration changes is another story. I do that right after leaving menuconfig using diff or vimdiff.
But, what in this case (nonblocking pool, udevd) should I be looking for?

Anyway, regarding dmesg logs, I have /var/log/dmesg as a single file from actual boot.
Is there a way to have it with timestamp in the filename, so not getting overwritten on next boot?
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