Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow startup due to rndg using all cpu #487

Closed
burkhre2 opened this issue Dec 8, 2023 · 3 comments
Closed

Slow startup due to rndg using all cpu #487

burkhre2 opened this issue Dec 8, 2023 · 3 comments

Comments

@burkhre2
Copy link

burkhre2 commented Dec 8, 2023

DO NOT remove the blocks below, but fill these with the requested data. Incomplete bug reports will be ignored!
You should remove this comment before posting the bug report.

Describe the bug
When freshly starting hifiberryos on a raspberry4 I can login with ssh and with top I see full CPU usage by rndg during a minute or more.

Also the xecution of rngd --list hangs on TPM step

This seems related to https://bugzilla.redhat.com/show_bug.cgi?id=1739730
Work-around:
Replace in /etc/systemd/system/multi-user.target.wants/rngd.service the line with ExecStart by
ExecStart=/usr/sbin/rngd -f --no-tpm=1

HiFiBerryOS version
Buildroot 2021.11
Linux hifiberry 5.15.78-v7l #1 SMP Mon Apr 3 20:04:51 UTC 2023 armv7l GNU/Linux

HiFiBerry sound card
Amp2

To Reproduce
Steps to reproduce the behavior:

  1. Shut dowen hifiberryos
  2. Startup hifiberryos
  3. Login via ssh with root
  4. Start top

Expected behavior
No high cpu usage during longer time

Screenshots
If applicable, add screenshots to help explain your problem.

Browser (if applicable)

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@burkhre2 burkhre2 changed the title Slow startuo due to rndg using all cpu Slow startup due to rndg using all cpu Dec 8, 2023
@hifiberry
Copy link
Owner

We're just working on a new HBOS version based on a newer Buildroot release. This doesn't seem to have this issue anymore.

@hifiberry
Copy link
Owner

Can you try the latest HBOS 64 Alpha release? It should be fixed in this.

@burkhre2
Copy link
Author

Hi,

the slow bootup has now gone.
Also the storage of the last volume now works instead of always starting with max volume.

But now the wireless remote control does not work any more!! The usb stick for the remote is recognised, but the system does not react on any keypress. On the previous version it has worked.

Similar symptoms as described in https://support.hifiberry.com/hc/en-us/community/posts/360015923778-HiFiBerry-Remote-Control

Regards

Rene Burkhardt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants