2013-09-05 10:12:07

by Antonio Quartulli

[permalink] [raw]
Subject: WARNING with ath9k_htc on TL-WN721N

Hello list,

I ma connected to my WPA2-PSK protected network and from time to time I get the
following warning in dmesg. I don't experience any malfunctionng but I thought
it was worth reporting. My kernel version is linux-3.10.10. I remember I've seen
this warning also with previous versions.

The device I use is a TP-LINK TL-WN721N.
lsusb says:

Bus 002 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n

Cheers,

[ 7762.963117] ------------[ cut here ]------------
[ 7762.963127] WARNING: at drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:501
ath9k_htc_tx_process+0x36b/0x380 [ath9k_htc]()
[ 7762.963129] Modules linked in: usbhid btusb bluetooth ftdi_sio usbserial
ath9k_htc ath9k_common ath9k_hw ath acpi_cpufreq mperf kvm_intel kvm
crc32c_intel iwldvm mac80211 ghash_clmulni_intel snd_hda_codec_hdmi
snd_hda_codec_idt aesni_intel ehci_pci iwlwifi snd_hda_intel snd_hda_codec
ehci_hcd snd_hwdep cfg80211 aes_x86_64 snd_pcm snd_page_alloc snd_timer usbcore
snd lrw gf128mul lpc_ich glue_helper usb_common ablk_helper psmouse soundcore
cryptd
[ 7762.963159] CPU: 0 PID: 512 Comm: X Tainted: G W 3.10.10-gentoo #2
[ 7762.963161] Hardware name: Dell Inc. Latitude E5420/0675PR, BIOS A01
04/20/2011
[ 7762.963163] ffffffff814bf8ea ffffffff81034886 ffff8802249a9cf0
ffff880221bf17a0
[ 7762.963166] ffff880221bf1d50 0000000000000000 0000000000004188
ffffffffa05a316b
[ 7762.963169] ffffffffa05a2d9c 0000000000000000 ffff88022489860d
ffff880221bf17a0
[ 7762.963172] Call Trace:
[ 7762.963174] <IRQ> [<ffffffff814bf8ea>] ? dump_stack+0xc/0x15
[ 7762.963183] [<ffffffff81034886>] ? warn_slowpath_common+0x56/0x70
[ 7762.963187] [<ffffffffa05a316b>] ? ath9k_htc_tx_process+0x36b/0x380
[ath9k_htc]
[ 7762.963191] [<ffffffffa05a2d9c>] ? ath9k_htc_tx_get_packet+0x12c/0x190
[ath9k_htc]
[ 7762.963195] [<ffffffffa05a3a7e>] ? ath9k_htc_txstatus+0x2e/0x120 [ath9k_htc]
[ 7762.963198] [<ffffffffa05a274e>] ? ath9k_wmi_event_tasklet+0x12e/0x150
[ath9k_htc]
[ 7762.963202] [<ffffffff8103b44a>] ? tasklet_action+0x5a/0xc0
[ 7762.963205] [<ffffffff8103b9b6>] ? __do_softirq+0xd6/0x1b0
[ 7762.963209] [<ffffffff8103bbfd>] ? irq_exit+0xbd/0xd0
[ 7762.963212] [<ffffffff81004819>] ? do_IRQ+0x49/0xb0
[ 7762.963215] [<ffffffff814c51aa>] ? common_interrupt+0x6a/0x6a
[ 7762.963216] <EOI> [<ffffffff81080f62>] ? smp_call_function_many+0x222/0x280
[ 7762.963224] [<ffffffff812dc7c0>] ? i915_restore_state+0x960/0x960
[ 7762.963226] [<ffffffff812dc7c0>] ? i915_restore_state+0x960/0x960
[ 7762.963229] [<ffffffff81080fe9>] ? smp_call_function+0x29/0x60
[ 7762.963232] [<ffffffff81081041>] ? on_each_cpu+0x21/0x70
[ 7762.963235] [<ffffffff812dcd23>] ? i915_gem_object_update_fence+0xf3/0x100
[ 7762.963238] [<ffffffff812df18d>] ? i915_gem_object_get_fence+0x6d/0x1f0
[ 7762.963241] [<ffffffff812e12f0>] ? i915_gem_fault+0x1c0/0x210
[ 7762.963244] [<ffffffff810d6516>] ? __do_fault+0x66/0x4f0
[ 7762.963248] [<ffffffff812b57a5>] ? drm_gem_object_lookup+0x55/0xa0
[ 7762.963251] [<ffffffff810d92b7>] ? handle_pte_fault+0x87/0x850
[ 7762.963254] [<ffffffff8102a38d>] ? __do_page_fault+0x11d/0x440
[ 7762.963257] [<ffffffff810e0678>] ? do_mmap_pgoff+0x2f8/0x3b0
[ 7762.963261] [<ffffffff8106ac71>] ? cpuacct_account_field+0x11/0x60
[ 7762.963264] [<ffffffff8102a6f2>] ? do_page_fault+0x22/0x40
[ 7762.963267] [<ffffffff814c53e2>] ? page_fault+0x22/0x30
[ 7762.963269] ---[ end trace 3c536c5012f2e043 ]---


