FS#48287 - [aircrack-ng] Illegal instruction when running airodump-ng
Attached to Project:
Community Packages
Opened by Ivan (Amethyst) - Sunday, 21 February 2016, 13:20 GMT
Last edited by Jonathan Steel (jsteel) - Tuesday, 08 May 2018, 18:04 GMT
Opened by Ivan (Amethyst) - Sunday, 21 February 2016, 13:20 GMT
Last edited by Jonathan Steel (jsteel) - Tuesday, 08 May 2018, 18:04 GMT
|
Details
Description:
Gives an error while airodump-ng used with antenna. There are no errors in previous version of program. Additional info: * package version(s) aircrack-ng-1.2rc4-1-x86_64.pkg.tar.xz * config and/or log files etc. 1] 5914 illegal hardware instruction sudo airodump-ng wlan1 ➜ ~ Steps to reproduce: run "airodump-ng wlan1" |
This task depends upon
I had the same issue, the solution is to downgrade.
# yaourt -S downgrade
# downgrade aircrack-ng
choose de previous version et everything sould be ok.
regards
http://trac.aircrack-ng.org/ticket/1679
You can look at the aircrack configure or Makefile thingie and detect where they pass -mtune=native which overrides our default configs from makepkg.conf (-mtune=generic) [maybe it could also be -march instead of -mtune, look for both).
To be fair with upstream: I would most likely close the upstream bug as a downstream packaging issue (of cause if they provide some sane mechanics to disable there native tuning).
but its installed into a wrong directory that needs adjustment:
Install Prefix: /usr/local
the intsall prefix should be /usr
> find usr/local
usr/local
usr/local/libexec
usr/local/libexec/aircrack-ng
usr/local/libexec/aircrack-ng/aircrack-ng--sse2
usr/local/libexec/aircrack-ng/aircrack-ng--avx
usr/local/libexec/aircrack-ng/aircrack-ng--generic
usr/local/libexec/aircrack-ng/aircrack-ng--avx2
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html