linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: <IRQ> [<ffffffff810c9204>] ? __alloc_pages_nodemask+0x622/0x696
       [not found]       ` <4D77EEB4.9090404@gmail.com>
@ 2011-03-09 21:54         ` Christoph Lameter
  2011-03-10  0:05           ` Bob Copeland
  0 siblings, 1 reply; 6+ messages in thread
From: Christoph Lameter @ 2011-03-09 21:54 UTC (permalink / raw)
  To: Justin P. Mattock
  Cc: David Rientjes, Paul E. McKenney, Nick Piggin, Dave Chinner,
	linux-kernel, Pekka Enberg, Jiri Slaby, Nick Kossifidis,
	Bob Copeland, Luis R. Rodriguez, linux-wireless

Some more things from the syslog that may be of relevance. System went
through multiple suspend and resume cycles.

Before the failure we have a wlan authentication and the ATH driver throws a fit.

[ 7339.673270] ll header: ff:ff:ff:ff:ff:ff:00:90:fb:1c:4f:5c:08:00
[ 7340.076865] FIREWALL:INPUT IN=wlan0 OUT= MAC=00:19:e3:06:2c:16:00:90:fb:1c:4f:5c:08:00 SRC=192.168.5.1
DST=192.168.5.11 LEN=48 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=251 SEQ=0
[ 7416.743752] cfg80211: Calling CRDA to update world regulatory domain
[ 7419.292521] wlan0: authenticate with 00:21:55:b4:20:20 (try 1)
[ 7419.312690] wlan0: authenticated
[ 7419.318325] wlan0: associate with 00:21:55:b4:20:20 (try 1)
[ 7419.322764] wlan0: RX AssocResp from 00:21:55:b4:20:20 (capab=0x401 status=0 aid=218)
[ 7419.322770] wlan0: associated
[ 7427.161366] ath: Failed to stop TX DMA in 100 msec after killing last frame
[ 7427.161432] ath: Failed to stop TX DMA!
[ 7434.492398] ath: Failed to stop TX DMA in 100 msec after killing last frame
[ 7434.492462] ath: Failed to stop TX DMA!
[ 7603.339047]
=============================================================================
[ 7603.339053] BUG radix_tree_node: Padding overwritten. 0xffff88000008fe00-0xffff88000008fe32
[ 7603.339055]
-----------------------------------------------------------------------------
[ 7603.339056]


Could the ath driver corrupt memory if the TX DMA cannot be stopped?

Maybe fix the driver first?



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

* Re: <IRQ> [<ffffffff810c9204>] ? __alloc_pages_nodemask+0x622/0x696
  2011-03-09 21:54         ` <IRQ> [<ffffffff810c9204>] ? __alloc_pages_nodemask+0x622/0x696 Christoph Lameter
@ 2011-03-10  0:05           ` Bob Copeland
  2011-03-15 20:59             ` Luis R. Rodriguez
  0 siblings, 1 reply; 6+ messages in thread
From: Bob Copeland @ 2011-03-10  0:05 UTC (permalink / raw)
  To: Christoph Lameter
  Cc: Justin P. Mattock, David Rientjes, Paul E. McKenney, Nick Piggin,
	Dave Chinner, linux-kernel, Pekka Enberg, Jiri Slaby,
	Nick Kossifidis, Luis R. Rodriguez, linux-wireless

On Wed, Mar 09, 2011 at 03:54:24PM -0600, Christoph Lameter wrote:
> [ 7419.322770] wlan0: associated
> [ 7427.161366] ath: Failed to stop TX DMA in 100 msec after killing last frame
> [ 7427.161432] ath: Failed to stop TX DMA!
> [ 7434.492398] ath: Failed to stop TX DMA in 100 msec after killing last frame
> [ 7434.492462] ath: Failed to stop TX DMA!
> [ 7603.339047]
> =============================================================================
> [ 7603.339053] BUG radix_tree_node: Padding overwritten. 0xffff88000008fe00-0xffff88000008fe32

> Could the ath driver corrupt memory if the TX DMA cannot be stopped?

Looks like ath_draintxq() can do something bad (e.g. DMA engine uses
an old address from ath_tx_return_buffer()) if DMA is still active
in ath_drain_all_txq().

But this is ath9k which I'm not so familiar with, maybe Luis can say.

-- 
Bob Copeland %% www.bobcopeland.com


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

