LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums HCL Reviews Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
View First Unread View First Unread   Search this Thread
Old 09-07-2017, 02:40 PM   #1
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 650

Rep: Reputation: 135Reputation: 135
Debian hangs at boot with "random: crng init done"?


Hello, I have a debian machine that hangs giving at boot:
"random: crng init done"

It seems that it is an issue that may occur. Would you eventually know in which solving solution I might look at?

Pitty for more info and report, I finally had to reinstall this server. Hopefully this interesting issue comes again once more.

Best regards

Last edited by patrick295767; 09-07-2017 at 03:14 PM.
 
Old 09-07-2017, 09:36 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,957
Blog Entries: 18

Rep: Reputation: 3376Reputation: 3376Reputation: 3376Reputation: 3376Reputation: 3376Reputation: 3376Reputation: 3376Reputation: 3376Reputation: 3376Reputation: 3376Reputation: 3376
According to this article from the Arch Wiki, the error means

Quote:
the system has long reached its default boot target before the kernel gathered enough entropy to initialize the pool. Due to systemd requiring entropy at an early stage, it may happen though that the pool is depleted in the boot process without further kernel warnings.
I have no idea how to fix it. A web search for the error message turns up little but nothing that seems explicity to help.

What version of Debian and what is the kernel version as well the computer's specs? This information may help others who look at this thread.
 
Old 11-26-2017, 08:41 AM   #3
jondaley
LQ Newbie
 
Registered: Nov 2017
Location: NH, USA
Distribution: Debian Testing
Posts: 1

Rep: Reputation: Disabled
This thread is the number 1 hit in google for that log message. In my case, the power had been yanked on the machine, and so had an unclean shutdown.

The next step that should happen within seconds of that message is to mount the filesystem, so it makes sense there is a delay there, though I would have expected a fsck sort of message showing that it was checking the filesystem.

After 10 minutes (on a 500GB LSI RAID1 drive) it completed the boot like nothing happened.

I rebooted again, and it booted like normal. Whew.
 
Old 12-24-2017, 08:48 AM   #4
giis
Member
 
Registered: Nov 2013
Location: Third Rock from Moon
Distribution: RPM/DEB based and LFS
Posts: 66

Rep: Reputation: Disabled
@patrick295767, Have you found a solution for this? I'm seeing the same message now with User mode Linux.
 
Old 12-27-2017, 10:50 AM   #5
tteigue
LQ Newbie
 
Registered: Dec 2017
Distribution: Centos
Posts: 1

Rep: Reputation: Disabled
Same issue here. Running Centos7 VM on Ovirt. Added a new disk to a server that has been running with no issues, went to reboot and this is where I now get hung...

random: crng init done (Sits there for hours)

Went ahead and removed the new drive thinking that may be the issue but I still continue to see the same message during boot up.

Thanks,
Tommie
 
Unread 01-07-2018, 07:09 PM   #6
weinerwad3000
Member
 
Registered: Aug 2013
Posts: 62

Rep: Reputation: Disabled
I hope this helps someone. I was having this problem and it turned out it was my SD card. After removing the SD card it booted normal
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KDE 4.8.5: random "hangs" on login kikinovak Slackware 3 02-13-2013 09:11 PM
PClinuxOS hangs on boot: "Kernal panic- not syncing: Attempted to kill init! redbuttelinux Linux - Newbie 7 06-09-2010 06:32 AM
2.4.36.3: busybox's Init hangs at "Freeing unused kernel memory: " tilman1 Linux - Kernel 6 06-16-2008 03:01 AM
Debian Distro: Skype "connecting" hangs and get stuck, debian Xeratul Linux - General 0 12-24-2006 06:04 AM
"Init 1" hangs, but only occasionally mfeat Red Hat 0 10-19-2003 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration