When trying to install hw_random to a 2.6 kernel, modprobe returns a FATAL error "No such device" on both CentOS 5.7 and Fedora 15. Both are using the latest kernel, respectively.

The .ko file exists, and config- contains CONFIG_RTC=y and CONFIG_CRYPTO_RNG=m

Both servers are x86_64 AMD processors.

The only google results are very old, often reference the kernel module 'hw_random' (which has been replaced with processor specific modules and don't offer much help.

Has anyone been able to install hw_random? Am I missing a step while installing the module?

Edit:

Fedora 15

/lib/modules/2.6.40.6-0.fc15.x86_64/kernel/drivers/char/hw_random/amd-rng.ko

# uname -r

2.6.40.6-0.fc15.x86_64

# modprobe -v amd-rng

insmod /lib/modules/2.6.40.6-0.fc15.x86_64/kernel/drivers/char/hw_random/amd-rng.ko

FATAL: Error inserting amd_rng (/lib/modules/2.6.40.6-0.fc15.x86_64/kernel/drivers/char/hw_random/amd-rng.ko): No such device

CentOS 5.7

/lib/modules/2.6.18-274.7.1.el5/kernel/drivers/char/hw_random/amd-rng.ko

# uname -r

2.6.18-274.7.1.el5

# modprobe -v amd-rng

insmod /lib/modules/2.6.18-274.7.1.el5/kernel/drivers/char/hw_random/amd-rng.ko

FATAL: Error inserting amd_rng (/lib/modules/2.6.18-274.7.1.el5/kernel/drivers/char/hw_random/amd-rng.ko): No such device

link|improve this question
Where is the .ko file located? What is the output of modprobe -v ...? Also post the uname -r? – quanta Nov 16 '11 at 2:07
@quanta added additional information – CrackerJack9 Nov 17 '11 at 6:35
is there any additional info that would be helpful? – CrackerJack9 Dec 20 '11 at 3:58
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.