[ltp] Re: MadWiFi on 2.6.9-mm1 ???

Anders Hermansen linux-thinkpad@linux-thinkpad.org
Sun, 24 Oct 2004 14:15:16 +0200


* Arno Willig (akw@thinkwiki.org) wrote:
> Is here anyone who managed to get madwifi running on 2.6.9 or 2.6.9-mm1
> properly?

I'm using 2.6.9 vanilla with madwifi.

> Here is what I did:
> First I took the latest cvs version.
> Second I patched it with madwifi-2.6.8-mm_and_later-040927.patch.bz2
> from http://users.informatik.haw-hamburg.de/~gropp_v/

This is excatly what I did to get it to work with 2.6.9 vanilla

> Third to get rid of the compilation errors I changed the following lines
> in ath/if_ath_pci.c:
> Line 245: pci_save_state(pdev, sc->aps_pmstate);
> to  pci_save_state(pdev);
> and
> Line 260: pci_restore_state(pdev, sc->aps_pmstate);
> to pci_restore_state(pdev);

This was not necessary with 2.6.9 vanilla.

> When I try to 'insmod' ath_pci.ko I get the following error message:
> insmod: error inserting 'ath_pci.ko': -1 Unknown symbol in module
> 'dmesg' shows: ath_pci: Unknown symbol pci_dma_sync_single

This did not happen with 2.6.9 vanilla.

> What can I do about it? Has anyone working patches?
> 
> On 2.6.9-rc1-mm1 everything works fine. :-(
> 
> Ciao, Arno


Anders