--
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara


Attachments:
(No filename) (3.44 kB)
signature.asc (836.00 B)
Digital signature
Download all attachments

2013-09-05 14:32:15

by Oleksij Rempel

[permalink] [raw]
Subject: Re: WARNING with ath9k_htc on TL-WN721N

Am 05.09.2013 16:21, schrieb Antonio Quartulli:
> On Thu, Sep 05, 2013 at 04:09:04PM +0200, Oleksij Rempel wrote:
>> Forgot attachment.
>>
>>
>> Am 05.09.2013 16:07, schrieb Oleksij Rempel:
>>> Hi,
>>>
>>> thank you.
>>>
>>> please do some tests for me.
>>>
>>> 1. run wireless adapter without other devices on this bus.
>>>
>
> Ok Oleksij, I'll try to do these tests soonish. You think the problem is
> triggered by a scan operation?
>
> If so, I'll try to reproduce it by scanning. Till now I had no clue about the
> cause.

Probably no only scan. Normally if you use network manager, it will scan
each 160 seconds or so. In this case you will get this warning lot more
often. Probably it comes together: hight network traffic + channel scan
+ usb traffic of other devices on same bus.


--
Regards,
Oleksij

2013-09-05 14:24:13

by Antonio Quartulli

[permalink] [raw]
Subject: Re: WARNING with ath9k_htc on TL-WN721N

On Thu, Sep 05, 2013 at 04:09:04PM +0200, Oleksij Rempel wrote:
> Forgot attachment.
>
>
> Am 05.09.2013 16:07, schrieb Oleksij Rempel:
> > Hi,
> >
> > thank you.
> >
> > please do some tests for me.
> >
> > 1. run wireless adapter without other devices on this bus.
> >
> >> Bus 002 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271
> >> 802.11n
> >> Bus 002 Device 011: ID 03f0:8607 Hewlett-Packard Optical Mobile Mouse
> >> Bus 002 Device 005: ID 0403:6001 Future Technology Devices
> >> International, Ltd
> >> FT232 USB-Serial (UART) IC
> >> Bus 002 Device 006: ID 413c:8187 Dell Computer Corp. DW375 Bluetooth
> >> Module
> >
> > probably Bluetooth can't be removed, so disable it by software.
> >
> > 2. if this warning disappear, plug them back and rung kernel with
> > attached patch. I wont to see if this warning related to channel scan.
> >
> > 3. try latest wireless-next kernel
> > https://git.kernel.org/cgit/linux/kernel/git/linville/wireless-next.git/
> >
> > there are some patches which will affect usb communication, this will be
> > visible on your hardware, in good or bad way. Will see how it performs
> > in your situation.
> >
> > I assume this warning is related to usb bandwidth. Since we use BULK
> > transfer, we will get only rest of it. If other devices use ISO or
> > Interrupt, They well have priority.

Ok Oleksij, I'll try to do these tests soonish. You think the problem is
triggered by a scan operation?

If so, I'll try to reproduce it by scanning. Till now I had no clue about the
cause.

Cheers,


--
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara


Attachments:
(No filename) (1.60 kB)
signature.asc (836.00 B)
Digital signature
Download all attachments

2013-09-05 10:34:56

by Antonio Quartulli

[permalink] [raw]
Subject: Re: WARNING with ath9k_htc on TL-WN721N

lsusb:

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 1bcf:280b Sunplus Innovation Technology Inc.
Bus 002 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 002 Device 011: ID 03f0:8607 Hewlett-Packard Optical Mobile Mouse
Bus 002 Device 005: ID 0403:6001 Future Technology Devices International, Ltd
FT232 USB-Serial (UART) IC
Bus 002 Device 006: ID 413c:8187 Dell Computer Corp. DW375 Bluetooth Module


lspci:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM
Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset
Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family
USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High
Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI
Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI
Express Root Port 2 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI
Express Root Port 3 (rev b4)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI
Express Root Port 6 (rev b4)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI
Express Root Port 7 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family
USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller
(rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6
port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus
Controller (rev 04)
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor
Peak] (rev 34)
03:00.0 CardBus bridge: O2 Micro, Inc. Device 8134 (rev 06)
09:00.0 FireWire (IEEE 1394): O2 Micro, Inc. 1394 OHCI Compliant Host Controller
(rev 05)
09:00.1 SD Host controller: O2 Micro, Inc. Integrated MMC/SD controller (rev 05)
09:00.2 Mass storage controller: O2 Micro, Inc. O2 Flash Memory Card (rev 05)
0a:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761 Gigabit
Ethernet PCIe (rev 10)


I'm not using the Intel card listed in lspci. (the iwldvm module is loaded but
the interface is down).

Cheers,


On Thu, Sep 05, 2013 at 12:25:06PM +0200, Oleksij Rempel wrote:
> Am 05.09.2013 12:09, schrieb Antonio Quartulli:
> > Hello list,
> >
> > I ma connected to my WPA2-PSK protected network and from time to time I get the
> > following warning in dmesg. I don't experience any malfunctionng but I thought
> > it was worth reporting. My kernel version is linux-3.10.10. I remember I've seen
> > this warning also with previous versions.
> >
> > The device I use is a TP-LINK TL-WN721N.
> > lsusb says:
> >
> > Bus 002 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
> >
> > Cheers,
> >
>
> Hi Antonio,
>
> pleas send out of lsusb and lspci.
>
>
> --
> Regards,
> Oleksij

--
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara


Attachments:
(No filename) (3.54 kB)
signature.asc (836.00 B)
Digital signature
Download all attachments

2013-09-05 10:25:10

by Oleksij Rempel

[permalink] [raw]
Subject: Re: WARNING with ath9k_htc on TL-WN721N

Am 05.09.2013 12:09, schrieb Antonio Quartulli:
> Hello list,
>
> I ma connected to my WPA2-PSK protected network and from time to time I get the
> following warning in dmesg. I don't experience any malfunctionng but I thought
> it was worth reporting. My kernel version is linux-3.10.10. I remember I've seen
> this warning also with previous versions.
>
> The device I use is a TP-LINK TL-WN721N.
> lsusb says:
>
> Bus 002 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
>
> Cheers,
>

Hi Antonio,

pleas send out of lsusb and lspci.


--
Regards,
Oleksij

2013-09-05 14:09:07

by Oleksij Rempel

[permalink] [raw]
Subject: Re: WARNING with ath9k_htc on TL-WN721N

Forgot attachment.


