Project

General

Profile

Actions

Bug #4428

open

Setting media option on em(4) leads to infinite link cycling

Added by Nash Kaminski almost 10 years ago. Updated over 8 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
-
Start date:
02/14/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

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.

Actions #1

Updated by Chris Buechler almost 10 years ago

  • Assignee set to Chris Buechler

Is that interface part of a bridge, or lagg or anything?

Actions #2

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.

Actions #3

Updated by Chris Buechler about 9 years ago

  • Category set to Interfaces
Actions #4

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.

Actions #5

Updated by Chris Buechler over 8 years ago

  • Assignee deleted (Chris Buechler)
Actions

Also available in: Atom PDF