[rt2x00-users] [RFC/RFT] rt2x00: Fix rt2800usb TX status report matching to a TX queue entry.

Julien Massot jmassot at aldebaran-robotics.com
Thu Feb 23 21:15:03 EST 2012


Hi,
I'm a rt2x00 user, and i have some strange bug like you describe in this thread:
with the compat-wireless 3-2.1 package, my rt3070 adapter stops to
work after a while.

After having enabled the RT2X00_DEBUG, I obtain a huge of warnings
about tx status,
it seems to not be relevant to a real bug so i have commented out
these warnings.

A real bug happens just after the NIC is disconnected from the AP and
fail to probe for reconnecting,
The driver seems to not be able to restore the Tx operation, and the
watchdog resets the queue.

Does this bug is a knew bug, does a newer version of the driver have a
chance to solve this issue ?

For the moment i'm not able to reproduce this bug easily,
It can happen after some minutes, but the driver can work for two days
without any problems.

Feb 23 10:01:20 Flexo klogd: phy0 -> rt2x00usb_watchdog_tx_dma:
Warning - TX queue 0 DMA timed out, invoke forced forced reset
Feb 23 10:01:20 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 (try 1/3)
Feb 23 10:01:20 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 (try 2/3)
Feb 23 10:01:20 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 (try 3/3)
Feb 23 10:01:21 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 timed out
Feb 23 10:01:21 Flexo klogd: phy0 -> rt2x00queue_flush_queue: Warning
- Queue 0 failed to flush
Feb 23 10:01:21 Flexo klogd: phy0 -> rt2x00usb_watchdog_tx_dma:
Warning - TX queue 0 DMA timed out, invoke forced forced reset
Feb 23 10:01:26 Flexo klogd: phy0 -> rt2x00queue_flush_queue: Warning
- Queue 0 failed to flush
Feb 23 10:01:27 Flexo klogd: phy0 -> rt2x00usb_watchdog_tx_dma:
Warning - TX queue 0 DMA timed out, invoke forced forced reset
Feb 23 10:01:27 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 (try 1/3)
Feb 23 10:01:27 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 (try 2/3)
Feb 23 10:01:27 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 (try 3/3)
Feb 23 10:01:28 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 timed out
Feb 23 10:01:28 Flexo klogd: phy0 -> rt2x00queue_flush_queue: Warning
- Queue 0 failed to flush
Feb 23 10:01:28 Flexo klogd: phy0 -> rt2x00usb_watchdog_tx_dma:
Warning - TX queue 0 DMA timed out, invoke forced forced reset
Feb 23 10:01:33 Flexo klogd: phy0 -> rt2x00queue_flush_queue: Warning
- Queue 0 failed to flush
Feb 23 10:01:34 Flexo klogd: phy0 -> rt2x00usb_watchdog_tx_dma:
Warning - TX queue 0 DMA timed out, invoke forced forced reset
Feb 23 10:01:34 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 (try 1/3)
Feb 23 10:01:34 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 (try 2/3)
Feb 23 10:01:35 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 (try 3/3)
Feb 23 10:01:35 Flexo klogd: wlan0: direct probe to 58:6d:8f:ae:6c:b6 timed out
Feb 23 10:01:35 Flexo klogd: phy0 -> rt2x00queue_flush_queue: Warning
- Queue 0 failed to flush
Feb 23 10:01:35 Flexo klogd: phy0 -> rt2x00usb_watchdog_tx_dma:
Warning - TX queue 0 DMA timed out, invoke forced forced reset
Feb 23 10:01:41 Flexo klogd: phy0 -> rt2x00queue_flush_queue: Warning
- Queue 0 failed to flush
Feb 23 10:01:41 Flexo klogd: phy0 -> rt2x00usb_watchdog_tx_dma:
Warning - TX queue 0 DMA timed out, invoke forced forced reset
Feb 23 10:01:41 Flexo klogd: phy0 -> rt2x00queue_flush_queue: Warning
- Queue 0 failed to flush

Regards,
-- 
Massot Julien
Operating System engineer
Aldebaran Robotics
+33 1 77 37 17 60



More information about the users mailing list