All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kunal Gangakhedkar <kunal.gangakhedkar@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Disconnect problem (DMA failed to stop in 10 ms)
Date: Tue, 18 Aug 2009 23:46:29 +0530	[thread overview]
Message-ID: <200908182346.29416.kunal.gangakhedkar@gmail.com> (raw)
In-Reply-To: <1250142042.2352.26.camel@ct>

On Thursday 13 Aug 2009 11:10:42 am Pavel Roskin wrote:
> On Thu, 2009-08-13 at 10:51 +0530, Sujith wrote:
> > Pavel Roskin wrote:
> > > sync_cause is always 0x2000 when that message is printed, so there are
> > > no other causes.
> >
> > SYNC_LOCAL_TIMEOUT is generated when the PCIe core hangs, unable to
> > complete a DMA transfer. I am able to see this with 9280, 9281 and 9287.
> > So this seems to be a fundamental issue.
>
> Such issues are notoriously hard :-(
>
> If any ath9k version in the past didn't have that problem, I suggest
> bisection.
>
> Note that Michael noticed the performance degradation.  That's another
> target for bisection, whether it's related or not.

Any way we can help debug this issue?
It gets really annoying when the driver goes berserk in the middle of a big 
file transfer - even on LAN. :(

rmmod'ing and modprobe'ing the driver again seems to get it working; but, as 
the network load increases, the driver again starts faltering.

The problem starts especially under load on the network - say, while 
transferring ISOs from desktop to laptop, or updating ubuntu packages.

When the driver exhibits the problem, the ping times on the LAN also go 
berserk - ranging from ~1ms to ~700ms while sitting next to the wireless 
router (Linksys WRT54GL running OpenWRT Kamikaze 8.09) with packets lost.
The router is working fine because my other laptop (IBM Thinkpad R51 running 
ipw2200) never has any problems with the WLAN.

I'm using linux kernel 2.6.31-4-generic (x86_64) on kubuntu jaunty on this new 
HP laptop (dv6 series). The kernel is built by myself from ubuntu-karmic.git 
(git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git)

Config options related to ath9k in the kernel:

kunal at plutonium:/boot$ grep 'CONFIG_ATH9K' config-2.6.31-4-generic
CONFIG_ATH9K=m
CONFIG_ATH9K_DEBUG=y

The device info from 'lspci -vnn':
08:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless 
Network Adapter (PCI-Express) [168c:002b] (rev 01)                               
        Subsystem: Hewlett-Packard Company Device [103c:3040]
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at d1200000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- 
Queue=0/0Enable-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting <?>
        Capabilities: [140] Virtual Channel <?>
        Capabilities: [160] Device Serial Number 12-14-24-ff-ff-17-15-00
        Capabilities: [170] Power Budgeting <?>
        Kernel driver in use: ath9k
        Kernel modules: ath9k

Please let me know if I can help in debugging.
Any patches that you might want me to try, I would be glad to give it a go.

Thanks,
-- 
Kunal

  reply	other threads:[~2009-08-18 18:16 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13  1:16 [ath9k-devel] Disconnect problem (DMA failed to stop in 10 ms) Michael Gruber
2009-08-13  3:45 ` Pavel Roskin
2009-08-13  3:54   ` Sujith
2009-08-13  4:22     ` Pavel Roskin
2009-08-13  5:21       ` Sujith
2009-08-13  5:40         ` Pavel Roskin
2009-08-18 18:16           ` Kunal Gangakhedkar [this message]
2009-08-18 21:04             ` Pavel Roskin
2009-08-18 21:07               ` Luis R. Rodriguez
2009-08-18 21:15                 ` Pavel Roskin
2009-08-18 21:24                   ` Luis R. Rodriguez
2009-08-18 21:45                     ` Pavel Roskin
2009-08-18 21:57                       ` Luis R. Rodriguez
2009-08-19 17:58                         ` John W. Linville
2009-08-19 18:34                           ` [ath9k-devel] bisecting with wireless-testing Luis R. Rodriguez
2009-08-19 18:34                             ` Luis R. Rodriguez
2009-08-19 18:44                             ` [ath9k-devel] " John W. Linville
2009-08-19 18:44                               ` John W. Linville
2009-08-20  7:13               ` [ath9k-devel] Disconnect problem (DMA failed to stop in 10 ms) Kunal Gangakhedkar
2009-08-19  3:51             ` Sujith
2009-08-20  7:14               ` Kunal Gangakhedkar
2009-08-24 20:58               ` Kunal Gangakhedkar
2009-09-11 15:42                 ` Kunal Gangakhedkar
2009-08-13  7:59         ` Kunal Gangakhedkar
     [not found] <1253068000.2813.11.camel@localhost.localdomain>
2009-09-16  7:35 ` Kunal Gangakhedkar
2009-09-16  7:35   ` Kunal Gangakhedkar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200908182346.29416.kunal.gangakhedkar@gmail.com \
    --to=kunal.gangakhedkar@gmail.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.