Physical adapter in a bridge entering disabled state
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Physical adapter in a bridge entering disabled state
Hi!
I have the problem with Debian 11.4 on a notebook that the network connection is being reset from time to time and I don't know why. I have configured a bridge, because I need to share the connection with virtual machines. The bridge looks like this:
Code:
root@xxx:~# brctl show
bridge name bridge id STP enabled interfaces
bridge-hn 8000.9638fea2521a no enp0s25
vnet12
vnet14
vnet16
enp0s25 is the physical adapter causing the problem:
Code:
root@xxx:~# cat /var/log/messages |grep enp0s25
Oct 22 15:41:11 xxx kernel: [2252362.136807] bridge-hn: port 1(enp0s25) entered disabled state
Oct 22 15:41:15 xxx kernel: [2252365.909356] e1000e 0000:00:19.0 enp0s25: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
Oct 22 15:41:15 xxx kernel: [2252365.909441] bridge-hn: port 1(enp0s25) entered blocking state
Oct 22 15:41:15 xxx kernel: [2252365.909455] bridge-hn: port 1(enp0s25) entered forwarding state
I thought that spanning tree protocol was doing this, so I disabled it, but the problem continued.
Any ideas what might cause this and how to fix it?
This is really annoying because always when I listen to streamed music from that notebook, I get interruptions. My network is really simple, only a 192.168.0.0/24 local network connected to one switch.
I'd like to see the line just above the "entered disabled state" message, because the next line:
Code:
e1000e 0000:00:19.0 enp0s25: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
...strongly implies that the interface link went down for some reason.
Try greping for messages related to the e1000e driver. If the link goes down sporadically and then comes up again, you're probably experiencing a NIC/cable/switchport issue (layer 1).
The blocking/forwarding messages seem to be simply symptoms of the underlying problem. Also, if you look at the timestamps, the port does go directly from blocking to forwarding without the typical STP delay, as one would expect when STP is not running.
...strongly implies that the interface link went down for some reason.
No, it doesn't, that's the strange thing. The excerpt from /var/log/messages was everything regarding the issue. There is no "link down" preceeding entering the disabled state.
I exchanged the switch and the problem continues. Next I can try a cable change, but it happened over different cables, so that's probably not the issue. I'm also thinking about disabling Network Manager and reconfiguring the bridge with the "old" script based method. If that doesn't help either, maybe the NIC has a problem? That would be the worst case, meaning to get a new notebook.
I completely deinstalled network-manager und set up the bridge manually. The problem continues, but now I get this interesting info preceeding "port 1(enp0s25) entered disabled state":
Oct 25 23:37:20 xxx kernel: [25661.968604] ------------[ cut here ]------------
Oct 25 23:37:20 xxx kernel: [25661.968633] NETDEV WATCHDOG: enp0s25 (e1000e): transmit queue 0 timed out
It appears the NIC isn't serving the transmit queue.
Quote:
Originally Posted by Sheriff Hobbes
Does this indicate a problem with the CPU?
No, it indicates a problem with either the NIC, the link, or the NIC driver.
It could be a defective NIC, it could be a driver bug (not very likely give how common this NIC is), or it could be a link issue causing the NIC to stall.
What does ifconfig enp0s25 have to say about RX/TX errors?
It runs out of the box in Debian 11 kernel 5.15.74 and the problem is gone!
So either the onboard NIC was buggy or the e1000e driver, we'll never know.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.