Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#11988 closed defect (duplicate)

ar71xx: wifi chrashes on wr741nd - Failed to stop TX DMA, queues=0x004!

Reported by: Musti <musti@…> Owned by: developers
Priority: highest Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc: nbd

Description

In the last trunk revisions, I am observing wifi crashing on multiple wr741nd devices, version 4. The issue is present in trunk revisions before and including 32927.

Exact problem description:
wifi crashes, no signal is emitted, device or wifi module reboot required. The crash does not happen imediately, but in a matter of hours/days.

[89299.510000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[89340.310000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[89342.720000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[89814.720000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[90273.020000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[93573.020000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[93681.010000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[93789.000000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[95112.060000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[99380.160000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[100067.930000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[100637.430000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[102744.210000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[103501.000000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[105118.350000] ath: phy0: Failed to stop TX DMA, queues=0x004!

/etc/config/wireless (MAC addr has been removed for posting here)

config wifi-device 'radio0'
	option type 'mac80211'
	option macaddr 'xx:xx:xx:xx:xx:xx'
	option hwmode '11ng'
	option htmode 'HT20'
	list ht_capab 'SHORT-GI-20'
	list ht_capab 'SHORT-GI-40'
	list ht_capab 'RX-STBC1'
	list ht_capab 'DSSS_CCK-40'
	option channel '8'

config wifi-iface
	option device 'radio0'
	option mode 'ap'
	option encryption 'none'
	option network 'clients'
	option ssid 'open.wlan-si.net'

config wifi-iface
	option device 'radio0'
	option network 'mesh'
	option mode 'adhoc'
	option ssid 'mesh.wlan-si.net'
	option bssid '02:CA:FF:EE:BA:BE'
	option encryption 'none'

Please advise how this crash or wifi malfunction can be observed from iwconfig or iw, a fix would be even better.

Please let me know if any further information is required.

Attachments (0)

Change History (7)

comment:1 follow-up: Changed 5 years ago by nbd

please try latest trunk

comment:2 Changed 5 years ago by Lukas G. <veekinz@…>

Please check ticket #9654 - this right here is a duplicate. :)

There are already some things you can try and they seem to be some sort of workaround until a fix is released. I'm running a WR1043ND (same radio hardware, mac80211) for about a week without any issues by using these tricks.

comment:3 in reply to: ↑ 1 Changed 5 years ago by elizabet@…

Replying to nbd:

please try latest trunk

Still getting it on r33206 (WR1043ND). Workaround from ticket #9654 doesn't do anything:

[ 6943.240000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x000286c0
[ 6943.250000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up
[ 7090.940000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x000286c0
[ 7090.950000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up
[ 7212.840000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x000084c0
[ 7212.850000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up
[ 7213.560000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7213.800000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7214.050000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7214.290000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7214.530000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7214.780000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7215.020000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7215.260000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7215.500000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7215.750000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7216.000000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7216.260000] ath: phy0: Failed to stop TX DMA, queues=0x106!
[ 7216.500000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7216.750000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7217.000000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7217.250000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7217.500000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7217.750000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7218.000000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7218.240000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7218.490000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7218.740000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7218.990000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7219.260000] ath: phy0: Failed to stop TX DMA, queues=0x106!
[ 7219.510000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7219.750000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7220.000000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7220.250000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7220.500000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7220.750000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7221.000000] ath: phy0: Failed to stop TX DMA, queues=0x006!
[ 7221.240000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7221.480000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7221.730000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7221.980000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7222.220000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7222.470000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7222.720000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7222.960000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7223.200000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7223.440000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7223.690000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7223.940000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7224.180000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7224.420000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7224.670000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7224.910000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7225.160000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7225.400000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7225.660000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7225.900000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7226.150000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7226.390000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7226.630000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7226.880000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7227.120000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7227.360000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7227.600000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7227.850000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7228.090000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7228.330000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7228.580000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7228.820000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7229.070000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7229.310000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7229.550000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7229.800000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7230.040000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7230.280000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7230.530000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7230.770000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7231.010000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7231.250000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7231.500000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7231.740000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7231.990000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7232.230000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7232.480000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7232.720000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7232.970000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7233.210000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7233.460000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7233.700000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7233.940000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7234.190000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7234.440000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7234.680000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7235.850000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7236.100000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7237.030000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7237.280000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7237.520000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7238.460000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7239.160000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7241.490000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7241.730000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7241.980000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7242.680000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7242.930000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7243.170000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7244.110000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7244.580000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7245.750000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7245.990000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7246.240000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7246.490000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7246.970000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7247.210000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7247.450000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7248.390000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7249.100000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7250.040000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7250.980000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7251.920000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7253.320000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7255.190000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7255.890000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7256.140000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7256.380000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7257.090000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7257.330000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7258.500000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7258.740000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7258.980000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7259.690000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7262.250000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7265.970000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7266.440000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7267.840000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7268.320000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7269.250000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7270.200000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7270.680000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7271.150000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7271.400000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7272.100000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7272.350000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7272.590000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7273.060000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7273.310000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7274.010000] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 7274.260000] ath: phy0: Failed to stop TX DMA, queues=0x001!
[ 7274.500000] ath: phy0: Failed to stop TX DMA, queues=0x104!
[ 7354.520000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x000084c0
[ 7354.530000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up
[ 7634.960000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x000084c0
[ 7634.970000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up
[ 7634.990000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7635.230000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7635.470000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7635.720000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7635.960000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7636.200000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7636.450000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7636.690000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 7636.930000] ath: phy0: Failed to stop TX DMA, queues=0x004!

comment:4 Changed 5 years ago by nbd

  • Resolution set to duplicate
  • Status changed from new to closed

comment:5 Changed 4 years ago by anonymous

  • Resolution duplicate deleted
  • Status changed from closed to reopened

I still get this error on latest trunk: (TP-Link TL-WR941N/ND v3)

Sat Dec 7 20:23:48 2013 kern.err kernel: [ 879.240000] ath: phy0: Failed to stop TX DMA, queues=0x004!
Sat Dec 7 20:23:48 2013 kern.err kernel: [ 879.260000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00028cc1
Sat Dec 7 20:23:48 2013 kern.err kernel: [ 879.270000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up

comment:6 Changed 4 years ago by nbd

  • Resolution set to duplicate
  • Status changed from reopened to closed

and it's still a duplicate

comment:7 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.