Bug 11853 - rngd doesn't start on IPFire Duo Box on i586
Summary: rngd doesn't start on IPFire Duo Box on i586
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: Will only affect a few users Crash
Assignee: Michael Tremer
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-07 13:10 UTC by Michael Tremer
Modified: 2018-10-15 13:48 UTC (History)
1 user (show)

See Also:


Attachments
Screenshot of Entropie In Ipfire Duo V1.1 (38.97 KB, image/png)
2018-09-07 13:38 UTC, Michael Klein
Details
Output rngd -V and -l (420 bytes, text/plain)
2018-09-07 13:43 UTC, Michael Klein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tremer 2018-09-07 13:10:41 UTC
RDRAND isn't listed as a source and therefore rngd doesn't start.
Comment 1 Michael Klein 2018-09-07 13:38:29 UTC
Created attachment 621 [details]
Screenshot of Entropie In Ipfire Duo V1.1
Comment 2 Michael Klein 2018-09-07 13:43:42 UTC
Created attachment 622 [details]
Output rngd -V and -l

The output of rngd -V and rngd -l.
Comment 3 Michael Tremer 2018-09-09 16:42:22 UTC
The configure script of rng-tools checks the following:

> AM_CONDITIONAL([RDRAND], [test $target_cpu = x86_64 -o $target_cpu = i686])
> AS_IF([test $target_cpu = x86_64 -o $target_cpu = i686], [AC_DEFINE([HAVE_RDRAND],1,[Enable RDRAND])],[])

Since we are i586, support for RDRAND is disabled.

I will send a patch shortly.
Comment 4 Michael Tremer 2018-09-10 00:19:32 UTC
https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=fd0a0384f07b399e9cb4cf46b4c5722b809ffe6a

This was a problem in rng-tools.
Comment 5 Michael Tremer 2018-09-10 15:27:24 UTC
Unfortunately the maintainer of rng-tools has rejected the patch because he does not understand that i586 is compatible with modern processors.

That means that we will have to carry this patch ourselves.