Setting media option on em(4) leads to infinite link cycling
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.
#4 Updated by Chris Buechler over 5 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.