Am 05.09.2013 16:07, schrieb Oleksij Rempel:
> Hi,
>
> thank you.
>
> please do some tests for me.
>
> 1. run wireless adapter without other devices on this bus.
>
>> Bus 002 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271
>> 802.11n
>> Bus 002 Device 011: ID 03f0:8607 Hewlett-Packard Optical Mobile Mouse
>> Bus 002 Device 005: ID 0403:6001 Future Technology Devices
>> International, Ltd
>> FT232 USB-Serial (UART) IC
>> Bus 002 Device 006: ID 413c:8187 Dell Computer Corp. DW375 Bluetooth
>> Module
>
> probably Bluetooth can't be removed, so disable it by software.
>
> 2. if this warning disappear, plug them back and rung kernel with
> attached patch. I wont to see if this warning related to channel scan.
>
> 3. try latest wireless-next kernel
> https://git.kernel.org/cgit/linux/kernel/git/linville/wireless-next.git/
>
> there are some patches which will affect usb communication, this will be
> visible on your hardware, in good or bad way. Will see how it performs
> in your situation.
>
> I assume this warning is related to usb bandwidth. Since we use BULK
> transfer, we will get only rest of it. If other devices use ISO or
> Interrupt, They well have priority.
>
>> I'm not using the Intel card listed in lspci. (the iwldvm module is
>> loaded but
>> the interface is down).
>>
>> Cheers,
>>
>>
>> On Thu, Sep 05, 2013 at 12:25:06PM +0200, Oleksij Rempel wrote:
>>> Am 05.09.2013 12:09, schrieb Antonio Quartulli:
>>>> Hello list,
>>>>
>>>> I ma connected to my WPA2-PSK protected network and from time to
>>>> time I get the
>>>> following warning in dmesg. I don't experience any malfunctionng but
>>>> I thought
>>>> it was worth reporting. My kernel version is linux-3.10.10. I
>>>> remember I've seen
>>>> this warning also with previous versions.
>>>>
>>>> The device I use is a TP-LINK TL-WN721N.
>>>> lsusb says:
>>>>
>>>> Bus 002 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271
>>>> 802.11n
>>>>
>>>> Cheers,
>>>>
>>>
>>> Hi Antonio,
>>>
>>> pleas send out of lsusb and lspci.
>>>
>>>
>>> --
>>> Regards,
>>> Oleksij
>>
>
>


--
Regards,
Oleksij


Attachments:
scan_dbg.diff (810.00 B)

2013-09-05 14:07:51

by Oleksij Rempel

[permalink] [raw]
Subject: Re: WARNING with ath9k_htc on TL-WN721N

Hi,

thank you.

please do some tests for me.

1. run wireless adapter without other devices on this bus.

> Bus 002 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
> Bus 002 Device 011: ID 03f0:8607 Hewlett-Packard Optical Mobile Mouse
> Bus 002 Device 005: ID 0403:6001 Future Technology Devices International, Ltd
> FT232 USB-Serial (UART) IC
> Bus 002 Device 006: ID 413c:8187 Dell Computer Corp. DW375 Bluetooth Module

probably Bluetooth can't be removed, so disable it by software.

2. if this warning disappear, plug them back and rung kernel with
attached patch. I wont to see if this warning related to channel scan.

3. try latest wireless-next kernel
https://git.kernel.org/cgit/linux/kernel/git/linville/wireless-next.git/

there are some patches which will affect usb communication, this will be
visible on your hardware, in good or bad way. Will see how it performs
in your situation.

I assume this warning is related to usb bandwidth. Since we use BULK
transfer, we will get only rest of it. If other devices use ISO or
Interrupt, They well have priority.

> I'm not using the Intel card listed in lspci. (the iwldvm module is loaded but
> the interface is down).
>
> Cheers,
>
>
> On Thu, Sep 05, 2013 at 12:25:06PM +0200, Oleksij Rempel wrote:
>> Am 05.09.2013 12:09, schrieb Antonio Quartulli:
>>> Hello list,
>>>
>>> I ma connected to my WPA2-PSK protected network and from time to time I get the
>>> following warning in dmesg. I don't experience any malfunctionng but I thought
>>> it was worth reporting. My kernel version is linux-3.10.10. I remember I've seen
>>> this warning also with previous versions.
>>>
>>> The device I use is a TP-LINK TL-WN721N.
>>> lsusb says:
>>>
>>> Bus 002 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
>>>
>>> Cheers,
>>>
>>
>> Hi Antonio,
>>
>> pleas send out of lsusb and lspci.
>>
>>
>> --
>> Regards,
>> Oleksij
>


--
Regards,
Oleksij