Unable to Use /dev/tpm0 as RNG for rngd

Solution Verified - Updated -

Issue

  • On a system with TPM enabled I am unable to start rngd with /dev/tpm0 as a random number generator.
# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
# ls -la /dev/tpm0 
crw------- 1 root root 10, 224 Jan 20 17:55 /dev/tpm0
# lsmod|grep tpm
tpm_tis                48077  1 
tpm                    50273  1 tpm_tis
tpm_bios               40897  1 tpm
# rngd -f
can't open entropy source(tpm or intel/amd rng)
Maybe RNG device modules are not loaded

Environment

  • Red Hat Enterprise Linux, version 5
  • Dell PowerEdge R815 with Trusted Platform Module (TPM) enabled

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.