EmbLogic's Blog

insmod error

while MAKE there is no error.
when i try to insmod :
following error is produced :
insmod : error inserting ‘./modules/lkm.ko’ : -1 operation not permitted
But the amazing thing is that my driver is registered in /proc/devices(major number is allotted) and on doing dmesg : the buffer has the printk output in it.

Secondly, the *.ko file from different directory and as well as from my other colleagues are working fine my laptop fine.

I tried copying the data to a new place but no avail.
Sir, please let me know what to do.
i am using the above command in super user mode (su – ), but still i have the problem.
Fedora 15 64 bit
kernel 2.6.40

i have written the driver from scratch but again no avail, but i got more confident in driver while writing it again.

Tried google it but no avail.

I am troubled by it and my work is also stopped…

2 Responses to insmod error

  1. you used a undefined character in yr driver during programming and thats y messages ivoked tht operation not permitted . Just find the undefined symbol…….

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>