Project

General

Profile

Bug #22883

IX interfaces will not come online with IP unless networking is refreshed after reboog

Added by Wayne Hiatt over 3 years ago. Updated over 3 years ago.

Status:
Closed: User Config Issue
Priority:
Expected
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Dell FS12TY - 24GB ram, dual Intel(R) Xeon(R) CPU L5630 @ 2.13GHz
Dell Intel 10GB SFP+ card VFVGR

ChangeLog Required:
No

Description

Upon reboot, both IX interfaces will not pass traffic or ping unless you restart networking, or edit the interface and save. After that, you also have to restart iSCSI service so it will bind.

History

#1 Updated by Bonnie Follweiler over 3 years ago

  • Assignee set to Kris Moore

A debug from System -> Advanced -> Save Debug could be helpful.

#2 Avatar?id=14398&size=24x24 Updated by Kris Moore over 3 years ago

  • Assignee changed from Kris Moore to Suraj Ravichandran
  • Priority changed from No priority to Expected

Over for investigation, and yes a debug file would be helpful

#3 Updated by Wayne Hiatt over 3 years ago

  • File debug-freenas-20170329103456.tgz added

Attached debug file.

#4 Updated by Suraj Ravichandran over 3 years ago

  • Assignee changed from Suraj Ravichandran to William Grzybowski
  • Target version set to 9.10.3

This is william's area of expertise, passing over to him

#5 Updated by William Grzybowski over 3 years ago

  • Status changed from Unscreened to 15

Can you please paste "ifconfig -a" after boot while its presenting the problem? As well as /tmp/rc.conf.freenas?

Thanks

#6 Updated by Wayne Hiatt over 3 years ago

ifconfig -a output:

ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=e407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:1b:21:a3:e6:b4
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (10Gbase-SR <full-duplex,rxpause,txpause>)
        status: active
ix1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=e407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:1b:21:a3:e6:b5
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (10Gbase-SR <full-duplex,rxpause,txpause>)
        status: active
igb0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=2400b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6>
        ether 04:7d:7b:16:3d:7a
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
igb1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=2400b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6>
        ether 04:7d:7b:16:3d:7a
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=2400b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6>
        ether 04:7d:7b:16:3d:7a
        inet 172.20.217.6 netmask 0xffffff00 broadcast 172.20.217.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect
        status: active
        laggproto lacp lagghash l2,l3,l4
        laggport: igb0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
        laggport: igb1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:ae:aa:52:f1:00
        nd6 options=1<PERFORMNUD>
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 8 priority 128 path cost 2000
        member: lagg0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 6 priority 128 path cost 10000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:ff:60:00:08:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active

/tmp/rc.conf.freenas content

ifconfig_lagg0="inet 172.20.217.6/24  laggproto lacp laggport igb0 laggport igb1" 

cloned_interfaces=" lagg0" 
ifconfig_ix0="inet 172.20.222.30/24  mediaopt flowcontrol mtu 9000" 

ifconfig_ix1="inet 172.20.223.30/24  mediaopt flowcontrol mtu 9000" 

ifconfig_igb0=" up" 
ifconfig_igb1=" up" 
hostname="freenas.homelab.waynehiatt.net" 
defaultrouter="172.20.217.254" 
netatalk_enable="NO" 
proftpd_enable="YES" 
nfs_server_enable="NO" 
rpc_lockd_enable="NO" 
rpc_statd_enable="NO" 
mountd_enable="NO" 
nfsd_enable="NO" 
rpcbind_enable="NO" 
rsyncd_enable="NO" 
snmpd_enable="YES" 
openssh_enable="YES" 
inetd_enable="NO" 
inadynmt_enable="NO" 
smartd_enable="YES" 
ladvd_enable="NO" 
ctld_enable="YES" 
apache24_enable="NO" 
samba_server_enable="YES" 
smbd_enable="YES" 
nmbd_enable="YES" 
winbindd_enable="YES" 
snmpd_conffile="/etc/local/snmpd.conf" 
snmpd_flags="-Ls5d" 
sssd_enable="NO" 
zfs_enable="YES" 
fusefs_enable="NO" 
fusefs_safe="NO" 
powerd_enable="NO" 
ix_diagnose_enable="YES" 
collectd_enable="YES" 
failover_enable="NO" 
nfs_server_flags="-t -n 4 " 
rpc_statd_flags="" 
rpc_lockd_flags="" 
mountd_flags="-rS" 
smartd_flags="-i 1800" 
ixssl_list="" 
geli_devices="" 
ladvd_flags="-a -z" 
ataidle_enable="YES" 
pbid_enable="YES" 
vboxnet_enable="YES" 
watchdogd_enable="YES" 
zfsd_enable="YES" 

#7 Updated by William Grzybowski over 3 years ago

Well, looks like its not setting up the IPs on startup.

What happens if you run "ifconfig ix0 inet 172.20.222.30/24 mediaopt flowcontrol mtu 9000" ?

Also, can you attach "dmesg -a" output.

#8 Updated by William Grzybowski over 3 years ago

  • Status changed from 15 to Closed: User Config Issue

Nevermind, I see dmesg -a in the debug file.

Here is your problem:
ifconfig: SIOCSIFMEDIA (media): Device not configured

You're using a wrong mediaopt.

Remove that from the Interfaces options and all should be good.

#9 Updated by William Grzybowski over 3 years ago

  • Target version changed from 9.10.3 to N/A

#10 Updated by Wayne Hiatt over 3 years ago

That's what I get for just blindly following instructions to enable flow control. After some research now it appears it's enabled by default on intel nics and controlled by sysctl.

I removed the option, rebooted and all is well. Apparently the issue did not surface when initially configured, and I only noticed it after a reboot for updates.

#11 Updated by Dru Lavigne almost 3 years ago

  • File deleted (debug-freenas-20170329103456.tgz)

Also available in: Atom PDF