Skip to contentSkip to conversation

issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N

DISCUSSION Yatharth 4 participants 9 messages Jun 10, 2010 – Jul 1, 2010

lore
Share & tools
lore

Yatharth

author
#0 lore raw

I am trying to install driver for the TP-LINK : TL-WN721N (Wi-Fi USB Device). If this is not the sort of issues this mailing list is for, please let me know.

This device should use the ath9k_htc driver

./lsusb
Bus 001 Device 003: ID 0cf3:9271 Atheros Communications, Inc.

I have followed the instruction from http://linuxwireless.org/en/users/Download <http://linuxwireless.org/en/users/Download> But they do not seem to work for me

When I modprobe ath9k_htc

Ubu-VM:/lib/modules/2.6.32-22-generic/build$ sudo modprobe ath9k_htc

FATAL: Error inserting ath9k_htc (/lib/modules/2.6.32-22-generic/updates/drivers/net/wireless/ath/ath9k/ath9k_htc.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

Here is the output of dmesg

Ubu-VM:/lib/modules/2.6.32-22-generic/build$ dmesg | grep ath9k
[ 1926.917944] ath9k_htc: disagrees about version of symbol
ath9k_hw_set_txpowerlimit
[ 1926.917947] ath9k_htc: Unknown symbol ath9k_hw_set_txpowerlimit
[ 1926.918248] ath9k_htc: disagrees about version of symbol
ath9k_hw_reset_calvalid
[ 1926.918250] ath9k_htc: Unknown symbol ath9k_hw_reset_calvalid
[ 1926.918377] ath9k_htc: disagrees about version of symbol
ath9k_hw_setcapability
[ 1926.918379] ath9k_htc: Unknown symbol ath9k_hw_setcapability
[ 1926.918603] ath9k_htc: disagrees about version of symbol
ieee80211_free_hw
[ 1926.918605] ath9k_htc: Unknown symbol ieee80211_free_hw
[ 1926.918680] ath9k_htc: disagrees about version of symbol ath9k_hw_reset
[ 1926.918682] ath9k_htc: Unknown symbol ath9k_hw_reset
[ 1926.919176] ath9k_htc: disagrees about version of symbol
ath9k_hw_setuptxqueue
[ 1926.919179] ath9k_htc: Unknown symbol ath9k_hw_setuptxqueue
[ 1926.919256] ath9k_htc: disagrees about version of symbol
ath9k_hw_startpcureceive
[ 1926.919257] ath9k_htc: Unknown symbol ath9k_hw_startpcureceive
[ 1926.919352] ath9k_htc: Unknown symbol ath9k_cmn_key_delete
[ 1926.919477] ath9k_htc: Unknown symbol ath9k_cmn_key_config
[ 1926.919559] ath9k_htc: disagrees about version of symbol

ath9k_hw_keyreset

#1 lore raw
Quoted 50 lines · Yatharth

I am trying to install driver for the TP-LINK : TL-WN721N (Wi-Fi USB Device). If this is not the sort of issues this mailing list is for, please let me know.

This device should use the ath9k_htc driver

./lsusb
Bus 001 Device 003: ID 0cf3:9271 Atheros Communications, Inc.

I have followed the instruction from
http://linuxwireless.org/en/users/Download
<http://linuxwireless.org/en/users/Download> But they do not seem to work for me

When I modprobe ath9k_htc

Ubu-VM:/lib/modules/2.6.32-22-generic/build$ sudo modprobe ath9k_htc

FATAL: Error inserting ath9k_htc (/lib/modules/2.6.32-22-generic/updates/drivers/net/wireless/ath/ath9k/ath9k_htc.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

Here is the output of dmesg

Ubu-VM:/lib/modules/2.6.32-22-generic/build$ dmesg | grep ath9k
[ 1926.917944] ath9k_htc: disagrees about version of symbol
ath9k_hw_set_txpowerlimit
[ 1926.917947] ath9k_htc: Unknown symbol ath9k_hw_set_txpowerlimit
[ 1926.918248] ath9k_htc: disagrees about version of symbol
ath9k_hw_reset_calvalid
[ 1926.918250] ath9k_htc: Unknown symbol ath9k_hw_reset_calvalid
[ 1926.918377] ath9k_htc: disagrees about version of symbol
ath9k_hw_setcapability
[ 1926.918379] ath9k_htc: Unknown symbol ath9k_hw_setcapability
[ 1926.918603] ath9k_htc: disagrees about version of symbol
ieee80211_free_hw
[ 1926.918605] ath9k_htc: Unknown symbol ieee80211_free_hw
[ 1926.918680] ath9k_htc: disagrees about version of symbol ath9k_hw_reset
[ 1926.918682] ath9k_htc: Unknown symbol ath9k_hw_reset
[ 1926.919176] ath9k_htc: disagrees about version of symbol
ath9k_hw_setuptxqueue
[ 1926.919179] ath9k_htc: Unknown symbol ath9k_hw_setuptxqueue
[ 1926.919256] ath9k_htc: disagrees about version of symbol
ath9k_hw_startpcureceive
[ 1926.919257] ath9k_htc: Unknown symbol ath9k_hw_startpcureceive
[ 1926.919352] ath9k_htc: Unknown symbol ath9k_cmn_key_delete
[ 1926.919477] ath9k_htc: Unknown symbol ath9k_cmn_key_config
[ 1926.919559] ath9k_htc: disagrees about version of symbol
Quoted 1 line

ath9k_hw_keyreset

You haven't unloaded the existing ath9k_hw module.

Do a 'sudo make install' in your compat directory, and then 'sudo make unload'.

Check 'lsmod | grep ath'. If anything is still present, unload all of them, along with mac80211, cfg80211. Then modprobe ath9k_htc.

Of course, you can just reboot after 'sudo make install' and things should work.

Sujith

author
#2 lore raw
Quoted 62 lines · Sujith
Quoted 50 lines · Yatharth

I am trying to install driver for the TP-LINK : TL-WN721N (Wi-Fi USB Device). If this is not the sort of issues this mailing list is for, please let me know.

This device should use the ath9k_htc driver

./lsusb
Bus 001 Device 003: ID 0cf3:9271 Atheros Communications, Inc.

I have followed the instruction from
http://linuxwireless.org/en/users/Download
<http://linuxwireless.org/en/users/Download> But they do not seem to work for me

When I modprobe ath9k_htc

Ubu-VM:/lib/modules/2.6.32-22-generic/build$ sudo modprobe ath9k_htc

FATAL: Error inserting ath9k_htc (/lib/modules/2.6.32-22-generic/updates/drivers/net/wireless/ath/ath9k/ath9k_htc.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

Here is the output of dmesg

Ubu-VM:/lib/modules/2.6.32-22-generic/build$ dmesg | grep ath9k
[ 1926.917944] ath9k_htc: disagrees about version of symbol
ath9k_hw_set_txpowerlimit
[ 1926.917947] ath9k_htc: Unknown symbol ath9k_hw_set_txpowerlimit
[ 1926.918248] ath9k_htc: disagrees about version of symbol
ath9k_hw_reset_calvalid
[ 1926.918250] ath9k_htc: Unknown symbol ath9k_hw_reset_calvalid
[ 1926.918377] ath9k_htc: disagrees about version of symbol
ath9k_hw_setcapability
[ 1926.918379] ath9k_htc: Unknown symbol ath9k_hw_setcapability
[ 1926.918603] ath9k_htc: disagrees about version of symbol
ieee80211_free_hw
[ 1926.918605] ath9k_htc: Unknown symbol ieee80211_free_hw
[ 1926.918680] ath9k_htc: disagrees about version of symbol ath9k_hw_reset
[ 1926.918682] ath9k_htc: Unknown symbol ath9k_hw_reset
[ 1926.919176] ath9k_htc: disagrees about version of symbol
ath9k_hw_setuptxqueue
[ 1926.919179] ath9k_htc: Unknown symbol ath9k_hw_setuptxqueue
[ 1926.919256] ath9k_htc: disagrees about version of symbol
ath9k_hw_startpcureceive
[ 1926.919257] ath9k_htc: Unknown symbol ath9k_hw_startpcureceive
[ 1926.919352] ath9k_htc: Unknown symbol ath9k_cmn_key_delete
[ 1926.919477] ath9k_htc: Unknown symbol ath9k_cmn_key_config
[ 1926.919559] ath9k_htc: disagrees about version of symbol
Quoted 2 lines

ath9k_hw_keyreset

You haven't unloaded the existing ath9k_hw module.

Do a 'sudo make install' in your compat directory, and then 'sudo make unload'.

Check 'lsmod | grep ath'. If anything is still present, unload all of them, along with mac80211, cfg80211. Then modprobe ath9k_htc.

Quoted 8 lines

Of course, you can just reboot after 'sudo make install' and things should work.

Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

I had checked earlier to ensure that everything was unloaded.

But I've done it again to make sure.
Step 1 : 'sudo make unload'
Step 2 : 'lsmod | grep ath' [Returns Nothing, thus indicating none of these modules are loaded]

If I do 'modprobe ath9k_htc' after this, I still get the same error

#3 lore raw
Quoted 8 lines · Yatharth

I had checked earlier to ensure that everything was unloaded.

But I've done it again to make sure.
Step 1 : 'sudo make unload'
Step 2 : 'lsmod | grep ath' [Returns Nothing, thus indicating none of these modules are loaded]

If I do 'modprobe ath9k_htc' after this, I still get the same error

What does 'modinfo ath9k_hw' show ?

Sujith

author
#4 lore raw
Quoted 11 lines · Sujith
Quoted 9 lines · Yatharth

I had checked earlier to ensure that everything was unloaded.

But I've done it again to make sure.
Step 1 : 'sudo make unload'
Step 2 : 'lsmod | grep ath' [Returns Nothing, thus indicating none of these modules are loaded]

If I do 'modprobe ath9k_htc' after this, I still get the same error

Quoted 8 lines

What does 'modinfo ath9k_hw' show ?

Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Here is the output of 'modinfo ath9k_hw'

Ubu-VM:~/tmp/compat-wireless-2010-06-05$ modinfo ath9k_hw
filename:       /lib/modules/2.6.32-22-generic/updates/cw/ath9k_hw.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
srcversion:     0946B41CE1566D09C4B08F1
depends:        ath
vermagic:       2.6.32-22-generic SMP mod_unload modversions 586
#5 lore raw
Quoted 4 lines · Yatharth

Here is the output of 'modinfo ath9k_hw'

Ubu-VM:~/tmp/compat-wireless-2010-06-05$ modinfo ath9k_hw
filename:       /lib/modules/2.6.32-22-generic/updates/cw/ath9k_hw.ko

What is the 'cw' directory ?

On my machine, modinfo -n ath9k_hw shows:
/lib/modules/2.6.32-22-generic/updates/drivers/net/wireless/ath/ath9k/ath9k_hw.ko

You have some stray modules in your system, clean them up and reload the driver.

Sujith

#6 lore raw
Quoted 7 lines · Sujith
Quoted 4 lines · Yatharth

Here is the output of 'modinfo ath9k_hw'

Ubu-VM:~/tmp/compat-wireless-2010-06-05$ modinfo ath9k_hw
filename:       /lib/modules/2.6.32-22-generic/updates/cw/ath9k_hw.ko

What is the 'cw' directory ?

Its ubuntu's compat-wireless package, linux-backport-modules. Try to uninstall that or rm -rf it.

Luis

author
#7 lore raw
Quoted 11 lines · Luis R. Rodriguez
Quoted 9 lines · Sujith
Quoted 5 lines · Yatharth

Here is the output of 'modinfo ath9k_hw'

Ubu-VM:~/tmp/compat-wireless-2010-06-05$ modinfo ath9k_hw
filename:       /lib/modules/2.6.32-22-generic/updates/cw/ath9k_hw.ko

What is the 'cw' directory ?

Quoted 9 lines

Its ubuntu's compat-wireless package, linux-backport-modules. Try to uninstall that or rm -rf it.

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Thanks Sujith & Luis that fixed it. I can now see the device and use it correctly.

I remove the 'cw' directory and then

'sudo make install'
'sudo make unload'
'sudo modprobe ath9k_htc'

I did install the compat-wireless package, I believe I did it while self-debugging the issue without knowing the implications.

#8 lore raw
In reply to Yatharth

Yatharth <y <at> yatharthgupta.com> writes:
********

Yeah I have same problem on Ubuntu 10.04. make install, everything ok no errors, restart PC and I have same error messages as you. Any one have solution?