[CentOS] modprobe :: not finding existing .ko

Fri Mar 18 16:36:23 UTC 2011
Adrian Sevcenco <Adrian.Sevcenco at cern.ch>

On 03/18/2011 06:22 PM, Akemi Yagi wrote:
> On Fri, Mar 18, 2011 at 9:03 AM, Adrian Sevcenco
> <Adrian.Sevcenco at cern.ch>  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.
>
> When using the modprobe command, you need to omit the ".ko" part.
ufff ... i just copy pasted the file name :((
root at sevcenco: ~ # modprobe -v padlock-aes
insmod /lib/modules/2.6.38-0.el5.elrepo/kernel/crypto/aes_generic.ko
insmod /lib/modules/2.6.38-0.el5.elrepo/kernel/drivers/crypto/padlock-aes.ko

Thanks for help :)
Adrian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3110 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20110318/082b53fb/attachment-0005.p7s>