This morning I packaged up ath9k_htc drivers for RHEL 6.4. This isn’t anything official, just something I knocked together. I’m using it with a TP-LINK TL-WN722N and kernel-2.6.32-358.2.1.el6.x86_64; it seems to work but your mileage may vary! RPMs here.
According to the description, your package is based on ELRepo’s kmod, so it is actually kABI-tracking. Why would you say this won’t work on other kernels? I test-installed on my EL6 box and it did create a symlink from kernel 2.6.32-279.19.1.el6 (for example).
Also, would you consider contributing this one to ELRepo?
I didn’t know about the kABI-tracking, I just saw the hardwired paths to that specific kernel and assumed that it wouldn’t work with anything else.
I’ve no problem with contributing it. What would I do, just mail the ELRepo list?
Yes, either posting to the ELRepo mailing list or sending email to contact@elrepo.org will work.
Cheers for this,
However when installing it, and trying to load the ath9k_htc module, I get:
WARNING: Error inserting ath (/lib/modules/2.6.32-358.6.1.el6.x86_64/kernel/drivers/net/wireless/ath/ath.ko): Invalid module format
WARNING: Error inserting ath9k_hw (/lib/modules/2.6.32-358.6.1.el6.x86_64/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko): Invalid module format
WARNING: Error inserting ath9k_common (/lib/modules/2.6.32-358.6.1.el6.x86_64/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko): Invalid module format
WARNING: Error inserting mac80211 (/lib/modules/2.6.32-358.6.1.el6.x86_64/kernel/net/mac80211/mac80211.ko): Invalid module format
FATAL: Error inserting ath9k_htc (/lib/modules/2.6.32-358.6.1.el6.x86_64/weak-updates/ath9k_htc/ath9k_htc.ko): Invalid module format
and in the dmesg:
cfg80211: exports duplicate symbol compat_genl_unregister_family (owned by compat)
What kernel are you running and have you run into this?
Ryan, it looks like you’re using newer kernel than I did. Try building the driver from source on your machine:
Thanks for the reply, tried that too but to no avail. And now it looks like its stopped with the 2.6.32-358.2.1.el6.x86_64 kernel also, for me anyway
Oh, that’s a pain.
FWIW I’ve filed a request with the Red Hat kernel guys to have the driver enabled in the stock kernel. The head guy wasn’t aware that ath9k_htc was being used in USB adaptors (he thought it was only used in phones) and he seemed pretty amenable to the change.
I bought another card in the end, once I realised keeping it working would be a pain. I’m using the ath9k_htc one on a Fedora box (where it works fine).
We (ELRepo) have just released updated ath9k_htc driver packages for el6.4 to the testing repository:
http://elrepo.org/linux/testing/el6/
kmod-ath9k_htc-0.0-4.el6
We would appreciate feedback from anyone with the appropriate hardware that is able to test.
Just a note to mention that we (ELRepo) have moved the kmod-ath9k_htc package (and ath9k_htc-firmware) to the main repository.