Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sporadic crash in TAP device initialization
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Mon Apr 08, 2013 8:28 pm    Post subject: sporadic crash in TAP device initialization Reply with quote

From the linux kernel mailing list I got for the following question
Quote:
I realized these new syslog messages at a 32 bit stable Gentoo, which have
4 configured TAP devices attached to a bridge :

2013-04-08T19:55:20.048+02:00 n22 kernel: br0: port 4(tap3) entered forwarding state
2013-04-08T19:55:20.048+02:00 n22 kernel: br0: port 4(tap3) entered forwarding state
2013-04-08T19:55:20.316+02:00 n22 kernel: br0: port 4(tap3) entered disabled state

This happened one time only and only for one device (for tap3, and all 4 devices are identical configured)
for one boot attempt till now - no configuration were changed.
this answer :
Quote:
The message from the bridge happens when the link goes down.
On a tap device link state comes from the application on the other end of the tap having the file opened (or closed). If the application using tap crashes, it's
file descriptors will be closed and the carrier will be marked as down. Bridge sees this and tracks it as part of the forwarding and STP if used.

Therefore make sure the application using tap3 hasn't crashed.
A quick check
Code:
zgrep 'br0: port .(tap.) entered forwarding state' /var/log/messages*
shows (rather rarely occuring) hits like :
Code:
# zgrep 'br0: port .(tap.) entered forwarding state' /var/log/messages*
/var/log/messages:2013-04-07T21:34:11.181+02:00 n22 kernel: br0: port 1(tap0) entered forwarding state
/var/log/messages:2013-04-07T21:34:11.181+02:00 n22 kernel: br0: port 1(tap0) entered forwarding state
/var/log/messages:2013-04-07T22:14:59.511+02:00 n22 kernel: br0: port 1(tap0) entered forwarding state
/var/log/messages:2013-04-07T22:14:59.511+02:00 n22 kernel: br0: port 1(tap0) entered forwarding state
/var/log/messages:2013-04-07T22:18:06.793+02:00 n22 kernel: br0: port 1(tap0) entered forwarding state
/var/log/messages:2013-04-07T22:18:06.793+02:00 n22 kernel: br0: port 1(tap0) entered forwarding state
/var/log/messages:2013-04-08T19:55:20.048+02:00 n22 kernel: br0: port 4(tap3) entered forwarding state
/var/log/messages:2013-04-08T19:55:20.048+02:00 n22 kernel: br0: port 4(tap3) entered forwarding state
/var/log/messages-20130317.gz:2013-03-16T20:13:39.895+01:00 n22 kernel: br0: port 1(tap0) entered forwarding state
/var/log/messages-20130317.gz:2013-03-16T20:13:39.895+01:00 n22 kernel: br0: port 1(tap0) entered forwarding state
Now I'm wondering which (Gentoo specific?) initialization routine fails ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum