Bug #4428
openSetting media option on em(4) leads to infinite link cycling
0%
Description
If the media or mediaopt config option is set, an infinite link cycling loop results since the link cycles when ifconfig is called to set the media type in interface_configure on line 2914 of /etc/inc/interfaces.inc. This then causes /etc/rc.linkup to be called when the link comes back up which calls interface_configure again which cycles the link by resetting the media and the cycle repeats. This issue is very similar to bug 1572, (https://redmine.pfsense.org/issues/1572) except that the loop arises from a link state cycle due to setting the media type as opposed to setting the MAC address. For reference, I am running pfsense 2.2-RELEASE and the NIC hardware is an Intel PRO1000 NIC using the em driver.
Updated by Chris Buechler almost 10 years ago
- Assignee set to Chris Buechler
Is that interface part of a bridge, or lagg or anything?
Updated by Nash Kaminski almost 10 years ago
It is not. No special functionality (vlan, lagg/lacp, or bridging) is enabled on any interfaces in the system.
Updated by Chris Buechler almost 9 years ago
- Subject changed from Setting media option leads to infinite link cycling to Setting media option on em(4) leads to infinite link cycling
- Status changed from New to Confirmed
- Affected Version set to All
happened upon this in testing #5888 on 2.3. Setting mediaopt on em(4) (at least in a FW-7541) cycles link, then rc.linkup does it again, over and over.