linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N
@ 2010-06-10  5:17 Yatharth
  2010-06-10  5:27 ` Sujith
  0 siblings, 1 reply; 9+ messages in thread
From: Yatharth @ 2010-06-10  5:17 UTC (permalink / raw)
  To: linux-wireless

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N
  2010-06-10  5:17 issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N Yatharth
@ 2010-06-10  5:27 ` Sujith
  2010-06-10  5:32   ` Yatharth
  0 siblings, 1 reply; 9+ messages in thread
From: Sujith @ 2010-06-10  5:27 UTC (permalink / raw)
  To: Yatharth; +Cc: linux-wireless@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N
  2010-06-10  5:27 ` Sujith
@ 2010-06-10  5:32   ` Yatharth
  2010-06-10  5:35     ` Sujith
  2010-06-30 21:59     ` c0rrupt
  0 siblings, 2 replies; 9+ messages in thread
From: Yatharth @ 2010-06-10  5:32 UTC (permalink / raw)
  To: Sujith; +Cc: linux-wireless@vger.kernel.org

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 majordomo@vger.kernel.org
> 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N
  2010-06-10  5:32   ` Yatharth
@ 2010-06-10  5:35     ` Sujith
  2010-06-10  5:36       ` Yatharth
  2010-06-30 21:59     ` c0rrupt
  1 sibling, 1 reply; 9+ messages in thread
From: Sujith @ 2010-06-10  5:35 UTC (permalink / raw)
  To: Yatharth; +Cc: linux-wireless@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N
  2010-06-10  5:35     ` Sujith
@ 2010-06-10  5:36       ` Yatharth
  2010-06-10  5:51         ` Sujith
  0 siblings, 1 reply; 9+ messages in thread
From: Yatharth @ 2010-06-10  5:36 UTC (permalink / raw)
  To: Sujith; +Cc: linux-wireless@vger.kernel.org

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 majordomo@vger.kernel.org
> 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N
  2010-06-10  5:36       ` Yatharth
@ 2010-06-10  5:51         ` Sujith
  2010-06-10  5:53           ` Luis R. Rodriguez
  0 siblings, 1 reply; 9+ messages in thread
From: Sujith @ 2010-06-10  5:51 UTC (permalink / raw)
  To: Yatharth; +Cc: Sujith Manoharan, linux-wireless@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N
  2010-06-10  5:51         ` Sujith
@ 2010-06-10  5:53           ` Luis R. Rodriguez
  2010-06-10  6:07             ` Yatharth
  0 siblings, 1 reply; 9+ messages in thread
From: Luis R. Rodriguez @ 2010-06-10  5:53 UTC (permalink / raw)
  To: Sujith; +Cc: Yatharth, linux-wireless@vger.kernel.org

On Wed, Jun 9, 2010 at 10:51 PM, Sujith <Sujith.Manoharan@atheros.com> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N
  2010-06-10  5:53           ` Luis R. Rodriguez
@ 2010-06-10  6:07             ` Yatharth
  0 siblings, 0 replies; 9+ messages in thread
From: Yatharth @ 2010-06-10  6:07 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: Sujith, linux-wireless@vger.kernel.org

On 06/09/2010 10:53 PM, Luis R. Rodriguez wrote:
> On Wed, Jun 9, 2010 at 10:51 PM, Sujith<Sujith.Manoharan@atheros.com>  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 majordomo@vger.kernel.org
> 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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N
  2010-06-10  5:32   ` Yatharth
  2010-06-10  5:35     ` Sujith
@ 2010-06-30 21:59     ` c0rrupt
  1 sibling, 0 replies; 9+ messages in thread
From: c0rrupt @ 2010-06-30 21:59 UTC (permalink / raw)
  To: linux-wireless

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?




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-07-01  6:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-10  5:17 issues while attempting ath9k_htc to work with ubuntu 10.04, device TL-WN721N Yatharth
2010-06-10  5:27 ` Sujith
2010-06-10  5:32   ` Yatharth
2010-06-10  5:35     ` Sujith
2010-06-10  5:36       ` Yatharth
2010-06-10  5:51         ` Sujith
2010-06-10  5:53           ` Luis R. Rodriguez
2010-06-10  6:07             ` Yatharth
2010-06-30 21:59     ` c0rrupt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).