ayufan-rock64 / linux-build

Rock64 Linux build scripts, tools and instructions
MIT License
563 stars 100 forks source link

rng-tools service fails to start #203

Open Scalextrix opened 6 years ago

Scalextrix commented 6 years ago

Trying to use rng-tools package to feed entropy from the Rock 64 hardware TRNG. /dev/hwrng appears to be available and rng-tools config file is set to feed from that source but on running FIPS tests on /dev/random its starved of entropy. rng-tools.service fails to start, but with no specific error. After some research the issue may be that the kernel has no drivers for the Rock 64 TRNG, and no modules are available on lsmod?

JasonSwindle commented 6 years ago

+1 to this. Using the RockPro64 as a docker work-horse, RNG can get very low. The RK3399 has hardware RNG, but fails to work.