$ sudo dpkg -i ath10k-dkms_1.0_all.deb
Selecting previously unselected package ath10k-dkms.
(Reading database ... 192381 files and directories currently installed.)
Preparing to unpack ath10k-dkms_1.0_all.deb ...
Unpacking ath10k-dkms (1.0) ...
Setting up ath10k-dkms (1.0) ...
Loading new ath10k-1.0 DKMS files...
First Installation: checking all kernels...
Building only for 4.2.0-rc4-wl-ath
Building for architecture x86_64
Building initial module for 4.2.0-rc4-wl-ath
ERROR (dkms apport): unable to determine source package for ath10k-dkms
Error! Bad return status for module build on kernel: 4.2.0-rc4-wl-ath (x86_64)
Consult /var/lib/dkms/ath10k/1.0/build/make.log for more information.
dpkg: error processing package ath10k-dkms (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-4.2.0-rc4-wl-ath
Errors were encountered while processing:
ath10k-dkms
Looking into the make.log gives:
$ cat /var/lib/dkms/ath10k/1.0/build/make.log
DKMS make.log for ath10k-1.0 for kernel 4.2.0-rc4-wl-ath (x86_64)
Tue Aug 4 10:18:14 PDT 2015
make -C /lib/modules/4.2.0-rc4-wl-ath/build M=/var/lib/dkms/ath10k/1.0/build/driver modules
make[1]: Entering directory `/home/marek/ath10k/ath-master'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
CC [M] /var/lib/dkms/ath10k/1.0/build/driver/compat/main.o
CC [M] /var/lib/dkms/ath10k/1.0/build/driver/compat/backport-4.0.o
CC [M] /var/lib/dkms/ath10k/1.0/build/driver/compat/backport-4.1.o
CC [M] /var/lib/dkms/ath10k/1.0/build/driver/compat/backport-4.2.o
/var/lib/dkms/ath10k/1.0/build/driver/compat/backport-4.2.c:14:28: error: static declaration of ‘scatterwalk_ffwd’ follows non-static declaration
static struct scatterlist *scatterwalk_ffwd(struct scatterlist dst[2], ^
In file included from /var/lib/dkms/ath10k/1.0/build/driver/compat/backport-4.2.c:11:0:
include/crypto/scatterwalk.h:105:21: note: previous declaration of ‘scatterwalk_ffwd’ was here
struct scatterlist *scatterwalk_ffwd(struct scatterlist dst[2], ^
/var/lib/dkms/ath10k/1.0/build/driver/compat/backport-4.2.c: In function ‘crypto_backport_convert’:
/var/lib/dkms/ath10k/1.0/build/driver/compat/backport-4.2.c:50:9: error: implicit declaration of function ‘aead_request_ctx’ [-Werror=implicit-function-declaration]
struct aead_old_request *nreq = aead_request_ctx(req);
^
/var/lib/dkms/ath10k/1.0/build/driver/compat/backport-4.2.c:50:34: warning: initialization makes pointer from integer without a cast [enabled by default]
struct aead_old_request *nreq = aead_request_ctx(req); ^
/var/lib/dkms/ath10k/1.0/build/driver/compat/backport-4.2.c:59:2: error: implicit declaration of function ‘aead_request_flags’ [-Werror=implicit-function-declaration]
aead_request_set_callback(&nreq->subreq, aead_request_flags(req),
^
cc1: some warnings being treated as errors
make[3]: *** [/var/lib/dkms/ath10k/1.0/build/driver/compat/backport-4.2.o] Error 1
make[2]: *** [/var/lib/dkms/ath10k/1.0/build/driver/compat] Error 2
make[1]: *** [_module_/var/lib/dkms/ath10k/1.0/build/driver] Error 2
make[1]: Leaving directory `/home/marek/ath10k/ath-master'
make: *** [all] Error 2
Note that I also tried the steps from #190 (except I used the .tar.gz file). Putting the name, dmesg and lspci information incase it's relevant:
$ uname -a
Linux marek-Alienware-15 4.2.0-rc4-wl-ath #1 SMP Mon Aug 3 17:18:38 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
$ dmesg | grep ath10k
[ 24.598243] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 24.920476] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[ 24.920485] ath10k_pci 0000:03:00.0: Falling back to user helper
[ 24.960485] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA6174/hw2.1/board-pci-168c:003e:1a56:1525.bin failed with error -2
[ 24.960494] ath10k_pci 0000:03:00.0: Falling back to user helper
[ 24.961605] ath10k_pci 0000:03:00.0: failed to load spec board file, falling back to generic: -11
[ 25.002120] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA6174/hw2.1/firmware-5.bin failed with error -2
[ 25.002129] ath10k_pci 0000:03:00.0: Falling back to user helper
[ 25.003287] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA6174/hw2.1/firmware-5.bin': -11
[ 25.119241] ath10k_pci 0000:03:00.0: otp calibration failed: 3
[ 25.119321] ath10k_pci 0000:03:00.0: failed to run otp: -22
[ 25.119386] ath10k_pci 0000:03:00.0: could not init core (-22)
[ 25.119506] ath10k_pci 0000:03:00.0: could not probe fw (-22)
I get the following error when I try to install
$ sudo dpkg -i ath10k- dkms_1. 0_all.deb dkms_1. 0_all.deb ... dkms/ath10k/ 1.0/build/ make.log for more information. img-4.2. 0-rc4-wl- ath
Selecting previously unselected package ath10k-dkms.
(Reading database ... 192381 files and directories currently installed.)
Preparing to unpack ath10k-
Unpacking ath10k-dkms (1.0) ...
Setting up ath10k-dkms (1.0) ...
Loading new ath10k-1.0 DKMS files...
First Installation: checking all kernels...
Building only for 4.2.0-rc4-wl-ath
Building for architecture x86_64
Building initial module for 4.2.0-rc4-wl-ath
ERROR (dkms apport): unable to determine source package for ath10k-dkms
Error! Bad return status for module build on kernel: 4.2.0-rc4-wl-ath (x86_64)
Consult /var/lib/
dpkg: error processing package ath10k-dkms (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.
Errors were encountered while processing:
ath10k-dkms
Looking into the make.log gives: dkms/ath10k/ 1.0/build/ make.log 4.2.0-rc4- wl-ath/ build M=/var/ lib/dkms/ ath10k/ 1.0/build/ driver modules marek/ath10k/ ath-master' dkms/ath10k/ 1.0/build/ driver/ compat/ main.o dkms/ath10k/ 1.0/build/ driver/ compat/ backport- 4.0.o dkms/ath10k/ 1.0/build/ driver/ compat/ backport- 4.1.o dkms/ath10k/ 1.0/build/ driver/ compat/ backport- 4.2.o dkms/ath10k/ 1.0/build/ driver/ compat/ backport- 4.2.c:14: 28: error: static declaration of ‘scatterwalk_ffwd’ follows non-static declaration ffwd(struct scatterlist dst[2],
^ dkms/ath10k/ 1.0/build/ driver/ compat/ backport- 4.2.c:11: 0: crypto/ scatterwalk. h:105:21: note: previous declaration of ‘scatterwalk_ffwd’ was here ffwd(struct scatterlist dst[2],
^ dkms/ath10k/ 1.0/build/ driver/ compat/ backport- 4.2.c: In function ‘crypto_ backport_ convert’ : dkms/ath10k/ 1.0/build/ driver/ compat/ backport- 4.2.c:50: 9: error: implicit declaration of function ‘aead_request_ctx’ [-Werror= implicit- function- declaration] ctx(req) ; dkms/ath10k/ 1.0/build/ driver/ compat/ backport- 4.2.c:50: 34: warning: initialization makes pointer from integer without a cast [enabled by default] ctx(req) ;
^ dkms/ath10k/ 1.0/build/ driver/ compat/ backport- 4.2.c:59: 2: error: implicit declaration of function ‘aead_request_ flags’ [-Werror= implicit- function- declaration] request_ set_callback( &nreq-> subreq, aead_request_ flags(req) , dkms/ath10k/ 1.0/build/ driver/ compat/ backport- 4.2.o] Error 1 dkms/ath10k/ 1.0/build/ driver/ compat] Error 2 /var/lib/ dkms/ath10k/ 1.0/build/ driver] Error 2 marek/ath10k/ ath-master'
$ cat /var/lib/
DKMS make.log for ath10k-1.0 for kernel 4.2.0-rc4-wl-ath (x86_64)
Tue Aug 4 10:18:14 PDT 2015
make -C /lib/modules/
make[1]: Entering directory `/home/
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
/var/lib/
static struct scatterlist *scatterwalk_
In file included from /var/lib/
include/
struct scatterlist *scatterwalk_
/var/lib/
/var/lib/
struct aead_old_request *nreq = aead_request_
^
/var/lib/
struct aead_old_request *nreq = aead_request_
/var/lib/
aead_
^
cc1: some warnings being treated as errors
make[3]: *** [/var/lib/
make[2]: *** [/var/lib/
make[1]: *** [_module_
make[1]: Leaving directory `/home/
make: *** [all] Error 2
Note that I also tried the steps from #190 (except I used the .tar.gz file). Putting the name, dmesg and lspci information incase it's relevant:
$ uname -a
Linux marek-Alienware-15 4.2.0-rc4-wl-ath #1 SMP Mon Aug 3 17:18:38 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
$ dmesg | grep ath10k cal-pci- 0000:03: 00.0.bin failed with error -2 QCA6174/ hw2.1/board- pci-168c: 003e:1a56: 1525.bin failed with error -2 QCA6174/ hw2.1/firmware- 5.bin failed with error -2 QCA6174/ hw2.1/firmware- 5.bin': -11
[ 24.598243] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 24.920476] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/
[ 24.920485] ath10k_pci 0000:03:00.0: Falling back to user helper
[ 24.960485] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/
[ 24.960494] ath10k_pci 0000:03:00.0: Falling back to user helper
[ 24.961605] ath10k_pci 0000:03:00.0: failed to load spec board file, falling back to generic: -11
[ 25.002120] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/
[ 25.002129] ath10k_pci 0000:03:00.0: Falling back to user helper
[ 25.003287] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/
[ 25.119241] ath10k_pci 0000:03:00.0: otp calibration failed: 3
[ 25.119321] ath10k_pci 0000:03:00.0: failed to run otp: -22
[ 25.119386] ath10k_pci 0000:03:00.0: could not init core (-22)
[ 25.119506] ath10k_pci 0000:03:00.0: could not probe fw (-22)
$ lspci -nnn | grep -i atheros
02:00.0 Ethernet controller [0200]: Qualcomm Atheros Killer E2200 Gigabit Ethernet Controller [1969:e091] (rev 10)
03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:003e] (rev 20)