Find the answer to your Linux question:
Results 1 to 5 of 5
I could have this in the wrong section but I wasn't sure where to put it. Sorry if it is. When I ever I trie to modprobe ndiswrapper to get ...
  1. #1
    Just Joined!
    Join Date
    Apr 2006
    Posts
    26

    modprobe not working

    I could have this in the wrong section but I wasn't sure where to put it. Sorry if it is.

    When I ever I trie to modprobe ndiswrapper to get my wireless card to work I get an error message.


    Code:
    debian:/home/rusty# modprobe ndiswrapper
    FATAL: Error inserting ndiswrapper (/lib/modules/2.6.15-1-486/misc/lib/modules/2.6.15-1-486/misc/ndiswrapper.ko): Invalid module format
    I could realy use some help on this one. I'm running Debian Etch.

    This part of the dmesg might be useful as well.

    Code:
    ndiswrapper: version magic '2.6.15-1-486 486 gcc-4.1' should be '2.6.15-1-486 486 gcc-4.0'

    If any more imformation is needed I would be glad to provide.

    P.S. I had Debian Etch installed with ndiswrapper installed and never got this error for some time. It was not untill I tried to reinstall debian that this error showed up.

  2. #2
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    You have a newer gcc now (4.1) than you had before (4.0). The kernel was compiled with 4.0, and the ndiswrapper module was compiled with 4.1. Kernels are picky about only using modules that were compiled with the same compiler.

    See if the package manager has ndiswrapper built for your specific kernel. If you're building ndiswrapper yourself, then you just need to install gcc-4.0 and use that to build the module. (You should be able to set the cc in the config file when building ndiswrapper, or you can change the link at /usr/bin/gcc to point at the version of gcc you want to use.)
    Stand up and be counted as a Linux user!

  3. #3
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    if your card has atheros chipset i suggest you the madwifi driver

  4. #4
    Just Joined!
    Join Date
    Apr 2006
    Posts
    26
    I think it has a broudcom chipset.
    I used module-assistant to install. That may have been the problem.

    I believe that means modules-assistant uninstall ndiswrapper will get rid of it so I can try a new one. If that doesn't work I have to compile it myself making sure it is the 4.0 version. If I have you correct.

    Or should I update my Kernel?

    Thanks a lot

  5. #5
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    recompile your kernel with gcc 4.1 and this problem will not appier in the future

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •