Skip to contentSkip to conversation

RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems

Bridge Joakim Tjernlund 2 participants 5 messages Mar 29, 2008 – Mar 31, 2008 Ethernet bridge

lore
Share & tools
lore
#0 lore raw
Quoted 18 lines

-----Original Message-----
From: Joakim Tjernlund [mailto:[email protected]]
Sent: den 29 mars 2008 17:22
To: '[email protected]'
Subject: RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git;a=summary problems

Hi List

I cloned the above RSTP imp. and cross-compiled it to powerpc and tried in on my 2.6.23 kernel, but didn't get very far:

Created a bridge, br0, with brctl and added two interfaces. started rstpd without args and ran rstpctl
rstpctl showbridge br0
and all I get is
CTL_get_bridge_state: Got return code 0, 1003 Failed to get bridge state: Err_Bridge_is_down

Quoted 4 lines

The br0 i/f is UP amd RUNNING and so is the interfaces I added. I probably forgot to do something I suppose, but what?

Jocke

Never mind, user error on my part.

I do wonder though if rstpd is production ready or still needs more testing/fixes?

Jocke

#1 lore raw
Quoted 21 lines · On Sat, 29 Mar 2008 18:10:24 +0100 "Joakim Tjernlund"…
Quoted 21 lines

-----Original Message-----
From: Joakim Tjernlund [mailto:[email protected]]
Sent: den 29 mars 2008 17:22
To: '[email protected]'
Subject: RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git;a=summary problems

Hi List

I cloned the above RSTP imp. and cross-compiled it to powerpc and tried in on my 2.6.23 kernel, but didn't get very far:

Created a bridge, br0, with brctl and added two interfaces. started rstpd without args and ran rstpctl
rstpctl showbridge br0
and all I get is
CTL_get_bridge_state: Got return code 0, 1003 Failed to get bridge state: Err_Bridge_is_down

The br0 i/f is UP amd RUNNING and so is the interfaces I added. I probably forgot to do something I suppose, but what?

Quoted 8 lines
Quoted 1 line

Jocke

Never mind, user error on my part.

I do wonder though if rstpd is production ready or still needs more testing/fixes?

Jocke

The rstpd stuff isn't widely used, more because of the administration, packaging, startup issues etc. It is kind of a chicken/egg problem, no one uses it so no one reports bugs.The RSTP code library has been around for a long while and doesn't have any known issues.

Since Vyatta is a debian based distribution, I am toying with the idea of making a debian package for rstp to get more early users. I recommend anyone making an appliance based distribution or device consider using rstpd since the kernel STP code is so old.

After the rstpd code is more widely used, the kernel STP code should be able to be fully disabled.

#2 lore raw
Quoted 31 lines · Stephen Hemminger
Quoted 28 lines · On Sat, 29 Mar 2008 18:10:24 +0100 "Joakim Tjernlund"…
Quoted 18 lines

-----Original Message-----
From: Joakim Tjernlund [mailto:[email protected]]
Sent: den 29 mars 2008 17:22
To: '[email protected]'
Subject: RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git;a=summary problems

Hi List

I cloned the above RSTP imp. and cross-compiled it to powerpc and tried in on my 2.6.23 kernel, but didn't get very far:

Created a bridge, br0, with brctl and added two interfaces. started rstpd without args and ran rstpctl
rstpctl showbridge br0
and all I get is
CTL_get_bridge_state: Got return code 0, 1003 Failed to get bridge state: Err_Bridge_is_down

Quoted 4 lines

The br0 i/f is UP amd RUNNING and so is the interfaces I added. I probably forgot to do something I suppose, but what?

Jocke

Never mind, user error on my part.

I do wonder though if rstpd is production ready or still needs more testing/fixes?

Quoted 6 lines
Quoted 1 line

Jocke

The rstpd stuff isn't widely used, more because of the administration, packaging, startup issues etc. It is kind of a chicken/egg problem, no one uses it so no one reports bugs.The RSTP code library has been around for a long while and doesn't have any known issues.

I see, what do you think of Srinivas rewrite? I looks much cleaner, have you had a chance to test it?

