Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

boot openrccrng init done running restore state

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
pescatore
n00b
n00b
Posts: 27
Joined: Sun Apr 03, 2005 12:09 pm
Location: milano

boot openrccrng init done running restore state

  • Quote

Post by pescatore » Wed Nov 06, 2019 9:28 pm

Icannot say what this is, never happen before. boot run at some lines after openrc and start to produce that "restore state" what goes and goes, I try to find where it stops but it didnt. I had to kill it.
When it was running that piece it was impossible to make notis of keyboard, dead. So it was switch off. Dmesg gave data of boot of livecd, that run without problem. Thats going on a week, computer out of use Livecd and try. Kernel 5.3.0 > 5.3.7 gcc 9.20 and so on.
Is it better to look where you put your feets than put your feets to where you look?
sama suomeksi: Onko parempi katsoa mihin astuu kuin astua mihin katsoo?
Top
pescatore
n00b
n00b
Posts: 27
Joined: Sun Apr 03, 2005 12:09 pm
Location: milano

Fishing on to litle more and find that rc-status --servicel

  • Quote

Post by pescatore » Sun Nov 10, 2019 10:17 pm

going with livecd to chroot and using rc-status --servicelist gave same result direct after enter gome that restore status some hundred times. So I think that problem stays there somewhere after " caching service dependencies" but I cant find witch one. If i play a litle more with ctrl s prints out: 1364.735... random crng init done.
I am continuing fishing. ?
Is it better to look where you put your feets than put your feets to where you look?
sama suomeksi: Onko parempi katsoa mihin astuu kuin astua mihin katsoo?
Top
axl
Veteran
Veteran
User avatar
Posts: 1147
Joined: Fri Oct 11, 2002 7:42 pm
Location: Romania
Contact:
Contact axl
Website

  • Quote

Post by axl » Mon Nov 11, 2019 4:24 am

There's a new option in the kernel starting with line 5.2 (I think - not sure) called: Trust the CPU manufacturer to initialize Linux's CRNG (CONFIG_RANDOM_TRUST_CPU). Can also be toggled with a boot parameter: random.trust_cpu=on/off

The short story is: turns out you can hack a machine easier if you have access to the way that machine generates random entropy. /dev/random|urandom. So now, we can switch either way.

The behavior you see here is your kernel not trusting CPU random entropy. If you trust your cpu/machine just toggle random.trust_cpu=on or CONFIG_RANDOM_TRUST_CPU=y and crng will init almost instantly.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56078
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Nov 11, 2019 11:24 am

After all the CPU exploits from the last few years how can you trust it with anything
Especially something as crucial to security as your source of random numbers?

/dev/random blocks on lack of entropy and in used for crypto keys and the like.
/dev/urandom does not block but as not as 'good' a source of randomness.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
pescatore
n00b
n00b
Posts: 27
Joined: Sun Apr 03, 2005 12:09 pm
Location: milano

restore state

  • Quote

Post by pescatore » Thu Nov 14, 2019 9:03 pm

I found a answer from one post 2011: culprit was Alsasound and its mixer levels. Alsasound conf and dont copy levels at start was right medicin. So I am an happy Gentoo user, again. In general I am very soddisfat with it. Thanks to al off you.
Is it better to look where you put your feets than put your feets to where you look?
sama suomeksi: Onko parempi katsoa mihin astuu kuin astua mihin katsoo?
Top
Post Reply

5 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic