[rt2x00-users] rt2800usb for rt3572 - linksys WUSB600N v2 - problem

Gertjan van Wingerde gwingerde at gmail.com
Fri Jun 3 00:38:48 AEST 2011


On 06/02/11 10:00, Andreas Hartmann wrote:
> Gertjan van Wingerde schrieb:
>> On 06/01/11 23:48, Andreas Hartmann wrote:
>>> Did I miss any other related patch?
>>>
>>
>> You missed the revert of the 6th patch of that 7-patch series (the one about not
>> disabling IRQs for the index lock).
>>
>> That patch is the cause of these WARNings in the kernel log.
> 
> Thank you for your quick solution!
> 
> I reverted the 6th patch and tried again (under 2.6.37 kernel).
> The crash is gone, but the warnings are unchanged. There are tons of them.

Well, it wasn't a real crash, but a kernel WARNing. And the revert of the patch
exactly resolved these.

> 
> 
> This is a part from messages after about 48000 "TX status report missed
> for" warnings (they all came up in 1 minute 25 seconds during netperf :-)):
> 
> Jun  2 07:19:16 pc2 kernel: [ 2779.593734] phy0 ->
> rt2800usb_txdone_entry_check: Warning - TX status report missed for
> queue 2 entry 57
> Jun  2 07:19:17 pc2 kernel: [ 2780.002212] phy0 -> rt2800usb_watchdog:
> Warning - TX HW queue 0 timed out, invoke forced kick
> Jun  2 07:19:17 pc2 kernel: [ 2780.413033] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:18 pc2 kernel: [ 2781.002169] phy0 -> rt2800usb_watchdog:
> Warning - TX HW queue 0 timed out, invoke forced kick
> Jun  2 07:19:18 pc2 kernel: [ 2781.002658] phy0 ->
> rt2x00usb_watchdog_tx_status: Warning - TX queue 0 status timed out,
> invoke forced tx handler
> Jun  2 07:19:18 pc2 kernel: [ 2781.226034] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:18 pc2 kernel: [ 2781.858032] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:19 pc2 kernel: [ 2781.976033] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:19 pc2 kernel: [ 2782.091031] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:19 pc2 kernel: [ 2782.094244] phy0 -> rt2800usb_watchdog:
> Warning - TX HW queue 0 timed out, invoke forced kick
> Jun  2 07:19:19 pc2 kernel: [ 2782.094739] phy0 ->
> rt2x00usb_watchdog_tx_status: Warning - TX queue 0 status timed out,
> invoke forced tx handler
> Jun  2 07:19:19 pc2 kernel: [ 2782.208032] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:19 pc2 kernel: [ 2782.323030] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:19 pc2 kernel: [ 2782.438032] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:19 pc2 kernel: [ 2782.553031] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:19 pc2 kernel: [ 2782.668032] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:20 pc2 kernel: [ 2782.885031] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:20 pc2 kernel: [ 2783.000035] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:20 pc2 kernel: [ 2783.116037] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:20 pc2 kernel: [ 2783.119321] phy0 -> rt2800usb_watchdog:
> Warning - TX HW queue 0 timed out, invoke forced kick
> Jun  2 07:19:20 pc2 kernel: [ 2783.119817] phy0 ->
> rt2x00usb_watchdog_tx_status: Warning - TX queue 0 status timed out,
> invoke forced tx handler
> Jun  2 07:19:20 pc2 kernel: [ 2783.232034] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:20 pc2 kernel: [ 2783.347032] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:20 pc2 kernel: [ 2783.462033] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> Jun  2 07:19:20 pc2 kernel: [ 2783.580034] phy0 ->
> rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> 
> 
> The data from netperf is:
> 
> from supplicant -> hostapd: 1,2 MB/s - after the period described above:
> dead (with rt3275sta module: 8,5 MB/s)
> 
> from hostapd -> supplicant: 5,1 MB/s (with rt3275sta module: 11,1 MB/s)
> 
> ping latency from supplicant to hostapd: 3,3 ms (rt3572sta: 0,7ms)
> ping latency from hostapd to supplicant: between 33 and 257 ms
> (rt3572sta: 0,7 ms)
> 
> 
> The same with 2.6.39 kernel (without compat module loaded)
> 
> 
> BTW: these tests where done with a single core machine!
> 

Yes, it seems that recently these new rt2x00 warnings have come up for USB
devices. To be honest, I don't know much about what is causing these.
As Ivo has been working on the USB drivers the most, I hope he can shed some
light on this.

---
Gertjan




More information about the users mailing list