Re: [Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"?

2011-08-10 Thread Stephen Hemminger
On Wed, 10 Aug 2011 09:54:58 +0200 "Weirich, Bernhard" wrote: > Hello, > > I had trouble with the new detection code for interface ports. > In turned out that the carrier was down, but IFF_RUNNING was set. > I changed the code to check for IFF_UP & IFF_LOWER_UP for interface ports and > now i

Re: [Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"?

2011-08-10 Thread Weirich, Bernhard
r is my interface device driver incorrect? Best regards, Bernhard -- From: Stephen Hemminger Subject: Re: [Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"? To: Alexander

Re: [Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"?

2011-07-05 Thread Stephen Hemminger
I just put a fix for the detection of bridge pseudo-device being up into the current rstp code available at: git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/rstp.git ___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-

Re: [Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"?

2011-07-04 Thread Alexander Stein
On Thursday 30 June 2011 19:08:19 Stephen Hemminger wrote: > On Thu, 30 Jun 2011 10:33:23 +0200 > > Alexander Stein wrote: > > * echo $(pgrep rstpd) > /var/run/rstpd.pid > > * brctl addbr br1 > > * echo 1 > /sys/class/net/br1/bridge/stp_state > > This bogus. You are running both kernel and spann

Re: [Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"?

2011-07-01 Thread David Lamparter
On Thu, Jun 30, 2011 at 10:08:19AM -0700, Stephen Hemminger wrote: > On Thu, 30 Jun 2011 10:33:23 +0200 > Alexander Stein wrote: > > > * echo $(pgrep rstpd) > /var/run/rstpd.pid > > * brctl addbr br1 > > * echo 1 > /sys/class/net/br1/bridge/stp_state > > This bogus. You are running both kernel a

Re: [Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"?

2011-06-30 Thread Stephen Hemminger
On Thu, 30 Jun 2011 10:33:23 +0200 Alexander Stein wrote: > * echo $(pgrep rstpd) > /var/run/rstpd.pid > * brctl addbr br1 > * echo 1 > /sys/class/net/br1/bridge/stp_state This bogus. You are running both kernel and spanning tree daemon at the same time! Doing the echo of 1 to stp_state forces

Re: [Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"?

2011-06-30 Thread Stephen Hemminger
On Thu, 30 Jun 2011 15:27:19 +0200 Alexander Stein wrote: > On Thursday 30 June 2011 10:33:23 Alexander Stein wrote: > > BTW: I noticed that in 2.6.39.2 independently from this patch revert this > > bridge didn't show up RUNNING ifconfg. Is this intended? Another bridge I > > have, which doesn't

[Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"?

2011-06-30 Thread Alexander Stein
Hello, I tried using the rstpd daemon from http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git;a=summary which worked fine on my desktop. I then tried doing the same on my embedded atom baord and failed. It turned out the used kernel 2.6.38-gentoo-r6 had not the problem the kernel v2.