All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pekka Pietikainen <pp@ee.oulu.fi>
To: Jan De Luyck <lkml@kcore.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4, b44 transmit timeout
Date: Sun, 28 Sep 2003 19:48:00 +0300	[thread overview]
Message-ID: <20030928164759.GA12560@ee.oulu.fi> (raw)
In-Reply-To: <200309081134.17013.lkml@kcore.org>

On Mon, Sep 08, 2003 at 11:34:17AM +0200, Jan De Luyck wrote:
> On Tue, Sep 02, 2003 at 09:33:53AM +0200, Norbert Preining wrote:  
> 
> > A-ha! Thanks, I think this should be enough to figure out what the problem  
> > is... Looks like the driver doesn't even get the packets pump tries to send,  
> > pump is a bit special in the way it bounces the interface up and down when  
> > doing its work, that probably triggers a race in b44..
> 
> I can also easily recreate this by calling dhcpcd e.g. when the cable isn't in 
> the socket yet. If i attach the cable then I see the interface coming up, 
> going down, and then the NETDEV watchdog message.
> Unfortunatly this usually means that dhcpcd goes hanging. ifconfig hangs too 
> if I try to use it, and rebooting must be forced with sysrq and an oops a 
> alt-sysrq-o for poweroff...
This could help (tm) :-)

--- b44.c.orig  2003-09-28 19:36:48.000000000 +0300
+++ b44.c       2003-09-28 19:37:07.000000000 +0300
@@ -870,6 +870,7 @@

        spin_unlock_irq(&bp->lock);

+       b44_enable_ints(bp);
        netif_wake_queue(dev);
 }

at least I could do some pretty dirty things to the poor chip and it still
seems to recover after this patch.

rmmod still has some problems, occasionally I get a "usage count 2" thing
(currently running the rawhide 2.4.22-1.2061.nptl, I've seen similar with
2.6.0-test5ish too, I suspect ipv6 might be involved, but sometimes I can rmmod
it even with ipv6 loaded so it's a bit random).

  parent reply	other threads:[~2003-09-28 16:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-08  9:34 2.4, b44 transmit timeout Jan De Luyck
2003-09-09 22:13 ` Pekka Pietikainen
2003-09-28 16:48 ` Pekka Pietikainen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-01 19:32 Norbert Preining
2003-09-01 20:00 ` Pekka Pietikainen
2003-09-02  7:33   ` Norbert Preining
2003-09-02  8:31     ` Pekka Pietikainen

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=20030928164759.GA12560@ee.oulu.fi \
    --to=pp@ee.oulu.fi \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@kcore.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.