Share

acx100 - Wireless chipset Linux driver

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Compilation acx-mac8011 on 2.6.24.3

  1. 2008-03-05 20:33:09 UTC
    Hi,


    I have the following error when trying to compile acx-mac8011 on a linux kernel 2.6.24.3

    [...]
    make -f scripts/Makefile.build obj=drivers/net/wireless/acx
    gcc -m32 -Wp,-MD,drivers/net/wireless/acx/.common.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-x86/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(common)" -D"KBUILD_MODNAME=KBUILD_STR(acx_mac80211)" -c -o drivers/net/wireless/acx/.tmp_common.o drivers/net/wireless/acx/common.c
    drivers/net/wireless/acx/common.c: In function ‘acx_add_interface’:
    drivers/net/wireless/acx/common.c:4225: error: ‘struct ieee80211_if_init_conf’ has no member named ‘vif’
    drivers/net/wireless/acx/common.c: In function ‘acx_remove_interface’:
    drivers/net/wireless/acx/common.c:4262: warning: ISO C90 forbids mixed declarations and code
    make[4]: *** [drivers/net/wireless/acx/common.o] Erreur 1
    make[3]: *** [drivers/net/wireless/acx] Erreur 2
    make[2]: *** [drivers/net/wireless] Erreur 2
    make[1]: *** [drivers/net] Erreur 2
    make: *** [drivers] Erreur 2
    [...]

    Any help please?

    Thanks,
  2. 2008-03-05 21:05:49 UTC
    Edit : I forgot to specify driver's version:

    acx-mac80211-20080210
  3. 2008-03-11 00:22:15 UTC
    Forum seems dead. I've been trying to get this silly thing working for 3 days. Running same kernel as you, on Fedora: 2.6.24.3-12.fc8. Ndiswrapper is giving me random lockups so I don't have much choice other than to try acx111 drivers here, but I cannot compile them either manually, or following the fedora guide. Getting pretty sad really...I don't want to load windows back on this stupid laptop, but I can't exactly put the thing on the desk with a lan cord all the time either.

    Please...if somebody out there has successfully made the acx111 drivers work on fedora sometime within the last 3 years...update the wiki with a nice how-to guide. Software installation in *nix is almost always much easier than windows...except in these few occasions. I run a small non-profit network, dedicated linux firewall with filtering, gentoo servers, ubuntu desktops, winxp...I've been working militarily in windows systems and network infrastructure for 11 years...honestly I'm good at this and I still can't make it work.

    I feel inadequate. :(
  4. 2008-03-11 11:37:47 UTC
    I've swapped out my card as the driver doesn't support WPA which is needed, but I still have the sources around and I just did a svn update to latest rev. 16.
    Suggest trying the svn version.
    /usr/src/ACX-SVN/acx100/trunk # make -C /lib/modules/`uname -r`/build M=`pwd`
    make: Entering directory `/usr/src/linux-2.6.25-rc4-git3'
    LD /usr/src/ACX-SVN/acx100/trunk/built-in.o
    CC [M] /usr/src/ACX-SVN/acx100/trunk/wlan.o
    CC [M] /usr/src/ACX-SVN/acx100/trunk/conv.o
    /usr/src/ACX-SVN/acx100/trunk/conv.c: In function ‘acx_rxbuf_to_ether’:
    /usr/src/ACX-SVN/acx100/trunk/conv.c:502: warning: cast from pointer to integer of different size
    CC [M] /usr/src/ACX-SVN/acx100/trunk/ioctl.o
    CC [M] /usr/src/ACX-SVN/acx100/trunk/common.o
    /usr/src/ACX-SVN/acx100/trunk/common.c: In function ‘acx_s_proc_diag_output’:
    /usr/src/ACX-SVN/acx100/trunk/common.c:1249: warning: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘long unsigned int’
    /usr/src/ACX-SVN/acx100/trunk/common.c:1527: warning: cast from pointer to integer of different size
    /usr/src/ACX-SVN/acx100/trunk/common.c:1527: warning: cast from pointer to integer of different size
    /usr/src/ACX-SVN/acx100/trunk/common.c:1532: warning: cast from pointer to integer of different size
    /usr/src/ACX-SVN/acx100/trunk/common.c:1532: warning: cast from pointer to integer of different size
    CC [M] /usr/src/ACX-SVN/acx100/trunk/pci.o
    CC [M] /usr/src/ACX-SVN/acx100/trunk/usb.o
    LD [M] /usr/src/ACX-SVN/acx100/trunk/acx.o
    Building modules, stage 2.
    MODPOST 1 modules
    WARNING: modpost: Found 3 section mismatch(es).
    To see full details build your kernel with:
    'make CONFIG_DEBUG_SECTION_MISMATCH=y'
    CC /usr/src/ACX-SVN/acx100/trunk/acx.mod.o
    LD [M] /usr/src/ACX-SVN/acx100/trunk/acx.ko
    make: Leaving directory `/usr/src/linux-2.6.25-rc4-git3'

    /usr/src/ACX-SVN/acx100/trunk # svn info
    Path: .
    URL: https://acx100.svn.sourceforge.net/svnroot/acx100/trunk
    Repository Root: https://acx100.svn.sourceforge.net/svnroot/acx100
    Repository UUID: 55000d34-973b-0410-bb3a-ec7cf84c6734
    Revision: 16
    Node Kind: directory
    Schedule: normal
    Last Changed Author: rootkit85
    Last Changed Rev: 14
    Last Changed Date: 2008-02-10 20:04:10 +0000 (Sun, 10 Feb 2008)

    The full build and install script is
    make -C /lib/modules/`uname -r`/build M=`pwd` && make -C /lib/modules/`uname -r`/build M=`pwd` modules_install
  5. 2008-03-11 14:47:07 UTC
    I have the acx drivers, acx-20080112-2.tar.bz2, running right now correctly in my current kernel 2.6.24.1-08-x86_X32-01 which is on my gentoo machine, BTW this is the version that e-build provides me with as being stable on the gentoo machines; makes me think that the later versions are having some troubles. I have brought it up as master but couldn't connect; however, it is running ad-hoc and I am not having difficulties, save an occasional driver drop from overheating, this happens less frequently when I lower the txpower to 0 dBm.
    With the current concentration by the driver teams for inclusion in the mainline kernels, following the 802.11 standards to the tee I suppose in the next six months we will probably see these problems corrected. In the meantime, one has to grab the version that works for the current applications keeping an eye on this forum and any others related to hardware drivers in motion.

    Sincerely,

    Phil
  6. 2008-03-13 14:34:51 UTC
    It appears to have compiled, have you attempted to do an insmod acx.ko from the build directory? Sometimes modinfo provides more information as well. I am using wep not wpa yet, waiting for this code to mature first. I had tried using git kernels and had to back up to a non-git kernel. I have not tried loading wpa-supplicant yet to see if I can run wpa, that will happen when the drivers mature a little more.
    If the module loads and is operative you could place it into your /lib/modules/`uname -r`/kernel/drivers/net/wireless directory and then running a depmod -a command to be able to load it with modprobe or by placing it into your appropriate modules file for loading on system initialization. After that running wpa-supplicant to get the wpa system operative.
    Just a few suggestions, I am not yet an expert even after 10 years with linux, but I hope to have helped some.

    Regards,
    Phil
  7. 2008-03-13 15:18:44 UTC
    Of course, once the module is installed, "depmod -ae" must be run, that will tell you if there are any symbol errors. After that "modprobe acx" is all you need and dmesg should show some more details.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.