error : insmod
Jeff Kirsher
tarbal at gmail.com
Mon Feb 11 05:06:02 EST 2013
On 02/11/2013 01:54 AM, sunil wrote:
> hi all,
> while inserting module to the linux kernel, m facing this problem
> -------------------------------------------ERROR-----------------------------------------------------
>
> sunil at ubuntu:~/test/drive$ insmod helloworld.ko
> insmod: error inserting 'helloworld.ko': -1 Operation not permitted
>
> sunil at ubuntu:~/test/drive$ sudo modprobe helloworld
> FATAL: Module helloworld not found.
>
It is a path issue, you need to specify the entire path to helloworld.ko.
For example:
sudo insmod /path/to/your/helloworld.ko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130211/5bf00edb/attachment-0001.bin
More information about the Kernelnewbies
mailing list