Hi everyone,
I'm trying to install a USR5416 PCI Wireless card in a Kali workstation, running kernel 4.7.
This is the chipset:
01:06.0 Network controller [0280]: Texas Instruments ACX 111 54Mbps Wireless Interface [104c:9066]
I installed firmware, cloned acx80211 from git, added to dkms but when I try to build it gives error:
root@ryloth:~# dkms build -m acx-mac80211 -v git
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' all KVERSION=4.7.0-kali1-686-pae...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.7.0-kali1-686-pae (i686)
Consult /var/lib/dkms/acx-mac80211/git/build/make.log for more information.
Here's the make.log:
DKMS make.log for acx-mac80211-git for kernel 4.7.0-kali1-686-pae (i686)
Wed Oct 26 13:06:25 CEST 2016
echo "make is "standalone build""
make is standalone build
make -C /lib/modules/4.7.0-kali1-686-pae/build M=/var/lib/dkms/acx-mac80211/git/build CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=y CONFIG_ACX_MAC80211_USB=m CONFIG_ACX_MAC80211_MEM=m EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1 -DCONFIG_ACX_MAC80211_USB=1 -DCONFIG_ACX_MAC80211_MEM=1 -DCONFIG_ACX_MAC80211_PCI=1 -DACX_GIT_VERSION=\\"v20130127-4-gb6fc314\\"" modules
make[1]: Entering directory '/usr/src/linux-headers-4.7.0-kali1-686-pae'
CC [M] /var/lib/dkms/acx-mac80211/git/build/pci.o
/var/lib/dkms/acx-mac80211/git/build/pci.c:677:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.hw_scan = acx_op_hw_scan,
^
/var/lib/dkms/acx-mac80211/git/build/pci.c:677:14: note: (near initialization for ‘acxpci_hw_ops.hw_scan’)
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.7.0-kali1-common/scripts/Makefile.build:294: recipe for target '/var/lib/dkms/acx-mac80211/git/build/pci.o' failed
make[4]: [/var/lib/dkms/acx-mac80211/git/build/pci.o] Error 1
/usr/src/linux-headers-4.7.0-kali1-common/Makefile:1475: recipe for target 'module/var/lib/dkms/acx-mac80211/git/build' failed
make[3]: [module/var/lib/dkms/acx-mac80211/git/build] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.7.0-kali1-686-pae'
Makefile:68: recipe for target 'all' failed
make: *** [all] Error 2
Any idea?
Thanks in advance
Danilo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, I have done a few patches staying on this fork...https://sourceforge.net/u/ptizoom/acx100/.
it installs with -k 4.7.0-1-{686-pae,amd64}.
boots... but I am not sure of the performances with my pci-ACX111.
so the code is buggy .... however I hope it helps and inspire.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying under Linux Mint 18.1, and it doesn't work here either. I think it's GCC being too pedantic.
make log:
echo "make is "standalone build""
make is standalone build
make -C /lib/modules/4.4.0-66-generic/build M=/home/goldsmith/u-ptizoom-acx100 CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=y CONFIG_ACX_MAC80211_USB=m CONFIG_ACX_MAC80211_MEM=m EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1 -DCONFIG_ACX_MAC80211_USB=1 -DCONFIG_ACX_MAC80211_MEM=1 -DCONFIG_ACX_MAC80211_PCI=1 -DACX_GIT_VERSION=\\"v20160103\\"" modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-66-generic'
CC [M] /home/goldsmith/u-ptizoom-acx100/pci.o
/home/goldsmith/u-ptizoom-acx100/pci.c:677:14: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.hw_scan = acx_op_hw_scan,
^
/home/goldsmith/u-ptizoom-acx100/pci.c:677:14: note: (near initialization for ‘acxpci_hw_ops.hw_scan’)
CC [M] /home/goldsmith/u-ptizoom-acx100/usb.o
CC [M] /home/goldsmith/u-ptizoom-acx100/mem.o
/home/goldsmith/u-ptizoom-acx100/mem.c:1827:14: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.hw_scan = acx_op_hw_scan,
^
/home/goldsmith/u-ptizoom-acx100/mem.c:1827:14: note: (near initialization for ‘acxmem_hw_ops.hw_scan’)
CC [M] /home/goldsmith/u-ptizoom-acx100/common.o
CC [M] /home/goldsmith/u-ptizoom-acx100/merge.o
CC [M] /home/goldsmith/u-ptizoom-acx100/debug.o
CC [M] /home/goldsmith/u-ptizoom-acx100/cmd.o
CC [M] /home/goldsmith/u-ptizoom-acx100/ie.o
CC [M] /home/goldsmith/u-ptizoom-acx100/init.o
CC [M] /home/goldsmith/u-ptizoom-acx100/utils.o
CC [M] /home/goldsmith/u-ptizoom-acx100/cardsetting.o
/home/goldsmith/u-ptizoom-acx100/cardsetting.c: In function ‘acx1xx_update_antenna’:
/home/goldsmith/u-ptizoom-acx100/cardsetting.c:592:27: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
memset(antenna, 0, sizeof(antenna));
^
CC [M] /home/goldsmith/u-ptizoom-acx100/tx.o
CC [M] /home/goldsmith/u-ptizoom-acx100/rx.o
CC [M] /home/goldsmith/u-ptizoom-acx100/main.o
/home/goldsmith/u-ptizoom-acx100/main.c: In function ‘acx_init_ieee80211’:
/home/goldsmith/u-ptizoom-acx100/main.c:500:12: error: assignment to expression with array type
hw->flags &= ~IEEE80211_HW_RX_INCLUDES_FCS;
^
/home/goldsmith/u-ptizoom-acx100/main.c:528:12: error: assignment to expression with array type
hw->flags |= IEEE80211_HW_SIGNAL_UNSPEC;
^
/home/goldsmith/u-ptizoom-acx100/main.c: In function ‘acx_op_configure_filter’:
/home/goldsmith/u-ptizoom-acx100/main.c:948:19: error: ‘FIF_PROMISC_IN_BSS’ undeclared (first use in this function) total_flags &= (FIF_PROMISC_IN_BSS | FIF_ALLMULTI | FIF_FCSFAIL
^
/home/goldsmith/u-ptizoom-acx100/main.c:948:19: note: each undeclared identifier is reported only once for each function it appears in
/home/goldsmith/u-ptizoom-acx100/main.c: In function ‘acx_op_hw_scan’:
/home/goldsmith/u-ptizoom-acx100/main.c:1085:41: warning: passing argument 2 of ‘ieee80211_probereq_get’ from incompatible pointer type [-Wincompatible-pointer-types]
skb = ieee80211_probereq_get(adev->hw, adev->vif, ssid, ssid_len,
^
In file included from /home/goldsmith/u-ptizoom-acx100/main.c:22:0:
include/net/mac80211.h:4183:17: note: expected ‘const u8 * {aka const unsigned char }’ but argument is of type ‘struct ieee80211_vif ’
struct sk_buff ieee80211_probereq_get(struct ieee80211_hw hw,
^
scripts/Makefile.build:258: recipe for target '/home/goldsmith/u-ptizoom-acx100/main.o' failed
make[2]: [/home/goldsmith/u-ptizoom-acx100/main.o] Error 1
Makefile:1420: recipe for target 'module/home/goldsmith/u-ptizoom-acx100' failed
make[1]: [module/home/goldsmith/u-ptizoom-acx100] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-66-generic'
Makefile:68: recipe for target 'all' failed
make: ** [all] Error 2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Build is OK with Mageia5 kernel 4.4.92 compiled with gcc-4.9.2-4.1 and my Netgear wg311v2 card is running!
PS: on Mageia6 (kernel 4.9.56), the build go on errors where previously it was warnings (ex: pci.c lines 677, 1827...)
I am thinking gcc-5.4.0-5 is responsable...
Last edit: kalagani 2017-11-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
I'm trying to install a USR5416 PCI Wireless card in a Kali workstation, running kernel 4.7.
This is the chipset:
01:06.0 Network controller [0280]: Texas Instruments ACX 111 54Mbps Wireless Interface [104c:9066]
I installed firmware, cloned acx80211 from git, added to dkms but when I try to build it gives error:
root@ryloth:~# dkms build -m acx-mac80211 -v git
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' all KVERSION=4.7.0-kali1-686-pae...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.7.0-kali1-686-pae (i686)
Consult /var/lib/dkms/acx-mac80211/git/build/make.log for more information.
Here's the make.log:
DKMS make.log for acx-mac80211-git for kernel 4.7.0-kali1-686-pae (i686)
Wed Oct 26 13:06:25 CEST 2016
echo "make is "standalone build""
make is standalone build
make -C /lib/modules/4.7.0-kali1-686-pae/build M=/var/lib/dkms/acx-mac80211/git/build CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=y CONFIG_ACX_MAC80211_USB=m CONFIG_ACX_MAC80211_MEM=m EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1 -DCONFIG_ACX_MAC80211_USB=1 -DCONFIG_ACX_MAC80211_MEM=1 -DCONFIG_ACX_MAC80211_PCI=1 -DACX_GIT_VERSION=\\"v20130127-4-gb6fc314\\"" modules
make[1]: Entering directory '/usr/src/linux-headers-4.7.0-kali1-686-pae'
CC [M] /var/lib/dkms/acx-mac80211/git/build/pci.o
/var/lib/dkms/acx-mac80211/git/build/pci.c:677:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.hw_scan = acx_op_hw_scan,
^
/var/lib/dkms/acx-mac80211/git/build/pci.c:677:14: note: (near initialization for ‘acxpci_hw_ops.hw_scan’)
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.7.0-kali1-common/scripts/Makefile.build:294: recipe for target '/var/lib/dkms/acx-mac80211/git/build/pci.o' failed
make[4]: [/var/lib/dkms/acx-mac80211/git/build/pci.o] Error 1
/usr/src/linux-headers-4.7.0-kali1-common/Makefile:1475: recipe for target 'module/var/lib/dkms/acx-mac80211/git/build' failed
make[3]: [module/var/lib/dkms/acx-mac80211/git/build] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.7.0-kali1-686-pae'
Makefile:68: recipe for target 'all' failed
make: *** [all] Error 2
Any idea?
Thanks in advance
Danilo
hi, I have done a few patches staying on this fork...https://sourceforge.net/u/ptizoom/acx100/.
it installs with -k 4.7.0-1-{686-pae,amd64}.
boots... but I am not sure of the performances with my pci-ACX111.
so the code is buggy .... however I hope it helps and inspire.
I'm trying under Linux Mint 18.1, and it doesn't work here either. I think it's GCC being too pedantic.
make log:
echo "make is "standalone build""
make is standalone build
make -C /lib/modules/4.4.0-66-generic/build M=/home/goldsmith/u-ptizoom-acx100 CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=y CONFIG_ACX_MAC80211_USB=m CONFIG_ACX_MAC80211_MEM=m EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1 -DCONFIG_ACX_MAC80211_USB=1 -DCONFIG_ACX_MAC80211_MEM=1 -DCONFIG_ACX_MAC80211_PCI=1 -DACX_GIT_VERSION=\\"v20160103\\"" modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-66-generic'
CC [M] /home/goldsmith/u-ptizoom-acx100/pci.o
/home/goldsmith/u-ptizoom-acx100/pci.c:677:14: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.hw_scan = acx_op_hw_scan,
^
/home/goldsmith/u-ptizoom-acx100/pci.c:677:14: note: (near initialization for ‘acxpci_hw_ops.hw_scan’)
CC [M] /home/goldsmith/u-ptizoom-acx100/usb.o
CC [M] /home/goldsmith/u-ptizoom-acx100/mem.o
/home/goldsmith/u-ptizoom-acx100/mem.c:1827:14: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.hw_scan = acx_op_hw_scan,
^
/home/goldsmith/u-ptizoom-acx100/mem.c:1827:14: note: (near initialization for ‘acxmem_hw_ops.hw_scan’)
CC [M] /home/goldsmith/u-ptizoom-acx100/common.o
CC [M] /home/goldsmith/u-ptizoom-acx100/merge.o
CC [M] /home/goldsmith/u-ptizoom-acx100/debug.o
CC [M] /home/goldsmith/u-ptizoom-acx100/cmd.o
CC [M] /home/goldsmith/u-ptizoom-acx100/ie.o
CC [M] /home/goldsmith/u-ptizoom-acx100/init.o
CC [M] /home/goldsmith/u-ptizoom-acx100/utils.o
CC [M] /home/goldsmith/u-ptizoom-acx100/cardsetting.o
/home/goldsmith/u-ptizoom-acx100/cardsetting.c: In function ‘acx1xx_update_antenna’:
/home/goldsmith/u-ptizoom-acx100/cardsetting.c:592:27: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
memset(antenna, 0, sizeof(antenna));
^
CC [M] /home/goldsmith/u-ptizoom-acx100/tx.o
CC [M] /home/goldsmith/u-ptizoom-acx100/rx.o
CC [M] /home/goldsmith/u-ptizoom-acx100/main.o
/home/goldsmith/u-ptizoom-acx100/main.c: In function ‘acx_init_ieee80211’:
/home/goldsmith/u-ptizoom-acx100/main.c:500:12: error: assignment to expression with array type
hw->flags &= ~IEEE80211_HW_RX_INCLUDES_FCS;
^
/home/goldsmith/u-ptizoom-acx100/main.c:528:12: error: assignment to expression with array type
hw->flags |= IEEE80211_HW_SIGNAL_UNSPEC;
^
/home/goldsmith/u-ptizoom-acx100/main.c: In function ‘acx_op_configure_filter’:
/home/goldsmith/u-ptizoom-acx100/main.c:948:19: error: ‘FIF_PROMISC_IN_BSS’ undeclared (first use in this function)
total_flags &= (FIF_PROMISC_IN_BSS | FIF_ALLMULTI | FIF_FCSFAIL
^
/home/goldsmith/u-ptizoom-acx100/main.c:948:19: note: each undeclared identifier is reported only once for each function it appears in
/home/goldsmith/u-ptizoom-acx100/main.c: In function ‘acx_op_hw_scan’:
/home/goldsmith/u-ptizoom-acx100/main.c:1085:41: warning: passing argument 2 of ‘ieee80211_probereq_get’ from incompatible pointer type [-Wincompatible-pointer-types]
skb = ieee80211_probereq_get(adev->hw, adev->vif, ssid, ssid_len,
^
In file included from /home/goldsmith/u-ptizoom-acx100/main.c:22:0:
include/net/mac80211.h:4183:17: note: expected ‘const u8 * {aka const unsigned char }’ but argument is of type ‘struct ieee80211_vif ’
struct sk_buff ieee80211_probereq_get(struct ieee80211_hw hw,
^
scripts/Makefile.build:258: recipe for target '/home/goldsmith/u-ptizoom-acx100/main.o' failed
make[2]: [/home/goldsmith/u-ptizoom-acx100/main.o] Error 1
Makefile:1420: recipe for target 'module/home/goldsmith/u-ptizoom-acx100' failed
make[1]: [module/home/goldsmith/u-ptizoom-acx100] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-66-generic'
Makefile:68: recipe for target 'all' failed
make: ** [all] Error 2
Hi Simon,
on ACX_GIT_VERSION=\"v20130127-4-gb6fc314, to avoid errors because change in API mac80211 from kernel > 4.2
I make work around in main.c (last hidden part at end)
https://www.mageialinux-online.org/forum/topic-22269-2+acx-mac80211-non-construit-apres-upgrade-kernel.php#m215160
Replace your old with this new in the acx-mac80211-git directory
Build is OK with Mageia5 kernel 4.4.92 compiled with gcc-4.9.2-4.1 and my Netgear wg311v2 card is running!
PS: on Mageia6 (kernel 4.9.56), the build go on errors where previously it was warnings (ex: pci.c lines 677, 1827...)
I am thinking gcc-5.4.0-5 is responsable...
Last edit: kalagani 2017-11-12
is this driver alive? why so much patch could not be accept?
I don't have this card and haven't had since I last posted.