From: Pavel Roskin <proski@gnu.org>
To: Michael Buesch <mb@bu3sch.de>
Cc: bcm43xx-dev@lists.berlios.de, netdev@vger.kernel.org
Subject: Re: Can someone please try...
Date: Tue, 23 Jan 2007 01:14:40 -0500 [thread overview]
Message-ID: <1169532880.8258.2.camel@dv> (raw)
In-Reply-To: <200701222200.19784.mb@bu3sch.de>
On Mon, 2007-01-22 at 22:00 +0100, Michael Buesch wrote:
> > No more random crashes. There is still a crash if I rmmod the driver
> > while wlan0 is up, but it's a separate issue, and it's easy to avoid
> > (unlike the interface going down). I hope to look at it soon.
>
> Did you apply that d80211 rmmod crash fix that Michael Wu posted
> recently. I bet it will fix your issue.
I have tried the patch, and it doesn't fix the problem. It's a separate
problem. It happens when bcm43xx_interrupt_handler() is called on a
device that has already been removed. It looks like
bcm43xx_wireless_core_stop() should be called from
bcm43xx_one_core_detach().
Unfortunately, I cannot come to a satisfactory solution yet. If I call
bcm43xx_wireless_core_stop() with the mutex held, the driver won't
unload if the interface is down. If I don't hold the mutex, it would
happen when the interface is up.
By the way, I think it's a bad idea to unlock any mutexes or other locks
set outside the function. The caller assumes that the lock is held
until it (the caller) unlocks it. Unlocking locks from other functions
breaks this convention.
> > I think the assert() should be replaced with a FIXME, which would not
> > annoy end users so much.
>
> Well, no. It's kind of: Michael, go ahead and fix that crap!
> So I'd like to keep it to get me to fix it. :D
I, for one, prefer to keep my to-do items in my to-do list, but I don't
want to distract you with petty arguments from fixing the real problem.
> > And while at that, it would be great to
> > replace phy->lo_gain with four fields with descriptive names.
> > phy->lo_gain is never used as an array. Alternatively, you could make
> > it a structure within bcm43xx_phy.
>
> Yeah, one step after the other. ;)
> We didn't know the meanings of the values until recently. Of course
> I am going to rename them.
Great!
> > The problems with a MadWifi based AP turn out to be related to 802.11g.
> > If the AP is configured for 802.11b only, everything is working. If
> > 802.11g is enabled, strange things are happening. Judging by what's on
> > the air, it looks like the driver loses the data frames is receives.
> > wpa_supplicant connects instantly, but ARP and ping packets from AP to
> > STA are lost. The frames are even acknowledged, but not seen on the
> > station side. It takes from one to ten minutes util ping suddenly
> > starts working.
>
> Hm, is this 4318? It is known to loose lots of packets.
No, it's 4312.
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2007-01-23 6:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-16 17:06 Can someone please try Michael Buesch
2007-01-16 18:29 ` Pavel Roskin
2007-01-16 19:23 ` Michael Buesch
2007-01-16 21:50 ` Pavel Roskin
2007-01-16 22:07 ` Michael Buesch
2007-01-16 23:51 ` Pavel Roskin
2007-01-17 9:52 ` Michael Buesch
2007-01-18 9:41 ` Pavel Roskin
2007-01-19 7:54 ` Pavel Roskin
2007-01-22 20:06 ` Michael Buesch
2007-01-22 20:44 ` Pavel Roskin
2007-01-22 21:00 ` Michael Buesch
2007-01-22 22:04 ` Larry Finger
2007-01-23 6:14 ` Pavel Roskin [this message]
2007-01-23 9:21 ` Michael Buesch
[not found] ` <200701231021.34995.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>
2007-01-24 5:43 ` Pavel Roskin
2007-01-24 8:43 ` Michael Buesch
2007-01-16 19:00 ` Andreas Schwab
2007-01-16 19:24 ` Michael Buesch
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=1169532880.8258.2.camel@dv \
--to=proski@gnu.org \
--cc=bcm43xx-dev@lists.berlios.de \
--cc=mb@bu3sch.de \
--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).