* Re: <IRQ> [<ffffffff810c9204>] ? __alloc_pages_nodemask+0x622/0x696
  2011-03-10  0:05           ` Bob Copeland
@ 2011-03-15 20:59             ` Luis R. Rodriguez
  2011-03-15 21:28               ` Justin P. Mattock
  0 siblings, 1 reply; 6+ messages in thread
From: Luis R. Rodriguez @ 2011-03-15 20:59 UTC (permalink / raw)
  To: Bob Copeland
  Cc: Christoph Lameter, Justin P. Mattock, David Rientjes,
	Paul E. McKenney, Nick Piggin, Dave Chinner,
	linux-kernel@vger.kernel.org, Pekka Enberg, Jiri Slaby,
	Nick Kossifidis, Luis Rodriguez, linux-wireless@vger.kernel.org

On Wed, Mar 09, 2011 at 04:05:02PM -0800, Bob Copeland wrote:
> On Wed, Mar 09, 2011 at 03:54:24PM -0600, Christoph Lameter wrote:
> > [ 7419.322770] wlan0: associated
> > [ 7427.161366] ath: Failed to stop TX DMA in 100 msec after killing last frame
> > [ 7427.161432] ath: Failed to stop TX DMA!
> > [ 7434.492398] ath: Failed to stop TX DMA in 100 msec after killing last frame
> > [ 7434.492462] ath: Failed to stop TX DMA!
> > [ 7603.339047]
> > =============================================================================
> > [ 7603.339053] BUG radix_tree_node: Padding overwritten. 0xffff88000008fe00-0xffff88000008fe32
> 
> > Could the ath driver corrupt memory if the TX DMA cannot be stopped?

Yes, this is why we have had a series of patches to address this upstream,
the latest one was for RX DMA failing to stop but Felix found a fix for that.
Apart from that I am not aware of more issues. Can you please try with
wireless-testing.git ?

  Luis

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

* Re: <IRQ> [<ffffffff810c9204>] ? __alloc_pages_nodemask+0x622/0x696
  2011-03-15 20:59             ` Luis R. Rodriguez
@ 2011-03-15 21:28               ` Justin P. Mattock
  2011-03-15 22:13                 ` Luis R. Rodriguez
  0 siblings, 1 reply; 6+ messages in thread
From: Justin P. Mattock @ 2011-03-15 21:28 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: Bob Copeland, Christoph Lameter, David Rientjes, Paul E. McKenney,
	Nick Piggin, Dave Chinner, linux-kernel@vger.kernel.org,
	Pekka Enberg, Jiri Slaby, Nick Kossifidis, Luis Rodriguez,
	linux-wireless@vger.kernel.org

On 03/15/2011 01:59 PM, Luis R. Rodriguez wrote:
> On Wed, Mar 09, 2011 at 04:05:02PM -0800, Bob Copeland wrote:
>> On Wed, Mar 09, 2011 at 03:54:24PM -0600, Christoph Lameter wrote:
>>> [ 7419.322770] wlan0: associated
>>> [ 7427.161366] ath: Failed to stop TX DMA in 100 msec after killing last frame
>>> [ 7427.161432] ath: Failed to stop TX DMA!
>>> [ 7434.492398] ath: Failed to stop TX DMA in 100 msec after killing last frame
>>> [ 7434.492462] ath: Failed to stop TX DMA!
>>> [ 7603.339047]
>>> =============================================================================
>>> [ 7603.339053] BUG radix_tree_node: Padding overwritten. 0xffff88000008fe00-0xffff88000008fe32
>>
>>> Could the ath driver corrupt memory if the TX DMA cannot be stopped?
>
> Yes, this is why we have had a series of patches to address this upstream,
> the latest one was for RX DMA failing to stop but Felix found a fix for that.
> Apart from that I am not aware of more issues. Can you please try with
> wireless-testing.git ?
>
>    Luis
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
sure..

as for seeing this issue. nothing really now on the current. only 
message I see is:

[   69.551295] ath: Failed to stop TX DMA in 100 msec after killing last 
frame
[   69.551336] ath: Failed to stop TX DMA!

which I saw earlier today.. keep in mind I am at the book store so the 
internet is constantly connecting/disconnecting

Justin P. Mattock

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

* Re: <IRQ> [<ffffffff810c9204>] ? __alloc_pages_nodemask+0x622/0x696
  2011-03-15 21:28               ` Justin P. Mattock
@ 2011-03-15 22:13                 ` Luis R. Rodriguez
  2011-03-15 23:56                   ` Justin P. Mattock
  0 siblings, 1 reply; 6+ messages in thread
From: Luis R. Rodriguez @ 2011-03-15 22:13 UTC (permalink / raw)
  To: Justin P. Mattock
  Cc: Luis Rodriguez, Bob Copeland, Christoph Lameter, David Rientjes,
	Paul E. McKenney, Nick Piggin, Dave Chinner,
	linux-kernel@vger.kernel.org, Pekka Enberg, Jiri Slaby,
	Nick Kossifidis, linux-wireless@vger.kernel.org

On Tue, Mar 15, 2011 at 02:28:52PM -0700, Justin P. Mattock wrote:
> On 03/15/2011 01:59 PM, Luis R. Rodriguez wrote:
> > On Wed, Mar 09, 2011 at 04:05:02PM -0800, Bob Copeland wrote:
> >> On Wed, Mar 09, 2011 at 03:54:24PM -0600, Christoph Lameter wrote:
> >>> [ 7419.322770] wlan0: associated
> >>> [ 7427.161366] ath: Failed to stop TX DMA in 100 msec after killing last frame
> >>> [ 7427.161432] ath: Failed to stop TX DMA!
> >>> [ 7434.492398] ath: Failed to stop TX DMA in 100 msec after killing last frame
> >>> [ 7434.492462] ath: Failed to stop TX DMA!
> >>> [ 7603.339047]
> >>> =============================================================================
> >>> [ 7603.339053] BUG radix_tree_node: Padding overwritten. 0xffff88000008fe00-0xffff88000008fe32
> >>
> >>> Could the ath driver corrupt memory if the TX DMA cannot be stopped?
> >
> > Yes, this is why we have had a series of patches to address this upstream,
> > the latest one was for RX DMA failing to stop but Felix found a fix for that.
> > Apart from that I am not aware of more issues. Can you please try with
> > wireless-testing.git ?
> >
> >    Luis
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
> >
> sure..
> 
> as for seeing this issue. nothing really now on the current. only 
> message I see is:
> 
> [   69.551295] ath: Failed to stop TX DMA in 100 msec after killing last 
> frame
> [   69.551336] ath: Failed to stop TX DMA!

Can you easily reproduce?

  Luis

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

* Re: <IRQ> [<ffffffff810c9204>] ? __alloc_pages_nodemask+0x622/0x696
  2011-03-15 22:13                 ` Luis R. Rodriguez
@ 2011-03-15 23:56                   ` Justin P. Mattock
  0 siblings, 0 replies; 6+ messages in thread
From: Justin P. Mattock @ 2011-03-15 23:56 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: Luis Rodriguez, Bob Copeland, Christoph Lameter, David Rientjes,
	Paul E. McKenney, Nick Piggin, Dave Chinner,
	linux-kernel@vger.kernel.org, Pekka Enberg, Jiri Slaby,
	Nick Kossifidis, linux-wireless@vger.kernel.org

On 03/15/2011 03:13 PM, Luis R. Rodriguez wrote:
> On Tue, Mar 15, 2011 at 02:28:52PM -0700, Justin P. Mattock wrote:
>> On 03/15/2011 01:59 PM, Luis R. Rodriguez wrote:
>>> On Wed, Mar 09, 2011 at 04:05:02PM -0800, Bob Copeland wrote:
>>>> On Wed, Mar 09, 2011 at 03:54:24PM -0600, Christoph Lameter wrote:
>>>>> [ 7419.322770] wlan0: associated
>>>>> [ 7427.161366] ath: Failed to stop TX DMA in 100 msec after killing last frame
>>>>> [ 7427.161432] ath: Failed to stop TX DMA!
>>>>> [ 7434.492398] ath: Failed to stop TX DMA in 100 msec after killing last frame
>>>>> [ 7434.492462] ath: Failed to stop TX DMA!
>>>>> [ 7603.339047]
>>>>> =============================================================================
>>>>> [ 7603.339053] BUG radix_tree_node: Padding overwritten. 0xffff88000008fe00-0xffff88000008fe32
>>>>
>>>>> Could the ath driver corrupt memory if the TX DMA cannot be stopped?
>>>
>>> Yes, this is why we have had a series of patches to address this upstream,
>>> the latest one was for RX DMA failing to stop but Felix found a fix for that.
>>> Apart from that I am not aware of more issues. Can you please try with
>>> wireless-testing.git ?
>>>
>>>     Luis
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>> Please read the FAQ at  http://www.tux.org/lkml/
>>>
>> sure..
>>
>> as for seeing this issue. nothing really now on the current. only
>> message I see is:
>>
>> [   69.551295] ath: Failed to stop TX DMA in 100 msec after killing last
>> frame
>> [   69.551336] ath: Failed to stop TX DMA!
>
> Can you easily reproduce?
>
>    Luis
>

at this point I have seen this a few times now. but as for reproducing I 
can try and see.(cloning the wireless tree and loading it up)

Justin P. Mattock

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

end of thread, other threads:[~2011-03-15 23:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTikaLb_xan2ePfo9JCZ1w7RZ76wF8NUT2tYr0ZD=@mail.gmail.com>
     [not found] ` <alpine.DEB.2.00.1103051847100.8779@chino.kir.corp.google.com>
     [not found]   ` <4D770178.9070908@gmail.com>
     [not found]     ` <alpine.DEB.2.00.1103091254540.13353@chino.kir.corp.google.com>
     [not found]       ` <4D77EEB4.9090404@gmail.com>
2011-03-09 21:54         ` <IRQ> [<ffffffff810c9204>] ? __alloc_pages_nodemask+0x622/0x696 Christoph Lameter
2011-03-10  0:05           ` Bob Copeland
2011-03-15 20:59             ` Luis R. Rodriguez
2011-03-15 21:28               ` Justin P. Mattock
2011-03-15 22:13                 ` Luis R. Rodriguez
2011-03-15 23:56                   ` Justin P. Mattock

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).