netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Ivan Matveich <ivan.matveich@gmail.com>
Cc: linux-kernel@vger.kernel.org, linville@tuxdriver.com,
	netdev@vger.kernel.org, breed@users.sourceforge.net,
	achirica@users.sourceforge.net, jt@hpl.hp.com,
	fabrice@bellet.info
Subject: Re: [airo.c bug] Couldn't allocate RX FID / Max tries exceeded when issueing command
Date: Thu, 02 Nov 2006 14:11:19 -0500	[thread overview]
Message-ID: <1162494679.3347.8.camel@localhost.localdomain> (raw)
In-Reply-To: <b5def3a40611021030s1b73daa1k2055e5f4373fa746@mail.gmail.com>

On Thu, 2006-11-02 at 13:30 -0500, Ivan Matveich wrote:
> On 11/2/06, Dan Williams <dcbw@redhat.com> wrote:
> > It appears that the driver cannot talk to your card; see the "max tries
> > exceeded when issueing command".  Did this card work previously with a
> > kernel?  Can narrow down which kernels have problems and which don't?
> 
> It spontaneously stopped working about a week after I bought the

That does not bode well for the card itself.

> laptop and installed Linux. I tried kernel 2.6.12 and it had the same
> problem. (Let me know if you'd like me to try a specific version.)

2.6.12 should be old enough, but maybe if you could try 2.6.9 that would
definitely be old enough to rule out recent airo changes.

> I'm hoping that the card has simply got itself into some kind of
> invalid state, and not failed altogether.
> 
> > It's a bit hard to figure out what firmware you have because the driver
> > can't talk to the card; can you boot under Windows and determine that
> > using the Cisco wireless utility?  You also need to flash the card under
> > Windows, not Linux, ideally to a version of firmware greater than
> > 5.60.08.
> 
> I haven't run Windows in many years, so that's problematic. What's the
> most straightforward way to boot into a Windows environment sufficient
> to run the Cisco wireless utility?

You get to either install windows on your laptop, or pull the card
(pcmcia or minipci, either way) and put it into a windows computer.

> > reloading the driver (rmmod airo; modprobe airo) should reset the card.
> 
> Yeah, it unfortunately doesn't help. (Nor does rebooting or resetting
> the bios.) I noticed a suspiciously relevant commit in the airo.c git
> log:
> 
>     [wireless airo] reset card in init
> 
>     without this patch after an rmmod, modprobe the card won't work anymore
>     until the next reboot.
> 
>     This patch seem safe to apply for all cards as the bsd driver already do
>     that.
> 
>     I had to add a timeout because strange things happen (issuecommand will
>     fail) if the card is already reseted (after a reboot).
> 
>     PS : it seems there are missing reset when leaving monitor mode...
> 
>     Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>

Do you know which kernel version that patch first appeared in?

> and that makes me wonder if there might be some kind of subtle bug in
> the card initialization sequence that manifests itself with my
> particular card/firmware.

Could be, it would be quite helpful to get the version of firmware you
are using.  Versions earlier than 5.30.17 are known not be flaky or even
not work with newer Linux kernel drivers since Cisco changed the
firmware interface in that version.  That said, I've seen cards in the
5.00.xx range work with the latest drivers, but not well.  These older
firmware versions sometimes lock up sponaneously and require a reboot,
updating to later firmware post-5.30.17 fixes that problem.

> I think I'll burn a freebsd livecd today and see if their kernel works.

That would be a great idea, let us know what the results are, especially
if you cna figure out which firmware version you have, or if the card
itself is really just dead.

Thanks,
Dan


  reply	other threads:[~2006-11-02 19:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-02  3:14 [airo.c bug] Couldn't allocate RX FID / Max tries exceeded when issueing command Ivan Matveich
2006-11-02 16:12 ` Dan Williams
2006-11-02 18:30   ` Ivan Matveich
2006-11-02 19:11     ` Dan Williams [this message]
2006-11-02 21:21       ` Ivan Matveich
2006-11-02 21:26         ` Jean Tourrilhes
2006-11-03 17:08         ` Benjamin Reed

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=1162494679.3347.8.camel@localhost.localdomain \
    --to=dcbw@redhat.com \
    --cc=achirica@users.sourceforge.net \
    --cc=breed@users.sourceforge.net \
    --cc=fabrice@bellet.info \
    --cc=ivan.matveich@gmail.com \
    --cc=jt@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=netdev@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).