FS#9784 - Aireplay-ng causes kernel panics with Atheros cards (namely Ubiquiti)

Attached to Project: Arch Linux
Opened by Max Pray (synthead) - Saturday, 08 March 2008, 08:00 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 09 March 2008, 11:51 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I've stared a thread about this problem here: http://bbs.archlinux.org/viewtopic.php?id=44703

In a nutshell, aireplay-ng played nice with the Arch kernel for a while, but something changed in the more recent kernel versions, and as of now, aireplay-ng causes it to panic when it tries to inject. This problem occurs on my Ubiquiti A/B/G 300mW CardBus card running the Atheros chipset, but apparently this issue relates to all Atheros cards based on information from the aircrack-ng website: http://aircrack-ng.org/doku.php?id=troubleshooting The link states: "There are quite a few problems with some versions of the Linux 2.6 branch (especially before 2.6.11 was released) that will cause a kernel panic when injecting with madwifi. Also, on many 2.6 kernels enhanced RTC support is just broken. Thus, is it highly recommended to use either Linux 2.6.11.x or newer."

Putting this under the "Kernel" category because aireplay-ng can still function fine with different kernel variants.

Additional info:
* Aircrack-ng version 0.9.2-2
* Kernel version 2.6.24.3-1
* Using Arch x86_64

Steps to reproduce:

Run a command similar to "aireplay-ng -1 0 -e teddy -a 00:14:6C:7E:40:80 -h 00:0F:B5:88:AC:82 ath0" on a WEP-protected network with an Atheros-based card using the software versions above.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 09 March 2008, 11:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  with the latest madwifi packages
Comment by Tobias Powalowski (tpowa) - Saturday, 08 March 2008, 09:38 GMT
you shoult try the kernel from testing it has rtc disabled and jsut uses the new subsystem
Comment by Tobias Powalowski (tpowa) - Saturday, 08 March 2008, 18:03 GMT
now you can also try the one from core
Comment by Max Pray (synthead) - Sunday, 09 March 2008, 02:26 GMT
I just tested the one from core. It authenticates to the network with aireplay-ng, but when it tries to associate, it panics. I'm going to try the kernel from testing now, if it's not the same one!
Comment by Max Pray (synthead) - Sunday, 09 March 2008, 02:29 GMT
It is :P Thank you so much for your help though! Any more ideas on what I could try?
Comment by Max Pray (synthead) - Sunday, 09 March 2008, 10:47 GMT
Found the problem, this lies with the version of madwifi that is in stable. I installed madwifi and madwifi-utils from testing and everything works 100%.

Loading...