linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Iordan Iordanov <iiordanov@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Fwd: Atheros AR5418 with Ath9k driver hangs during file transfer
Date: Wed, 03 Feb 2010 16:48:58 -0500	[thread overview]
Message-ID: <1265233738.5583.22.camel@mj> (raw)
In-Reply-To: <43075fc61002030924ufae1375icadf66713bf1637c@mail.gmail.com>

On Wed, 2010-02-03 at 12:24 -0500, Iordan Iordanov wrote:

> This is a very strange issue indeed. I had 2GB of RAM on the laptop at
> that moment (now they are 1.5GB) and was running nothing else. Hence,
> a memory leak seems more than likely in this situation. I didn't think
> to check the amount of free memory during the problems, but I'll
> certainly give it a shot. I am not experiencing this problem with b43
> or with the proprietary Broadcom driver and my bcm based adapter. The
> only time I've seen it is with ath9k, both the karmic koala one and
> the cutting edge one.
> 
> Can you please give me some hints as to tests I can do for you, or
> debugging I can enable so I can give you more useful information? The
> stall during large transfers is 100% reproducible. It would be
> wonderful if I can show you more debug info and shed some light on the
> situation.

Here's what you can try, in order of intrusiveness.

Use slabtop to see the kernel memory in use.  You should be able to spot
who is hogging memory.

Try MadWifi trunk with your card.  It's easy to compile and should
support AR5418 just fine.  That will show if ath9k is to blame.

Try compat-wireless.  That's a bigger package that would replace all
your wireless drivers, but you won't need to replace your kernel.  That
would help if the memory leak was fixed in the current wireless branch
of the kernel.

Recompile the kernel with CONFIG_DEBUG_KMEMLEAK and follow the
instructions in the kernel sources (Documentation/kmemleak.txt) how to
discover the leaks.

Ask in LKML (linux-kernel@vger.kernel.org), they may know better.

-- 
Regards,
Pavel Roskin

      reply	other threads:[~2010-02-03 21:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-28  6:07 Atheros AR5418 with Ath9k driver hangs during file transfer Iordan Iordanov
2010-02-03 16:46 ` Fwd: " Iordan Iordanov
2010-02-03 17:14   ` Pavel Roskin
2010-02-03 17:24     ` Iordan Iordanov
2010-02-03 21:48       ` Pavel Roskin [this message]

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=1265233738.5583.22.camel@mj \
    --to=proski@gnu.org \
    --cc=iiordanov@gmail.com \
    --cc=linux-wireless@vger.kernel.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 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).