Announcement

Collapse
No announcement yet.

insmod: error inserting './test.ko' : -1 operation not permitted on kubuntu 7.10

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    insmod: error inserting './test.ko' : -1 operation not permitted on kubuntu 7.10

    Hi,

    This is the problem while inserting the module, usind insmod command.
    a simple module code has 2 parts, init_module, cleanup_module, it does nothing just uses printk to print some message. I compiled it using make command on kubuntu 7.10, with kernel 2.6.

    It created the module, test.ko. Then i tried to insert the module using,
    insmod ./test.ko

    Then it gives the error:

    insmod: error inserting './test.ko' : -1 operation not permitted

    anyone having got same error, for insmod please help me.
    any suggestions welcome.

    thanks





    #2
    Re: insmod: error inserting './test.ko' : -1 operation not permitted on kubuntu

    Maybe:
    Code:
    :~$ sudo insmod ./test.ko

    As:
    :~$ insmod ./fglrx.ko
    insmod: error inserting './fglrx.ko': -1 Operation not permitted
    :~$ sudo insmod ./fglrx.ko
    [sudo] password for rog:
    insmod: error inserting './fglrx.ko': -1 File exists
    (i allready have fglrx.ko)


    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment

    Working...
    X