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…
you used a undefined character in yr driver during programming and thats y messages ivoked tht operation not permitted . Just find the undefined symbol…….
i have check it twice already…but what i am finding is that the unregister_chrdev_region is creating the problem