Not reset interface when adding VLAN



  • I put a bug request https://redmine.pfsense.org/issues/2716 explaining that :
    When I add a vlan, the interface resets or all VLANS are dropped before returning. All the connections are drop, CARP is going in strange mode.

    Chris suggest it is a network card problem. How can I diagnose this ? Theorically, it should be a e1000 card, but I don't know enough BSD to confirm that on command line.
    The interface is name "em2"

    Any help ?

    Thanks


  • Netgate Administrator

    You can find out some more about the card from it's sysctl entries. Like so:

    
    [2.0.1-RELEASE][root@pfsense.fire.box]/root(4): sysctl dev.em.2
    dev.em.2.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.0.3
    dev.em.2.%driver: em
    dev.em.2.%location: slot=14 function=1
    dev.em.2.%pnpinfo: vendor=0x8086 device=0x1079 subvendor=0x8086 subdevice=0x1179 class=0x020000
    dev.em.2.%parent: pci3
    dev.em.2.nvm: -1
    dev.em.2.rx_int_delay: 0
    dev.em.2.tx_int_delay: 66
    dev.em.2.rx_abs_int_delay: 66
    dev.em.2.tx_abs_int_delay: 66
    dev.em.2.rx_processing_limit: 100
    dev.em.2.flow_control: 3
    dev.em.2.mbuf_alloc_fail: 0
    dev.em.2.cluster_alloc_fail: 0
    dev.em.2.dropped: 0
    dev.em.2.tx_dma_fail: 0
    dev.em.2.tx_desc_fail1: 0
    dev.em.2.tx_desc_fail2: 0
    dev.em.2.rx_overruns: 0
    dev.em.2.watchdog_timeouts: 0
    dev.em.2.device_control: 1077674569
    dev.em.2.rx_control: 32770
    dev.em.2.fc_high_water: 47104
    dev.em.2.fc_low_water: 45604
    dev.em.2.fifo_workaround: 0
    dev.em.2.fifo_reset: 0
    dev.em.2.txd_head: 79
    dev.em.2.txd_tail: 79
    dev.em.2.rxd_head: 221
    dev.em.2.rxd_tail: 220
    dev.em.2.mac_stats.excess_coll: 0
    dev.em.2.mac_stats.single_coll: 0
    dev.em.2.mac_stats.multiple_coll: 0
    dev.em.2.mac_stats.late_coll: 0
    dev.em.2.mac_stats.collision_count: 0
    dev.em.2.mac_stats.symbol_errors: 0
    dev.em.2.mac_stats.sequence_errors: 0
    dev.em.2.mac_stats.defer_count: 0
    dev.em.2.mac_stats.missed_packets: 0
    dev.em.2.mac_stats.recv_no_buff: 0
    dev.em.2.mac_stats.recv_undersize: 0
    dev.em.2.mac_stats.recv_fragmented: 0
    dev.em.2.mac_stats.recv_oversize: 0
    dev.em.2.mac_stats.recv_jabber: 0
    dev.em.2.mac_stats.recv_errs: 0
    dev.em.2.mac_stats.crc_errs: 0
    dev.em.2.mac_stats.alignment_errs: 0
    dev.em.2.mac_stats.coll_ext_errs: 0
    dev.em.2.mac_stats.xon_recvd: 0
    dev.em.2.mac_stats.xon_txd: 0
    dev.em.2.mac_stats.xoff_recvd: 0
    dev.em.2.mac_stats.xoff_txd: 0
    dev.em.2.mac_stats.total_pkts_recvd: 27135965
    dev.em.2.mac_stats.good_pkts_recvd: 27135965
    dev.em.2.mac_stats.bcast_pkts_recvd: 130117
    dev.em.2.mac_stats.mcast_pkts_recvd: 115114
    dev.em.2.mac_stats.rx_frames_64: 12136513
    dev.em.2.mac_stats.rx_frames_65_127: 10923033
    dev.em.2.mac_stats.rx_frames_128_255: 1177365
    dev.em.2.mac_stats.rx_frames_256_511: 535005
    dev.em.2.mac_stats.rx_frames_512_1023: 463684
    dev.em.2.mac_stats.rx_frames_1024_1522: 1900365
    dev.em.2.mac_stats.good_octets_recvd: 5139370643
    dev.em.2.mac_stats.good_octets_txd: 79148274988
    dev.em.2.mac_stats.total_pkts_txd: 58964427
    dev.em.2.mac_stats.good_pkts_txd: 58964427
    dev.em.2.mac_stats.bcast_pkts_txd: 4266
    dev.em.2.mac_stats.mcast_pkts_txd: 3
    dev.em.2.mac_stats.tx_frames_64: 809791
    dev.em.2.mac_stats.tx_frames_65_127: 3776730
    dev.em.2.mac_stats.tx_frames_128_255: 1483134
    dev.em.2.mac_stats.tx_frames_256_511: 437491
    dev.em.2.mac_stats.tx_frames_512_1023: 758686
    dev.em.2.mac_stats.tx_frames_1024_1522: 51698595
    dev.em.2.mac_stats.tso_txd: 0
    dev.em.2.mac_stats.tso_ctx_fail: 0
    
    

    Steve



  • Thanks Steve,

    Here is the informations :

    dev.em.2.%desc: Intel(R) PRO/1000 Network Connection 7.3.2
    dev.em.2.%driver: em
    dev.em.2.%location: slot=0 function=0
    dev.em.2.%pnpinfo: vendor=0x8086 device=0x10d3 subvendor=0x8086 subdevice=0x0001 class=0x020000
    dev.em.2.%parent: pci3
    dev.em.2.nvm: -1
    dev.em.2.debug: -1
    dev.em.2.fc: 3
    dev.em.2.rx_int_delay: 0
    dev.em.2.tx_int_delay: 66
    dev.em.2.rx_abs_int_delay: 66
    dev.em.2.tx_abs_int_delay: 66
    dev.em.2.rx_processing_limit: 100
    dev.em.2.eee_control: 0
    dev.em.2.link_irq: 3
    dev.em.2.mbuf_alloc_fail: 0
    dev.em.2.cluster_alloc_fail: 0
    dev.em.2.dropped: 0
    dev.em.2.tx_dma_fail: 0
    dev.em.2.rx_overruns: 0
    dev.em.2.watchdog_timeouts: 0
    dev.em.2.device_control: 1074790984
    dev.em.2.rx_control: 67403802
    dev.em.2.fc_high_water: 18432
    dev.em.2.fc_low_water: 16932
    dev.em.2.queue0.txd_head: 732
    dev.em.2.queue0.txd_tail: 734
    dev.em.2.queue0.tx_irq: 35092005
    dev.em.2.queue0.no_desc_avail: 0
    dev.em.2.queue0.rxd_head: 300
    dev.em.2.queue0.rxd_tail: 293
    dev.em.2.queue0.rx_irq: 34769345
    dev.em.2.mac_stats.excess_coll: 0
    dev.em.2.mac_stats.single_coll: 0
    dev.em.2.mac_stats.multiple_coll: 0
    dev.em.2.mac_stats.late_coll: 0
    dev.em.2.mac_stats.collision_count: 0
    dev.em.2.mac_stats.symbol_errors: 0
    dev.em.2.mac_stats.sequence_errors: 0
    dev.em.2.mac_stats.defer_count: 0
    dev.em.2.mac_stats.missed_packets: 0
    dev.em.2.mac_stats.recv_no_buff: 0
    dev.em.2.mac_stats.recv_undersize: 0
    dev.em.2.mac_stats.recv_fragmented: 0
    dev.em.2.mac_stats.recv_oversize: 0
    dev.em.2.mac_stats.recv_jabber: 0
    dev.em.2.mac_stats.recv_errs: 0
    dev.em.2.mac_stats.crc_errs: 0
    dev.em.2.mac_stats.alignment_errs: 0
    dev.em.2.mac_stats.coll_ext_errs: 0
    dev.em.2.mac_stats.xon_recvd: 0
    dev.em.2.mac_stats.xon_txd: 0
    dev.em.2.mac_stats.xoff_recvd: 0
    dev.em.2.mac_stats.xoff_txd: 0
    dev.em.2.mac_stats.total_pkts_recvd: 54846094
    dev.em.2.mac_stats.good_pkts_recvd: 52885893
    dev.em.2.mac_stats.bcast_pkts_recvd: 33022
    dev.em.2.mac_stats.mcast_pkts_recvd: 1335396
    dev.em.2.mac_stats.rx_frames_64: 4205
    dev.em.2.mac_stats.rx_frames_65_127: 14391553
    dev.em.2.mac_stats.rx_frames_128_255: 3970326
    dev.em.2.mac_stats.rx_frames_256_511: 1210516
    dev.em.2.mac_stats.rx_frames_512_1023: 965348
    dev.em.2.mac_stats.rx_frames_1024_1522: 32343945
    dev.em.2.mac_stats.good_octets_recvd: 51670155554
    dev.em.2.mac_stats.good_octets_txd: 20043923863
    dev.em.2.mac_stats.total_pkts_txd: 43447157
    dev.em.2.mac_stats.good_pkts_txd: 43447157
    dev.em.2.mac_stats.bcast_pkts_txd: 49468
    dev.em.2.mac_stats.mcast_pkts_txd: 1256625
    dev.em.2.mac_stats.tx_frames_64: 5886772
    dev.em.2.mac_stats.tx_frames_65_127: 19221861
    dev.em.2.mac_stats.tx_frames_128_255: 5798239
    dev.em.2.mac_stats.tx_frames_256_511: 885307
    dev.em.2.mac_stats.tx_frames_512_1023: 986972
    dev.em.2.mac_stats.tx_frames_1024_1522: 10668006
    dev.em.2.mac_stats.tso_txd: 7638
    dev.em.2.mac_stats.tso_ctx_fail: 0
    dev.em.2.interrupts.asserts: 17
    dev.em.2.interrupts.rx_pkt_timer: 0
    dev.em.2.interrupts.rx_abs_timer: 0
    dev.em.2.interrupts.tx_pkt_timer: 0
    dev.em.2.interrupts.tx_abs_timer: 0
    dev.em.2.interrupts.tx_queue_empty: 0
    dev.em.2.interrupts.tx_queue_min_thresh: 0
    dev.em.2.interrupts.rx_desc_min_thresh: 0
    dev.em.2.interrupts.rx_overrun: 0
    
    

  • Netgate Administrator

    Looks like a dual port card with Intel 82574L Gigabit Ethernet chips, correct?
    There will be many people running that chip without issue.  :-\

    Steve



  • It is only one port card Gigabit ethernet


Locked