From: Ben Greear <greearb@candelatech.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Seem to have fried my AR9300 NIC?
Date: Mon, 23 Jul 2012 15:31:47 -0700 [thread overview]
Message-ID: <500DD0D3.8080702@candelatech.com> (raw)
In-Reply-To: <500DCB79.5020702@candelatech.com>
On 07/23/2012 03:08 PM, Ben Greear wrote:
> On 07/23/2012 02:10 PM, Ben Greear wrote:
>> Came back after a 1 week vacation and found the 3.3.8+ kernel spitting
>> timeout errors, and network devices will not 'ifconfig foo up'.
>>
>> I rebooted into 3.5.0+, and see the same (or at least similar errors):
>
> Well, I replaced the NIC and the problem remains.
>
> Guess it's time to poke a bit deeper.
Ahh..so here's what happened. I added code to set the rx-chainmask
and tx-chainmask from user-space app (via writing to appropriate debugfs
files).
Code assumed 0x7 by default, but this particular NIC is only 2x2.
When the chainmask is set wrong, the NIC gets into the broken state.
Changing it back to 0x3 fixes the problem.
Is that worth trying to fix in the driver, or should I just
fix it in user-space so that it never sets more than what
the eeprom reports as supported?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2012-07-23 22:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-23 21:10 [ath9k-devel] Seem to have fried my AR9300 NIC? Ben Greear
2012-07-23 22:08 ` Ben Greear
2012-07-23 22:31 ` Ben Greear [this message]
2012-07-24 5:03 ` Mohammed Shafi
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=500DD0D3.8080702@candelatech.com \
--to=greearb@candelatech.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.