All of lore.kernel.org
 help / color / mirror / Atom feed
From: Santiago Garcia Mantinan <manty@manty.net>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: Marcelo Tosatti <marcelo.tosatti@cyclades.com>, bridge@lists.osdl.org
Subject: Re: [Bridge] bridge breaks loopback on 2.4.22
Date: Wed, 1 Oct 2003 21:24:10 +0200	[thread overview]
Message-ID: <20031001192410.GA736@man.beta.es> (raw)
In-Reply-To: <20030929090804.038abf2b.shemminger@osdl.org>


> What kind of hardware do you have? what are the ethernet's you are trying
> to bridge?  

I think this doesn't matter, but right now on the machines I'm seing this
I'm bridging a 100Mb segment (8139too driver) with a 10Mb segment (ne.c
driver), the 10Mb segment carries no trafic at all and is only there for
some old machines (turned off all the time) and in case something happens to
the 100Mb switch.

However, I have some other cards around, I could test with them if you think
that could matter.

> There haven't been a many changes at all to the bridging code, and you could
> try building the 2.4.21 bridge code into a 2.4.22 kernel.

The changes weren't a lot, but something broke, I could not test to build
2.4.21 bridge into 2.4.22 till today, I have just done it and 2.4.22 works
ok like that. What I did is replace net/bridge from 2.4.22 with the one from
2.4.21, works like a charm.

> When cpu goes 100% could you get a backtrace (with sysrq-t)? 

This is ok, I mean, cpu must go 100%, there is nothing wrong with that, if
I'm doing a netcat from /dev/zero into the loopback and out to another
netcat and then to /dev/null a full cpu load is expected, what was not
expected was the 0% cpu load I get when the loopback looses packages and the
netcats start to wait for the kernel to deliver the packages.

I believe anybody can test this, just compile a 2.4.22 with the bridge code
into a box with two network cards, setup a bridge on the two cards and
enable stp, then plug the two cards into the same switch and that should do
it.

Well, I hope this clarifies the thing a bit, if you need any other tests
just ask for them.
-- 
Manty/BestiaTester -> http://manty.net

  reply	other threads:[~2003-10-01 19:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-27 20:22 [Bridge] bridge breaks loopback on 2.4.22 Santiago Garcia Mantinan
2003-09-27 20:22 ` Santiago Garcia Mantinan
2003-09-29 16:08 ` [Bridge] " Stephen Hemminger
2003-10-01 19:24   ` Santiago Garcia Mantinan [this message]
2003-10-01 12:51 ` [Bridge] " Marcelo Tosatti
2003-10-01 12:51   ` Marcelo Tosatti
2003-10-02 17:22 ` [Bridge] " Hannes Schulz
2003-10-02 23:00   ` Stephen Hemminger
2003-10-04 15:54     ` Santiago Garcia Mantinan
2003-10-06  5:11       ` Arnaldo Carvalho de Melo
2003-10-06 14:31         ` Santiago Garcia Mantinan
2003-10-04 15:29   ` Santiago Garcia Mantinan

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=20031001192410.GA736@man.beta.es \
    --to=manty@manty.net \
    --cc=bridge@lists.osdl.org \
    --cc=marcelo.tosatti@cyclades.com \
    --cc=shemminger@osdl.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.