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