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

Error trying to run infnoise output through dieharder on Ubuntu #98

Open
JamesTimothyMeech opened this issue Apr 21, 2023 · 2 comments
Open
Assignees

Comments

@JamesTimothyMeech
Copy link

JamesTimothyMeech commented Apr 21, 2023

When I try to run the infnoise output through dieharder on my Ubuntu 22.04 computer I get this error:

$sudo infnoise | dieharder -g 200 -a Error: USB read failed \# stdin_input_raw(): Error: EOF

@JamesTimothyMeech
Copy link
Author

The backslash before # comes from me escaping the # to stop github rendering the rest of the line as a markdown title

@manuel-domke
Copy link
Collaborator

When installing the Infinite Noise driver, it also creates a systemd service called infnoise (that feeds /dev/random),
which you need to stop before running the infnoise command manually.

Run
systemctl infnoise stop
to stop it

Or
systemctl disable infnoise
to completely disable it.

Only then you can use the "infnoise" command manually.
Otherwise the systemd service will be interrupted and when it restarts, it will interrupt your manually invoked infnoise command (race-condition)

@manuel-domke manuel-domke self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants