insmod: Invalid parameters, when running from shared folder. Why?

Discussion in 'Linux Virtual Machine' started by Alexander3, Jan 25, 2016.

  1. Alexander3

    Alexander3 Bit poster

    Messages:
    5
    I love working with shared folders: I can use my favourite IDE on MAC, and get result on target guest OS immediately.

    Today i got the issue: i copied simple example for linux kernel module to shared folder (with linux guest os), compiled it on guest machine and tried to perform "sudo insmod hello.ko". it failed with 'Invalid parameters' error.

    I was very confused because my module did not have any params - it was intended just to say "Hello, world."
    When i copied same files to normal non-shared folder on guest linux os and re-compiled code everything worked fine. Is it Parallels - related issue / bug? Why it behaves this way?

    Original description at stackoverflow
     

Share This Page