Hi, in my Openwrt x86 testbed, I created a bridge between a vlan over eth0 and a vlan over bat0. It works as expected but, when I try to restart network, bridge seems to be not correctly detached and networking stack gets hanged.
This is the dmesg: http://pastebin.com/rxUUGvgX
Can you help me to debug this crash?
Thanks, Alessandro
Hi,
On Sunday 08 November 2015 23:45:14 Alessandro Bolletta wrote:
Hi, in my Openwrt x86 testbed, I created a bridge between a vlan over eth0 and a vlan over bat0. It works as expected but, when I try to restart network, bridge seems to be not correctly detached and networking stack gets hanged.
This is the dmesg: http://pastebin.com/rxUUGvgX
Can you help me to debug this crash?
Could you please post:
* batman-adv version * your network setup (batctl if, brctl show, etc) * commands you use to restart network (OpenWRT or something else?)
Thanks, Simon
Hi Marek, kernel is 3.18.21 ________________________________________ Da: Marek Lindner [mareklindner@neomailbox.ch] Inviato: lunedì 9 novembre 2015 16.36 A: b.a.t.m.a.n@lists.open-mesh.org Cc: Simon Wunderlich; Alessandro Bolletta Oggetto: Re: [B.A.T.M.A.N.] bridge detaching crash
On Monday, November 09, 2015 16:31:17 Simon Wunderlich wrote:
Could you please post:
- batman-adv version
- your network setup (batctl if, brctl show, etc)
- commands you use to restart network (OpenWRT or something else?)
Please also add the kernel version.
Cheers, Marek
On Monday 09 November 2015 16:31:17 Simon Wunderlich wrote:
Hi,
On Sunday 08 November 2015 23:45:14 Alessandro Bolletta wrote:
Hi, in my Openwrt x86 testbed, I created a bridge between a vlan over eth0 and
a
vlan over bat0. It works as expected but, when I try to restart network, bridge seems to be not correctly detached and networking stack gets
hanged.
This is the dmesg: http://pastebin.com/rxUUGvgX
Can you help me to debug this crash?
Could you please post:
- batman-adv version
- your network setup (batctl if, brctl show, etc)
- commands you use to restart network (OpenWRT or something else?)
And please also enable DEBUG_BUGVERBOSE in your kernel builds and post the output from the kernel oops with this option set.
Kind regards, Sven
Hi Sven, sure, I can do that when I'm back to my laboratory since I've to rebuild my OpenWRT image :)
________________________________________ Da: Sven Eckelmann [sven@narfation.org] Inviato: lunedì 9 novembre 2015 16.54 A: b.a.t.m.a.n@lists.open-mesh.org Cc: Simon Wunderlich; Alessandro Bolletta Oggetto: Re: [B.A.T.M.A.N.] bridge detaching crash
On Monday 09 November 2015 16:31:17 Simon Wunderlich wrote:
Hi,
On Sunday 08 November 2015 23:45:14 Alessandro Bolletta wrote:
Hi, in my Openwrt x86 testbed, I created a bridge between a vlan over eth0 and
a
vlan over bat0. It works as expected but, when I try to restart network, bridge seems to be not correctly detached and networking stack gets
hanged.
This is the dmesg:
Can you help me to debug this crash?
Could you please post:
- batman-adv version
- your network setup (batctl if, brctl show, etc)
- commands you use to restart network (OpenWRT or something else?)
And please also enable DEBUG_BUGVERBOSE in your kernel builds and post the output from the kernel oops with this option set.
Kind regards, Sven
Hi Simon,
- batman-adv 2015.1.0 with patches from OpenWRT feeds - the unique bridge present on this machine is between eth0.6 and bat0.2 - /etc/init.d/network restart - OS: OpenWRT 15.05 stable downloaded from git repo with lastest patches ________________________________________ Da: Simon Wunderlich [sw@simonwunderlich.de] Inviato: lunedì 9 novembre 2015 16.31 A: b.a.t.m.a.n@lists.open-mesh.org Cc: Alessandro Bolletta Oggetto: Re: [B.A.T.M.A.N.] bridge detaching crash
Hi,
On Sunday 08 November 2015 23:45:14 Alessandro Bolletta wrote:
Hi, in my Openwrt x86 testbed, I created a bridge between a vlan over eth0 and a vlan over bat0. It works as expected but, when I try to restart network, bridge seems to be not correctly detached and networking stack gets hanged.
Can you help me to debug this crash?
Could you please post:
* batman-adv version * your network setup (batctl if, brctl show, etc) * commands you use to restart network (OpenWRT or something else?)
Thanks, Simon
Hi Alessandro,
one question unanswered is which interfaces are used for batman-adv in your setup. In your kernel log we see eth0.90 and eth0.20.
Also was puzzling me is the message "tried to remove device eth0 from bat0.2". This is coming from __netdev_adjacent_dev_remove(), but I don't see how eth0 would be adjacent to bat0.2 ...
Can you please post batctl if and brctl show while your setup is running?
How repeatable is this problem? Is one node sufficient to reproduce?
Thanks, Simon
On Monday 09 November 2015 22:21:51 Alessandro Bolletta wrote:
Hi Simon,
- batman-adv 2015.1.0 with patches from OpenWRT feeds
- the unique bridge present on this machine is between eth0.6 and bat0.2
- /etc/init.d/network restart
- OS: OpenWRT 15.05 stable downloaded from git repo with lastest patches
Da: Simon Wunderlich [sw@simonwunderlich.de] Inviato: lunedì 9 novembre 2015 16.31 A: b.a.t.m.a.n@lists.open-mesh.org Cc: Alessandro Bolletta Oggetto: Re: [B.A.T.M.A.N.] bridge detaching crash
Hi,
On Sunday 08 November 2015 23:45:14 Alessandro Bolletta wrote:
Hi, in my Openwrt x86 testbed, I created a bridge between a vlan over eth0 and a vlan over bat0. It works as expected but, when I try to restart network, bridge seems to be not correctly detached and networking stack gets hanged.
Can you help me to debug this crash?
Could you please post:
- batman-adv version
- your network setup (batctl if, brctl show, etc)
- commands you use to restart network (OpenWRT or something else?)
Thanks, Simon
Hi Simon, sorry for my delay but I couldn't reply before then now.
Here is the brctl show:
bridge name bridge id STP enabled interfaces br-mgmt 7fff.0cc47a2006d0 no eth0.6 bat0.2
batctl if:
eth0.50: active eth0.40: active eth0.20: active eth0.90: active eth0.80: active eth0.70: active eth0.60: active eth1.30: active eth1.10: active
Every time I try to restart networking stack on OpenWRT or everytime I simply disconnect ethernet cable on eth0 network card I get this dump on dmesg and I can't estabilish new ethernet connection if I don't reboot the whole system.
Now I'm trying to reproduce this behaviour in another node, we'll keep in touch about it.
Any idea?
Thank you guys, Alessandro
-----Messaggio originale----- Da: Simon Wunderlich [mailto:sw@simonwunderlich.de] Inviato: martedì 10 novembre 2015 17.47 A: Alessandro Bolletta alessandro@mediaspot.net Cc: b.a.t.m.a.n@lists.open-mesh.org Oggetto: Re: RE: [B.A.T.M.A.N.] bridge detaching crash
Hi Alessandro,
one question unanswered is which interfaces are used for batman-adv in your setup. In your kernel log we see eth0.90 and eth0.20.
Also was puzzling me is the message "tried to remove device eth0 from bat0.2". This is coming from __netdev_adjacent_dev_remove(), but I don't see how eth0 would be adjacent to bat0.2 ...
Can you please post batctl if and brctl show while your setup is running?
How repeatable is this problem? Is one node sufficient to reproduce?
Thanks, Simon
On Monday 09 November 2015 22:21:51 Alessandro Bolletta wrote:
Hi Simon,
- batman-adv 2015.1.0 with patches from OpenWRT feeds
- the unique bridge present on this machine is between eth0.6 and
bat0.2
- /etc/init.d/network restart
- OS: OpenWRT 15.05 stable downloaded from git repo with lastest
patches ________________________________________ Da: Simon Wunderlich [sw@simonwunderlich.de] Inviato: lunedì 9 novembre 2015 16.31 A: b.a.t.m.a.n@lists.open-mesh.org Cc: Alessandro Bolletta Oggetto: Re: [B.A.T.M.A.N.] bridge detaching crash
Hi,
On Sunday 08 November 2015 23:45:14 Alessandro Bolletta wrote:
Hi, in my Openwrt x86 testbed, I created a bridge between a vlan over eth0 and a vlan over bat0. It works as expected but, when I try to restart network, bridge seems to be not correctly detached and networking stack gets hanged.
Can you help me to debug this crash?
Could you please post:
- batman-adv version
- your network setup (batctl if, brctl show, etc)
- commands you use to restart network (OpenWRT or something else?)
Thanks, Simon
b.a.t.m.a.n@lists.open-mesh.org