All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] bridge detaching crash
@ 2015-11-08 23:45 Alessandro Bolletta
  2015-11-09 15:31 ` Simon Wunderlich
  0 siblings, 1 reply; 9+ messages in thread
From: Alessandro Bolletta @ 2015-11-08 23:45 UTC (permalink / raw)
  To: b.a.t.m.a.n

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


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

* Re: [B.A.T.M.A.N.] bridge detaching crash
  2015-11-08 23:45 [B.A.T.M.A.N.] bridge detaching crash Alessandro Bolletta
@ 2015-11-09 15:31 ` Simon Wunderlich
  2015-11-09 15:36   ` Marek Lindner
                     ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Simon Wunderlich @ 2015-11-09 15:31 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Alessandro Bolletta

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* Re: [B.A.T.M.A.N.] bridge detaching crash
  2015-11-09 15:31 ` Simon Wunderlich
@ 2015-11-09 15:36   ` Marek Lindner
  2015-11-09 22:23     ` Alessandro Bolletta
  2015-11-09 15:54   ` Sven Eckelmann
  2015-11-09 22:21   ` Alessandro Bolletta
  2 siblings, 1 reply; 9+ messages in thread
From: Marek Lindner @ 2015-11-09 15:36 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Alessandro Bolletta

[-- Attachment #1: Type: text/plain, Size: 290 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [B.A.T.M.A.N.] bridge detaching crash
  2015-11-09 15:31 ` Simon Wunderlich
  2015-11-09 15:36   ` Marek Lindner
@ 2015-11-09 15:54   ` Sven Eckelmann
  2015-11-09 22:24     ` Alessandro Bolletta
  2015-11-09 22:21   ` Alessandro Bolletta
  2 siblings, 1 reply; 9+ messages in thread
From: Sven Eckelmann @ 2015-11-09 15:54 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Alessandro Bolletta

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [B.A.T.M.A.N.] bridge detaching crash
  2015-11-09 15:31 ` Simon Wunderlich
  2015-11-09 15:36   ` Marek Lindner
  2015-11-09 15:54   ` Sven Eckelmann
@ 2015-11-09 22:21   ` Alessandro Bolletta
  2015-11-10 16:46     ` Simon Wunderlich
  2 siblings, 1 reply; 9+ messages in thread
From: Alessandro Bolletta @ 2015-11-09 22:21 UTC (permalink / raw)
  To: Simon Wunderlich, b.a.t.m.a.n

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


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

* Re: [B.A.T.M.A.N.] bridge detaching crash
  2015-11-09 15:36   ` Marek Lindner
@ 2015-11-09 22:23     ` Alessandro Bolletta
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Bolletta @ 2015-11-09 22:23 UTC (permalink / raw)
  To: Marek Lindner, b.a.t.m.a.n

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


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

* Re: [B.A.T.M.A.N.] bridge detaching crash
  2015-11-09 15:54   ` Sven Eckelmann
@ 2015-11-09 22:24     ` Alessandro Bolletta
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Bolletta @ 2015-11-09 22:24 UTC (permalink / raw)
  To: Sven Eckelmann, b.a.t.m.a.n

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


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

* Re: [B.A.T.M.A.N.] bridge detaching crash
  2015-11-09 22:21   ` Alessandro Bolletta
@ 2015-11-10 16:46     ` Simon Wunderlich
  2015-11-14 16:50       ` [B.A.T.M.A.N.] R: " Alessandro Bolletta
  0 siblings, 1 reply; 9+ messages in thread
From: Simon Wunderlich @ 2015-11-10 16:46 UTC (permalink / raw)
  To: Alessandro Bolletta; +Cc: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 1702 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* [B.A.T.M.A.N.] R: RE:  bridge detaching crash
  2015-11-10 16:46     ` Simon Wunderlich
@ 2015-11-14 16:50       ` Alessandro Bolletta
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Bolletta @ 2015-11-14 16:50 UTC (permalink / raw)
  To: Simon Wunderlich; +Cc: b.a.t.m.a.n

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


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

end of thread, other threads:[~2015-11-14 16:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-08 23:45 [B.A.T.M.A.N.] bridge detaching crash Alessandro Bolletta
2015-11-09 15:31 ` Simon Wunderlich
2015-11-09 15:36   ` Marek Lindner
2015-11-09 22:23     ` Alessandro Bolletta
2015-11-09 15:54   ` Sven Eckelmann
2015-11-09 22:24     ` Alessandro Bolletta
2015-11-09 22:21   ` Alessandro Bolletta
2015-11-10 16:46     ` Simon Wunderlich
2015-11-14 16:50       ` [B.A.T.M.A.N.] R: " Alessandro Bolletta

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.