2010-06-10 05:17:26

by Yatharth

[permalink] [raw]
Subject: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N

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


2010-06-10 05:50:12

by Sujith

[permalink] [raw]
Subject: Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N

Yatharth wrote:
> 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

2010-06-10 05:26:23

by Sujith

[permalink] [raw]
Subject: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N

Yatharth wrote:
> 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

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

2010-06-10 06:07:38

by Yatharth

[permalink] [raw]
Subject: Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N

On 06/09/2010 10:53 PM, Luis R. Rodriguez wrote:
> On Wed, Jun 9, 2010 at 10:51 PM, Sujith<[email protected]> wrote:
>
>> Yatharth wrote:
>>
>>> 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
> --
> 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.

2010-06-10 05:34:19

by Sujith

[permalink] [raw]
Subject: Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N

Yatharth wrote:
> 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

2010-06-10 05:32:08

by Yatharth

[permalink] [raw]
Subject: Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N

On 06/09/2010 10:27 PM, Sujith wrote:
> Yatharth wrote:
>
>> 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
>>
> 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
> --
> 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


2010-06-10 05:53:36

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N

On Wed, Jun 9, 2010 at 10:51 PM, Sujith <[email protected]> wrote:
> Yatharth wrote:
>> 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

2010-06-10 05:36:35

by Yatharth

[permalink] [raw]
Subject: Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N

On 06/09/2010 10:35 PM, Sujith wrote:
> Yatharth wrote:
>
>> 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
> --
> 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


2010-07-01 06:35:07

by c0rrupt

[permalink] [raw]
Subject: Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N

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?