Jocke

#3 lore raw
Quoted 35 lines · On Mon, 31 Mar 2008 19:06:14 +0200 Joakim Tjernlund…
Quoted 33 lines · Stephen Hemminger
Quoted 29 lines · On Sat, 29 Mar 2008 18:10:24 +0100 "Joakim Tjernlund"…
Quoted 18 lines

-----Original Message-----
From: Joakim Tjernlund [mailto:[email protected]]
Sent: den 29 mars 2008 17:22
To: '[email protected]'
Subject: RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git;a=summary problems

Hi List

I cloned the above RSTP imp. and cross-compiled it to powerpc and tried in on my 2.6.23 kernel, but didn't get very far:

Created a bridge, br0, with brctl and added two interfaces. started rstpd without args and ran rstpctl
rstpctl showbridge br0
and all I get is
CTL_get_bridge_state: Got return code 0, 1003 Failed to get bridge state: Err_Bridge_is_down

Quoted 4 lines

The br0 i/f is UP amd RUNNING and so is the interfaces I added. I probably forgot to do something I suppose, but what?

Jocke

Never mind, user error on my part.

I do wonder though if rstpd is production ready or still needs more testing/fixes?

Jocke

Quoted 7 lines
Quoted 4 lines

The rstpd stuff isn't widely used, more because of the administration, packaging, startup issues etc. It is kind of a chicken/egg problem, no one uses it so no one reports bugs.The RSTP code library has been around for a long while and doesn't have any known issues.

I see, what do you think of Srinivas rewrite? I looks much cleaner, have you had a chance to test it?

He did most of the original rstp code, just haven't had chance to merge it. Dirty secret, I don't use bridging normally, and have to go out of my way to setup tests so that is part of the reason I don't merge things until they have settled.

#4 lore raw
Quoted 52 lines

-----Original Message-----
From: Stephen Hemminger [mailto:[email protected]]
Sent: den 31 mars 2008 19:09
To: [email protected]
Cc: [email protected]
Subject: Re: [Bridge] RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems

Quoted 10 lines · On Mon, 31 Mar 2008 19:06:14 +0200 Joakim Tjernlund…
Quoted 8 lines · Stephen Hemminger
Quoted 5 lines · On Sat, 29 Mar 2008 18:10:24 +0100 "Joakim Tjernlund"…
Quoted 5 lines

-----Original Message-----
From: Joakim Tjernlund [mailto:[email protected]]
Sent: den 29 mars 2008 17:22
To: '[email protected]'
Subject: RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git;a=summary

problems

Quoted 30 lines
Quoted 29 lines
Quoted 16 lines
Quoted 16 lines

Hi List

I cloned the above RSTP imp. and cross-compiled it to powerpc and tried in on my 2.6.23 kernel, but didn't get very far:

Created a bridge, br0, with brctl and added two interfaces. started rstpd without args and ran rstpctl
rstpctl showbridge br0
and all I get is
CTL_get_bridge_state: Got return code 0, 1003 Failed to get bridge state: Err_Bridge_is_down

The br0 i/f is UP amd RUNNING and so is the interfaces I added. I probably forgot to do something I suppose, but what?

Quoted 8 lines
Quoted 1 line

Jocke

Never mind, user error on my part.

I do wonder though if rstpd is production ready or still needs more testing/fixes?

Jocke

The rstpd stuff isn't widely used, more because of the administration, packaging, startup issues etc. It is kind of a chicken/egg problem, no one uses it so no one reports bugs.The RSTP code library has been around for a long while and doesn't have any known issues.

Quoted 6 lines
Quoted 2 lines

I see, what do you think of Srinivas rewrite? I looks much cleaner, have you had a chance to test it?

He did most of the original rstp code, just haven't had chance to merge it. Dirty secret, I don't use bridging normally, and have to go out of my way to setup tests so that is part of the reason I don't merge things until they have settled.

:), maybe you could add a testing branch where the new code could be?

One reason for lack of testing of RSTP is that it is hard to find. The bridge homepage just mentions that there is ongoing work w.r.t RSTP

Jocke