From nobody@FreeBSD.org  Sun May 13 05:39:35 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C4B951065676
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 May 2012 05:39:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id AC5418FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 May 2012 05:39:35 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4D5dZM0082804
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 May 2012 05:39:35 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q4D5dZ6B082803;
	Sun, 13 May 2012 05:39:35 GMT
	(envelope-from nobody)
Message-Id: <201205130539.q4D5dZ6B082803@red.freebsd.org>
Date: Sun, 13 May 2012 05:39:35 GMT
From: adrian chadd <adrian@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [ath] kickpcu; 'handled 0 packets'
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167834
>Category:       kern
>Synopsis:       [ath] kickpcu; 'handled 0 packets'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-wireless
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 13 05:40:12 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun May 13 06:23:27 UTC 2012
>Originator:     adrian chadd
>Release:        FreeBSD-HEAD
>Organization:
>Environment:
FreeBSD 10.0-CURRENT #0 r233779M: Tue May  1 05:28:12 UTC 2012
   root@critter.freebsd.dk:/sys/amd64/compile/CRITTER amd64
>Description:
From phk:


..
ath0: <Atheros 5418> mem 0xf2500000-0xf250ffff irq 16 at device 0.0 on pci2
ath0: AR5418 mac 12.10 RF5133 phy 8.1
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
..
wlan0: Ethernet address: 00:15:af:13:7c:5e
ath0: ath_start: sc_inreset_cnt > 0; bailing
drm0: <Mobile Intel GM45 Express Chipset> on vgapci0
info: [drm] MSI enabled 1 message(s)
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized i915 1.6.0 20080730
wlan0: scan_task: OOPS! scan cancelled during driver call!
ath0: ath_start: sc_inreset_cnt > 0; bailing
ath0: ath_start: sc_inreset_cnt > 0; bailing
ath0: ath_start: sc_inreset_cnt > 0; bailing
ath0: ath_start: sc_inreset_cnt > 0; bailing
ath0: ath_start: sc_inreset_cnt > 0; bailing
ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA
ath0: ath_start: sc_inreset_cnt > 0; bailing
ath0: ath_start: sc_inreset_cnt > 0; bailing
ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA
ath0: ath_start: sc_inreset_cnt > 0; bailing
ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA
wlan0: link state changed to DOWN
wlan0: link state changed to UP
ath0: ath_start: sc_inreset_cnt > 0; bailing
ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA
ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA
ath0: ath_start: sc_inreset_cnt > 0; bailing
ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA
ath0: ath_start: sc_inreset_cnt > 0; bailing
ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA
ath0: ath_start: sc_inreset_cnt > 0; bailing
ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA
ath0: ath_rx_proc: kickpcu; handled 94 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 38 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 2 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 3 packets
ath0: ath_rx_proc: kickpcu; handled 3 packets
ath0: ath_rx_proc: kickpcu; handled 2 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
..
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 2 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 3 packets
ath0: ath_rx_proc: kickpcu; handled 3 packets
ath0: ath_rx_proc: kickpcu; handled 2 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 2 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
Memory modified after free 0xfffffe00064f1000(2048) val=2c4208 @ 0xfffffe00064f1000
Memory modified after free 0xfffffe0006523000(2048) val=2c4208 @ 0xfffffe0006523000
Memory modified after free 0xfffffe0088220000(2048) val=80 @ 0xfffffe0088220000
Memory modified after free 0xfffffe0006b25800(2048) val=2c4208 @ 0xfffffe0006b25800
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
ath0: ath_rx_proc: kickpcu; handled 2 packets
Memory modified after free 0xfffffe0006aef800(2048) val=2c4208 @ 0xfffffe0006aef800
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
Memory modified after free 0xfffffe00064f1000(2048) val=80 @ 0xfffffe00064f1000
ath0: ath_rx_proc: kickpcu; handled 0 packets
Memory modified after free 0xfffffe0065f8e000(2048) val=80 @ 0xfffffe0065f8e000
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
Memory modified after free 0xfffffe000653a000(2048) val=80 @ 0xfffffe000653a000
ath0: ath_rx_proc: kickpcu; handled 0 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
Memory modified after free 0xfffffe0065fae000(2048) val=80 @ 0xfffffe0065fae000
Memory modified after free 0xfffffe000655a800(2048) val=80 @ 0xfffffe000655a800
ath0: ath_rx_proc: kickpcu; handled 1 packets
Memory modified after free 0xfffffe000656f800(2048) val=80 @ 0xfffffe000656f800
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
Memory modified after free 0xfffffe0006ae5000(2048) val=80 @ 0xfffffe0006ae5000
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
Memory modified after free 0xfffffe0006b1d800(2048) val=80 @ 0xfffffe0006b1d800
ath0: ath_rx_proc: kickpcu; handled 1 packets
ath0: ath_rx_proc: kickpcu; handled 0 packets
>How-To-Repeat:
Not sure yet.
>Fix:
Not sure yet.

It could be a few things:

* Are we somehow running multiple RX procs? (eg with rx + reset.)
* is the hardware still DMAing stuff (eg from the FIFO) even once the RXEOL is posted? Even after stoppcurecv/stoprecvdma is called?


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun May 13 06:23:07 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167834 
>Unformatted:
