Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2002 20:21:26 -0700
From:      "Jin Guojun[ITG]" <j_guojun@lbl.gov>
To:        Paulo Fragoso <paulo@nlink.com.br>
Cc:        freebsd-hardware@FreeBSD.ORG
Subject:   Re: Wireless Problems (wi)
Message-ID:  <3CF1A636.4980D347@lbl.gov>
References:  <20020526225503.W84607-100000@mirage.nlink.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Paulo Fragoso wrote:
> 
> Hi,
> 
> On Fri, 24 May 2002, Jin Guojun [DSD] wrote:
> 
> > I do not think this is related to 4.5 or later. I had similar problem on
> > 4.3-RELEASE.
> > I believe that this is trigged by losing the contact to the wireless server.
> > Somehow,
> > the dirver dies and left some recovering status in configuration register on the
> > card
> > (just guessing).
> > When wi driver sees this status after reboot or power cycle, it will not reset
> > the card regardless power on or reboot. This may leave the card in some unknown
> > status.
> >
> 
> But there is a very important fact: when we remove the card from its
> adapter and after a little time we reintroduce again (there is one power
> cylce here) it can't work, only will work after a reboot, without a power
> cycle. We think could be some situation which the wi driver can't answer
> correctly.

Removing and reinserting card may have power cycle on the card, but not
the system. So the driver may not reinitialize the card if there is a
recovering status set.
You had better case than I have. If card is removed from my system, the
whole system will be frozen.

> In our routers there ins't other OS and it is very difficult to test
> because this happen after some hours working fine. At weekend this problem
> rarely happen when our traffic is low.

From the information you provided, I think it is caused by losing the
connectivity, and there are some bugs inside driver to cause wireless
system die. My experience is that the wi0 may die anytime just from boot-up
to after worked a few hours. I know it is caused by losing the connectivity,
but do not know if this is caused by traffic or weak signal.

To me, it seems a driver bug. Since I did not use wireless so often,
I cannot file a bug report because I do not have time to play with wi0.
If you have a dedicated use use with wi0, then you should file a bug report
once you can repoduce such problem by introducing some heavy traffic (not
hard at all for creating 11 Mbps network traffic from any host).

> > MS Windows does not try to look such status, and just re-initializes the card.
> > So,
> > if BSD cannot recover the wi0, boot to window, then boot back to BSD, and wi0
> > will work again. If this is the case, then above guessing will be true.
> >
> >     -Jin
> >
> > Paulo Fragoso wrote:
> >
> > > Hi,
> > >
> > > Have you ever found a problem with Orinoco and Avaya wireless card like
> > > this:
> > >
> > > /kernel: wi0: xmit failed
> > > /kernel: wi0: watchdog timeout
> > > /kernel: wi0: init failed
> > > /kernel: wi0: failed to allocate 1594 bytes on NIC
> > > /kernel: wi0: tx buffer allocation failed
> > > /kernel: wi0: failed to allocate 1594 bytes on NIC
> > > /kernel: wi0: mgmt. buffer allocation failed
> > > /kernel: wi0: timeout in wi_seek to 0/0; last status 4000
> > > /kernel: wi0: timeout in wi_seek to 0/44; last status 4044
> > >
> > > It's happening after 1 or 2 hours working normally and only after reboot
> > > (without turn off, like M$ Windows) this card return to work.
> > >
> > > This is very strange, we have a lot of remote router with FreeBSD release
> > > older than 4.5 and it's happening only with 4.5-RELEASE, 4.5-RELESE-pX an
> > > 4.6RC. Is it a coincidence or there is a problem with wi code?
> > >
> > > How those cards are locking and all CPU speed down when it is happing?
> > >
> > > Whe really need some help. Can anyone help us?
> > >
> > > Many thanks,
> > > Paulo Fragoso.
> > >
> > > --
> > >    __O
> > >  _-\<,_     Why drive when you can bike?
> > > (_)/ (_)
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-hardware" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF1A636.4980D347>