From: Pavel Roskin <proski@gnu.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] D-Link DWA-547 completely freezes system
Date: Fri, 22 Jan 2010 12:52:14 -0500 [thread overview]
Message-ID: <1264182734.12386.12.camel@mj> (raw)
In-Reply-To: <fca60f3a1001220158q495d8c1aj8b5be38696b00a51@mail.gmail.com>
On Fri, 2010-01-22 at 10:58 +0100, Khashayar Naderehvandi wrote:
> > I can confirm that 0xdeadbeef comes from the chip, not from some random
> > place in memory. Even the supported Ubiquiti SR71-15 returns 0xdeadbeef
> > when reading from the register 0x00ac (AR_IMR_S2).
> >
> > The fact that SR71-12 only works if installed in a slot below SR71-15 is
> > very intriguing. I checked the modules with nm for possible static
> > variables, but I cannot spot anything wrong. I'm going to try
> > mmiotrace.
> >
> Pavel, this is way too technical for me to understand :)
Sorry, it was meant for Luis.
Ubiquiti SR71-15 is the only AR9220 card I know that works with ath9k.
It's a 5GHz-only card, so maybe that's the reason.
Ubiquiti SR71-12 is a 2GHz card and it doesn't work. However, if
SR71-15 is present in the same system and has a lower PCI address so
that it's initialized first, SR71-12 would work. This makes me think
that the initialization of SR71-15 changes something in the state of the
driver. The state should be separate for every device, so it may be a
bug.
I discovered that reading from some registers gives 0xdeadbeef. Even
for SR71-15 reading from one register gives 0xdeadbeef. 0xdeadbeef is a
number commonly used to indicate uninitialized data. But it comes from
the device. So we are doing something wrong. Maybe the register in
question (AR_IMR_S2) should be initialized, or maybe the whole chip
initialization is wrong.
> Are you saying that you can confirm the issue I posted about?
Yes.
> Does
> this bug surface depending on which PCI-slot the card is inserted in?
Only if you have Ubiquiti SR71-15 on that system.
> How can I help out?
I don't know. It's hard to give instructions how to fix a bug. It's
easier to fix a bug. I just don't have enough time for that.
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2010-01-22 17:52 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-08 12:42 [ath9k-devel] D-Link DWA-547 completely freezes system Khashayar Naderehvandi
2010-01-21 21:44 ` Khashayar Naderehvandi
2010-01-21 22:00 ` Pavel Roskin
2010-01-21 22:26 ` Luis R. Rodriguez
2010-01-22 2:53 ` Pavel Roskin
2010-01-22 9:58 ` Khashayar Naderehvandi
2010-01-22 17:52 ` Pavel Roskin [this message]
2010-01-22 18:26 ` Jorge
2010-01-22 22:17 ` Pavel Roskin
2010-01-22 22:23 ` Luis R. Rodriguez
2010-01-22 22:42 ` Felix Fietkau
2010-01-22 22:44 ` Pavel Roskin
2010-01-22 18:43 ` Luis R. Rodriguez
2010-01-22 18:49 ` Luis R. Rodriguez
2010-01-22 19:34 ` pat-lkml at erley.org
2010-01-22 19:09 ` Khashayar Naderehvandi
-- strict thread matches above, loose matches on Subject: below --
2010-01-27 18:06 Michael Pronath
2010-01-27 21:09 ` Michael Pronath
2010-01-27 21:47 ` Pavel Roskin
2010-01-28 18:23 ` Khashayar Naderehvandi
2010-01-28 21:01 ` Michael Pronath
2010-01-31 9:39 ` Khashayar Naderehvandi
2010-01-31 14:48 ` Pavel Roskin
2010-01-31 16:52 Brian Walker
2010-07-08 5:50 Robert Kosten
2010-07-08 16:23 ` Pavel Roskin
2010-07-08 21:11 ` Robert Kosten
2010-08-05 17:06 ` Pavel Roskin
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=1264182734.12386.12.camel@mj \
--to=proski@gnu.org \
--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.