From: "Gary Zambrano" <zambrano@broadcom.com>
To: "Andrew Morton" <akpm@linux-foundation.org>
Cc: netdev@vger.kernel.org,
"bugme-daemon@bugzilla.kernel.org"
<bugme-daemon@bugzilla.kernel.org>,
simsondem@gmail.com
Subject: Re: [Bugme-new] [Bug 8808] New: Large file transfer causes kernel panic showing b44_poll
Date: Wed, 01 Aug 2007 09:36:45 -0700 [thread overview]
Message-ID: <1185986205.30383.7.camel@localhost.localdomain> (raw)
In-Reply-To: <20070725115456.f7dac506.akpm@linux-foundation.org>
On Wed, 2007-07-25 at 11:54 -0700, Andrew Morton wrote:
> On Wed, 25 Jul 2007 04:29:33 -0700 (PDT)
> bugme-daemon@bugzilla.kernel.org wrote:
>
> > http://bugzilla.kernel.org/show_bug.cgi?id=8808
> >
> > Summary: Large file transfer causes kernel panic showing b44_poll
> > Product: Drivers
> > Version: 2.5
> > KernelVersion: 2.6.22.1
> > Platform: All
> > OS/Version: Linux
> > Tree: Mainline
> > Status: NEW
> > Severity: blocking
> > Priority: P1
> > Component: Network
> > AssignedTo: jgarzik@pobox.com
> > ReportedBy: simsondem@gmail.com
> >
> >
> > Most recent kernel where this bug did not occur: /
> > Distribution: ttylinux
> > Hardware Environment: Dell Inspiron 1300
> > Problem Description:
> >
> > A large file transfer (6.5GB) (tried http with wget and plain netcat) causes a
> > kernel panic after more than several GB have been transferred. However, kernel
> > panic does not occur consistently. That is, it has occurred after 1.2GB, 1.8GB,
> > 2.3GB and even 3.4GB transferred. Transfer never finished though.
> >
I could not repro the problem, but please give this patch a try:
diff -rup a/b44.c b/b44.c
--- a/b44.c 2007-07-31 15:31:08.000000000 -0700
+++ b/b44.c 2007-08-01 08:03:08.000000000 -0700
@@ -792,15 +792,15 @@ static int b44_rx(struct b44 *bp, int bu
goto next_pkt;
}
- if (len == 0) {
+ if (len < 5) {
int i = 0;
do {
udelay(2);
barrier();
len = le16_to_cpu(rh->len);
- } while (len == 0 && i++ < 5);
- if (len == 0)
+ } while (len < 5 && i++ < 5);
+ if (len < 5)
goto drop_it;
}
prev parent reply other threads:[~2007-08-01 18:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-8808-10286@http.bugzilla.kernel.org/>
2007-07-25 18:54 ` [Bugme-new] [Bug 8808] New: Large file transfer causes kernel panic showing b44_poll Andrew Morton
2007-08-01 16:36 ` Gary Zambrano [this message]
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=1185986205.30383.7.camel@localhost.localdomain \
--to=zambrano@broadcom.com \
--cc=akpm@linux-foundation.org \
--cc=bugme-daemon@bugzilla.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=simsondem@gmail.com \
/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).