Bug 749789

Summary: Problem with Emulex Corporation OneConnect 10Gb NIC (be3) be2net driver
Product: Red Hat Enterprise Linux 5 Reporter: qvlatrt <vladimir.xc.trtic>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
Status: CLOSED NOTABUG QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: medium    
Version: 5.7CC: bzeranski, coughlan, ezivanov, jwest, peterm
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 16:08:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description qvlatrt 2011-10-28 12:19:35 UTC
Description of problem:
Bonding miimon=100 for this ethernet ports is not working.
If I unplugg cable, Link will staid up (MII Status: up)and traffic will be losted.

On another hand, if I configured bonding with arp_interval and arp_ip_target system recognized when cable is unplugged:
cat /proc/net/bonding/bond0 shows that ,MII Status: down
ifconfig -a show that interface is RUNNING - also BUG 
But trafiic will not be losted and stand by ethenret interface will handle it.

After I unplug cable back I will need to wait for more then 5 minutes to link become up - BUG

Version-Release number of selected component (if applicable):

modinfo be2net
filename:       /lib/modules/2.6.18-274.el5/kernel/drivers/net/benet/be2net.ko
license:        GPL
author:         ServerEngines Corporation
description:    ServerEngines BladeEngine 10Gbps NIC Driver 4.0.100r
version:        4.0.100r
srcversion:     E7E2B568938BBCF1B40C2A4
alias:          pci:v000010DFd0000E220sv*sd*bc*sc*i*
alias:          pci:v000019A2d00000710sv*sd*bc*sc*i*
alias:          pci:v000019A2d00000700sv*sd*bc*sc*i*
alias:          pci:v000019A2d00000221sv*sd*bc*sc*i*
alias:          pci:v000019A2d00000211sv*sd*bc*sc*i*
depends:        8021q
vermagic:       2.6.18-274.el5 SMP mod_unload gcc-4.1
parm:           rx_frag_size:Size of a fragment that holds rcvd data. (ushort)
parm:           num_vfs:Number of PCI VFs to initialize (uint)
parm:           lro:Obsolete, only for backward compatibility. Don't use. (uint)
parm:           multi_rxq:Multi Rx Queue support. Enabled by default (uint)
module_sig:     883f3504e177a195e46ee793d43754112da8609ca856df1cf8a119e1ee5f2baad81bb7436c698509b598dd774cc3d5a7cd1fb9049acf538768afe95

Configuration:

cat /etc/modprobe.conf
alias eth0 be2net
alias eth1 be2net
alias eth2 bnx2
alias eth3 bnx2
alias scsi_hostadapter cciss
alias scsi_hostadapter1 usb-storage
alias net-pf-10 off
alias ipv6 off
options ipv6 disable=1
alias bond0 bonding
alias bond1 bonding

cat ifcfg-bond0
DEVICE=bond0
IPADDR=10.201.21.124
NETMASK=255.255.255.192
NETWORK=10.201.21.64
BROADCAST=10.201.21.127
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
GATEWAY=10.201.21.65
TYPE=Ethernet
BONDING_OPTS="mode=1 primary=eth0 arp_interval=200 arp_ip_target=10.201.21.65"

ifcfg-eth0
# Emulex Corporation OneConnect 10Gb NIC (be3)
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
TYPE=Ethernet
HWADDR="9C:8E:99:1F:05:40"

cat ifcfg-eth1
# Emulex Corporation OneConnect 10Gb NIC (be3)
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
TYPE=Ethernet
HWADDR="9C:8E:99:1F:05:44"

Comment 2 Jeremy West 2012-02-07 16:08:34 UTC
Vladimir,

I'm going to close this bug for now.  I see that the customer case you opened with support has stalled out and closed already.  Please reopen that customer case once you have the additional information you were working on, and then we (Red Hat) will reopen this bug once we're able to proceed with a solution.

Thanks
Jeremy West
Red Hat Support Supervisor