[CentOS] modprobe :: not finding existing .ko

Fri Mar 18 20:29:30 UTC 2011
Ned Slider <ned at unixmail.co.uk>

On 18/03/11 16:49, m.roth at 5-cent.us wrote:
> Adrian Sevcenco wrote:
>> Hi! I try to load an module that it is found in curent
>> /lib/modules/`uname -r` tree ...
>> root at sevcenco: ~ # ls -l /lib/modules/`uname
>> -r`/kernel/drivers/crypto/padlock-*
>> -rwxr--r-- 1 root root 14296 Mar 16 19:37
>> /lib/modules/2.6.38-0.el5.elrepo/kernel/drivers/crypto/padlock-aes.ko
>> -rwxr--r-- 1 root root 10808 Mar 16 19:37
>> /lib/modules/2.6.38-0.el5.elrepo/kernel/drivers/crypto/padlock-sha.ko
>>
>> but if i try :
>> root at sevcenco: ~ # modprobe -v padlock-aes.ko
>> FATAL: Module padlock_aes.ko not found.
> <snip>
> Here's a question: what kernel are you running? The most current CentOS
> 5.5 is 2.6.18-194.32.1.el5, while you're pointing to 2.6.38-0, unless I
> misunderstand how the elrepo modules are installed.
>

That's not an elrepo kmod, it's an elrepo kernel (kernel-ml) he is running:

http://elrepo.org/tiki/kernel-ml
http://elrepo.org/linux/kernel/el5/

Elrepo also provide the latest stable (currently 2.6.38) and latest long 
term (2.6.35.11) kernels from upstream built and packaged for RHEL5. 
These aren't recommended for production use but may prove useful for 
testing hardware and/or troubleshooting purposes.