Operation not permitted

Help
steve
2006-08-15
2012-10-06
  • steve
    steve
    2006-08-15

    My configuration :
    gcc : 3.4
    kernel version : 2.6.8-2-386
    ndiswrapper : 1.23

    I use debian sarge, and I have installed ndiswrapper compiled of the repositories , bute it shows me an error :

    modprobe ndiswrapper

    error inserting '/lib/modules/2.6.8-2-386/misc/ndiswrapper.ko': -1 Operation not permitted

    dmesg

    ndiswrapper (wrapper_init:1534): loadndiswrapper failed (256); check system log for messages from 'loadndisdriver'

    uname

    Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Tue Aug 16 12:46:35 UTC 2005

    but I installed from the source and compiled , I have other error :

    modprobe ndiswrapper

    FATAL: Error inserting ndiswrapper (/lib/modules/2.6.8-2-386/misc/ndiswrapper.ko): Invalid module format

    dmesg

    ndiswrapper: version magic '2.6.8-2-386 preempt 386 gcc-3.4' should be '2.6.8-2-386 preempt 386 gcc-3.3'

    I don't know why is bad

    help please

     
    • Your kernel was compiled with gcc-3.3 but ndiswrapper module was compiled with gcc-3.4. For a module to be load, both kernel and module must be compiled with same compiler and with same settings.