All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [Bridge] Re: hang on PPC
@ 2004-06-29 16:57 Eble, Dan
  0 siblings, 0 replies; 4+ messages in thread
From: Eble, Dan @ 2004-06-29 16:57 UTC (permalink / raw)
  To: 'arkady-parabel@ngs.ru'; +Cc: bridge

Pavel, you may be interested in my work on Cisco HDLC bridging:
http://marc.theaimsgroup.com/?l=linux-netdev&m=108802311131855&w=2

I have used it with the bridge driver (in 2.4) without any problems (yet
;)), and I am sure Krzysztof Halasa, the HDLC maintainer, would be thrilled
if you managed to port it to a recent version of the kernel and make it a
compile-time option.

Oh, it also requires changes to sethdlc that are not in the post cited
above.  There are also a few lines of modifications I've made to the kernel
parts since that post.  Email me off-list if you are interested and I'll
send you what I have.

-- 
Dan Eble <dane@aiinet.com>  _____  .
Software Engineer          |  _  |/|
Applied Innovation Inc.    | |_| | |
http://www.aiinet.com/     |__/|_|_|


> -----Original Message-----
> From: bridge-bounces@lists.osdl.org 
> [mailto:bridge-bounces@lists.osdl.org] On Behalf Of 
> arkady-parabel@ngs.ru
> Sent: Tuesday, June 29, 2004 11:57 AM
> To: Stephen Hemminger
> Cc: bridge@osdl.org
> Subject: [Bridge] Re: hang on PPC
> 
> 
> 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 - ÷ÓÅ Ï ÄÏÓÕÇÅ É ÒÁÚ×ÌÅÞÅÎÉÑÈ × îÏ×ÏÓÉÂÉÒÓËÅ!
> 
> 
> 
> 
> 
> _______________________________________________
> Bridge mailing list
> Bridge@lists.osdl.org
> http://lists.osdl.org/mailman/listinfo/bridge
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: [Bridge] Re: hang on PPC
@ 2004-06-29 17:12 Eble, Dan
  0 siblings, 0 replies; 4+ messages in thread
From: Eble, Dan @ 2004-06-29 17:12 UTC (permalink / raw)
  To: Eble, Dan, 'arkady-parabel@ngs.ru'; +Cc: bridge

Scratch that last comment.  The kernel code I have now is identical to what
I posted.  Sorry for the misinformation.

> -----Original Message-----
> From: bridge-bounces@lists.osdl.org 
> [mailto:bridge-bounces@lists.osdl.org] On Behalf Of Eble, Dan
> Sent: Tuesday, June 29, 2004 12:57 PM
> To: 'arkady-parabel@ngs.ru'
> Cc: bridge@osdl.org
> Subject: RE: [Bridge] Re: hang on PPC
> 
> 
> Pavel, you may be interested in my work on Cisco HDLC bridging:
> http://marc.theaimsgroup.com/?l=linux-netdev&m=108802311131855&w=2
> 
> I have used it with the bridge driver (in 2.4) without any 
> problems (yet
> ;)), and I am sure Krzysztof Halasa, the HDLC maintainer, 
> would be thrilled
> if you managed to port it to a recent version of the kernel 
> and make it a
> compile-time option.
> 
> Oh, it also requires changes to sethdlc that are not in the post cited
> above.  There are also a few lines of modifications I've made 
> to the kernel
> parts since that post.  Email me off-list if you are 
> interested and I'll
> send you what I have.
> 
> -- 
> Dan Eble <dane@aiinet.com>  _____  .
> Software Engineer          |  _  |/|
> Applied Innovation Inc.    | |_| | |
> http://www.aiinet.com/     |__/|_|_|
> 
> 
> > -----Original Message-----
> > From: bridge-bounces@lists.osdl.org 
> > [mailto:bridge-bounces@lists.osdl.org] On Behalf Of 
> > arkady-parabel@ngs.ru
> > Sent: Tuesday, June 29, 2004 11:57 AM
> > To: Stephen Hemminger
> > Cc: bridge@osdl.org
> > Subject: [Bridge] Re: hang on PPC
> > 
> > 
> > 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 - ÷ÓÅ Ï ÄÏÓÕÇÅ É ÒÁÚ×ÌÅÞÅÎÉÑÈ × îÏ×ÏÓÉÂÉÒÓËÅ!
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Bridge mailing list
> > Bridge@lists.osdl.org
> > http://lists.osdl.org/mailman/listinfo/bridge
> > 
> 
> _______________________________________________
> Bridge mailing list
> Bridge@lists.osdl.org
> http://lists.osdl.org/mailman/listinfo/bridge
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-29 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2004-06-29 16:57 Eble, Dan
  -- strict thread matches above, loose matches on Subject: below --
2004-06-29 17:12 Eble, Dan

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.