Ethernet Bridge development
 help / color / mirror / Atom feed
From: <arkady-parabel@ngs.ru>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: bridge@osdl.org
Subject: [Bridge] Re: hang on PPC
Date: Tue, 29 Jun 2004 22:56:35 +0700	[thread overview]
Message-ID: <web-127675562@intranet.ru> (raw)
In-Reply-To: <20040628093846.6b417369@dell_ss3.pdx.osdl.net>

On Mon, 28 Jun 2004 09:38:46 -0700
 Stephen Hemminger <shemminger@osdl.org> wrote:
> > I get
> > br0: port 1(eth0) entering learning state
> > br0: port 1(eth0) entering forwarding state
> > br0: topology change detected, propagating
> > 
> > Now brctl is sleeping, forever...
> Any brctl or which command? The usual way of debugging
> this is
> to enable SysRq in kernel and hit SysRq-t to see what is
> happening.
> Also SysRq-p to show processes.

The process is locked(slept) by bridge module.

I've found a reason, the reason is in "LAPB over Ethernet
driver (CONFIG_LAPBETHER)" conflict.
I think it is in register_netdevice_notifier's handlers lock
between lapbether & bridge modules.

I've made a modification for hdlc_cisco.c, now it can report
cisco-hdlc device as Ethernet (with cisco-compatible bridge
encapsulation).
But I have one problem:
hdlc_cisco must add 4-byte header in hard_start_xmit (as
long as no one call hard_header. But I have no space, as
long as bridge's interface have hard_header_len = 0....
So' I have to make a COPY os skbuff, instead of cloning if
I'm the only user....

When I add hard_header_len = 4, it stopped work even on
Ethernet.
Is it hard to make bridge working with hard_header_len != 0
(It's necessary for Ethernet in (cisco-hdlc, frame-relay,
ppp) encapsulation) ?
-- 
Regards
Pavel

web: http://parabel.inc.ru/
mail: pavel[AT]parabel.inc.ru
phone: +7 (3832) 13-87-07
---------------------------------------------------------
http://relax.ngs.ru - ÷ÓÅ Ï ÄÏÓÕÇÅ É ÒÁÚ×ÌÅÞÅÎÉÑÈ × îÏ×ÏÓÉÂÉÒÓËÅ!






  reply	other threads:[~2004-06-29 15:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <web-127174921@intranet.ru>
2004-06-28 16:38 ` [Bridge] Re: hang on PPC Stephen Hemminger
2004-06-29 15:56   ` arkady-parabel [this message]
2004-06-29 16:57 Eble, Dan
  -- strict thread matches above, loose matches on Subject: below --
2004-06-29 17:12 Eble, Dan

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=web-127675562@intranet.ru \
    --to=arkady-parabel@ngs.ru \
    --cc=bridge@osdl.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox