From: "Michael Büsch" <mb@bu3sch.de>
To: b43-dev@lists.infradead.org
Subject: Transfer zeroes via ssh test (was: Re: PIO mode)
Date: Thu, 21 Oct 2010 22:55:06 +0200 [thread overview]
Message-ID: <1287694506.20367.6.camel@maggie> (raw)
In-Reply-To: <4CC04DE2.6020901@lwfinger.net> (sfid-20101021_162745_757075_FFFFFFFFCB80601D)
On Thu, 2010-10-21 at 09:27 -0500, Larry Finger wrote:
> On 10/21/2010 03:53 AM, Paul Fertser wrote:
> > On Wed, Oct 20, 2010 at 01:31:54PM -0500, Larry Finger wrote:
> >> On 10/20/2010 12:54 PM, Paul Fertser wrote:
> >>> It looks like we're seeing two different issues.
> >>
> >> I agree.
> >
> > With this test (transfer via ssh to cold-booted b43) i also get some
> > interesting results:
> >
> > [ 2140.029809] b43-phy0 debug: Using hardware based encryption for keyidx: 0, mac: 00:02:84:7d:3c:02
> > [ 2148.864071] wlan0: no IPv6 routers present
> > [ 2797.922932] CE: hpet increased min_delta_ns to 11250 nsec
> > [ 3744.258158] ACPI: EC: GPE storm detected, transactions will use polling mode
> > [ 4417.907722] b43-phy0 debug: TX-status contains invalid cookie: 0x1349
> > [ 4417.909318] b43-phy0 debug: Out of order TX status report on DMA ring 1. Expected 74, but got 76
> > [ 4417.910899] b43-phy0 debug: Out of order TX status report on DMA ring 1. Expected 74, but got 78
> > [ 4417.912325] b43-phy0 debug: Out of order TX status report on DMA ring 1. Expected 74, but got 80
> > ...
> > [ 4418.146891] b43-phy0 debug: Out of order TX status report on DMA ring 1. Expected 74, but got 70
> > [ 4418.148529] b43-phy0 debug: Out of order TX status report on DMA ring 1. Expected 74, but got 72
> > [ 4565.170928] wlan0: disassociated from 00:02:84:7d:3c:02 (Reason: 1)
> >
> > Then repeated associations and deassociations until i unload the driver.
> > Reloading brings functionality back.
> >
> > I need to do more tests to say if i consistently see the same time interval
> > (between starting and failing) in this test.
>
> When I had failures during stress testing of the firmware from OpenFWWF, Michael
> helped diagnose the problem and added the diagnostics indicating the "out of
> order" TX status. Over the past months, I have seen them on occasion with
> proprietary firmware, but I have never been able to reproduce these failures. As
> you note, the driver cannot recover.
>
> It is looking more likely that the bug that causes them is in b43, not in the
> firmware, and that the open-source firmware just triggers the bug more
> "efficiently".
>
> Michael: Any more thoughts on this issue?
Hm, I hardly remember anything from the debugging.
However, one should check whether the firmware does send those
out-of-order reports actively (because it receives some invalid external
condition from the hardware or something like that), or if those reports
are sent by the hardware without firmware help.
The first case (which is the likely one, IMO), would probably make a
firmware-side workaround possible.
I'm not sure how to test this properly. Maybe some array in SHM that
dumps cookies along with a monotonically increasing number on every
active tx-status-send attempt. This way one could possibly check whether
the out-of-order report was sent by the firmware, or due to hardware
burp.
--
Greetings Michael.
next prev parent reply other threads:[~2010-10-21 20:55 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-09 11:53 Issues with 14e4:4315 on "lenovo ideapad s9" - works only after wl Paul Fertser
2010-10-09 18:36 ` Paul Fertser
2010-10-09 20:37 ` Gábor Stefanik
2010-10-09 21:32 ` Paul Fertser
2010-10-09 21:37 ` Gábor Stefanik
2010-10-10 7:21 ` Paul Fertser
2010-10-10 15:39 ` Larry Finger
2010-10-10 17:03 ` Paul Fertser
2010-10-11 1:50 ` Larry Finger
2010-10-11 7:37 ` Rafał Miłecki
2010-10-13 6:58 ` PIO mode (was: Re: Issues with 14e4:4315 on "lenovo ideapad s9" - works only after wl) Paul Fertser
2010-10-17 22:35 ` PIO mode Larry Finger
2010-10-18 4:11 ` Paul Fertser
2010-10-18 19:57 ` Larry Finger
2010-10-19 0:43 ` Paul Fertser
2010-10-19 16:04 ` Larry Finger
2010-10-19 16:22 ` Paul Fertser
2010-10-19 17:02 ` Larry Finger
2010-10-20 17:37 ` Larry Finger
2010-10-20 17:54 ` Paul Fertser
2010-10-20 18:31 ` Larry Finger
2010-10-20 19:37 ` MMIO trace for "warm" boot of b43 on IdeaPad S9 (was: Re: PIO mode) Paul Fertser
2010-10-20 22:19 ` Larry Finger
2010-10-21 6:05 ` MMIO trace for "warm" boot of b43 on IdeaPad S9 Paul Fertser
2010-10-21 8:53 ` Transfer zeroes via ssh test (was: Re: PIO mode) Paul Fertser
2010-10-21 14:27 ` Larry Finger
2010-10-21 20:55 ` Michael Büsch [this message]
2010-10-10 16:50 ` Issues with 14e4:4315 on "lenovo ideapad s9" - works only after wl Gábor Stefanik
2010-10-12 22:12 ` Paul Fertser
2010-10-12 23:05 ` Paul Fertser
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=1287694506.20367.6.camel@maggie \
--to=mb@bu3sch.de \
--cc=b43-dev@lists.infradead.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