Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Problems installing madwifi drivers

    I am attempting to get a laptop up and running using the madwifi drivers for a Linksys PC card. I am using this link as a guide Supposedly the card is compatible, but the problem I am having is that it needs access to the kernel source in /usr/src/kernels. It was missing, so I tried to download it via yum. That was successful, but when I go to the /usr/src/kernels folder, it shows kernel 2.6.19-1.2911. The problem is that when I type uname -r it gives me the current kernel version of 2.6.19-1.2895, which is an older kernel. Of course, the 'make' command fails with:

    [root@localhost madwifi-]# make
    Checking requirements... ok.
    Checking kernel configuration... ok.
    make -C /usr/src/kernels/2.6.19-1.2911.fc6-i686 SUBDIRS=/root/madwifi- modules
    make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2911.fc6-i686'
    CC [M] /root/madwifi-
    cc1: warnings being treated as errors
    /root/madwifi- In function 'ath_pci_probe':
    /root/madwifi- warning: passing argument 2 of 'request_irq' from incompatible pointer type
    make[3]: *** [/root/madwifi-] Error 1
    make[2]: *** [/root/madwifi-] Error 2
    make[1]: *** [_module_/root/madwifi-] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2911.fc6-i686'
    make: *** [modules] Error 2

    Would it be correct to assume that you want both of these to match whenever running make and make install? I'm guessing that is the problem with the errors. If so, how do I get these versions to match? Is there a way to download the kernel source for the 2.6.19-1.2895 version?

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    you should just need kernel-devel, use yum to download that
    yum install kernel-devel
    Then you have to reboot, to switch to the new kernel.
    So try again.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

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