Welcome to the Linux Foundation Forum!

insmod: ERROR: could not insert module task01.ko: Operation not permitted

Hello Everyone, I am trying to write linux kernel module (Hello World). I am able to build the module but am unable to load it.
while doing insmod for loading the module permission is getting denied. I tried even doing it with root and also with sudo, but not work anything.
Please suggest me what I do?

Comments

  • ShuahKhanLF
    ShuahKhanLF Posts: 121

    If you are working on a challenge, asking questions about it can disqualify from continuing.

  • shubham123
    shubham123 Posts: 9

    Ma'am, this is the system internal error and that's why I am asking here in forum.
    Sorry for asking

  • ShuahKhanLF
    ShuahKhanLF Posts: 121

    If this error is a result of of your work on the challenge, then don't ask anyone for help. You are supposed to work on this on your own.

  • shubham123
    shubham123 Posts: 9

    okay Ma'am, Sorry.
    I will correct it by myself.

Categories

Upcoming Training