[Bridge] Bridge interface always down since Linux >= 2.6.39

2011-06-30 Thread Arnaud Fontaine
Hello, After upgrading my kernel to 2.6.39 (I also tested with 3.0.0-rc4), my bridge interface with only TAP interfaces is always down (the flag is NO_CARRIER and operational state is DOWN) despite it was working well with previous versions of the kernel (the state was LOWER_UP and

Re: [Bridge] Bridge interface always down since Linux >= 2.6.39

2011-06-30 Thread Stephen Hemminger
On Thu, 30 Jun 2011 15:05:36 +0200 Arnaud Fontaine wrote: > Hello, > > After upgrading my kernel to 2.6.39 (I also tested with 3.0.0-rc4), my > bridge interface with only TAP interfaces is always down (the flag is > NO_CARRIER and operational state is DOWN) despite it was working well >

[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.

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

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] Bridge interface always down since Linux >= 2.6.39

2011-06-30 Thread Arnaud Fontaine
Hi, > There are two flags, IFF_UP - admin up/down and IFF_RUNNING carrier > up/down The IFF_UP is controlled manually, and IFF_RUNNING is what you > are talking about. Interesting, thank you very much for the explanation. > In older kernel versions, the bridge device always asserted carrie