Bug 137184 - options command in modules.conf does not work with probeall
Summary: options command in modules.conf does not work with probeall
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: modutils
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-26 15:35 UTC by John DeFranco
Modified: 2014-03-17 02:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-20 03:26:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John DeFranco 2004-10-26 15:35:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514

Description of problem:
When using the bonding driver with options the following needs to be
added to the /etc/modules.conf file:

alias bond0 bonding
options bond0 miimon=100 mode=1

In this case we are trying to set mode 1 (active/backup).

This works fine except when other network drivers need to be loaded
first, in this case when using the probeall command in the
/etc/modules.conf file. For example if the modules.conf file looks like:

alias bond0 bonding
options bond0 miimon=100 mode=1
probeall bond0 eth0 eth1 eth2 eth3 bonding

With this sequence the options line for bond0 seems to be ignored and
default settings are used, in this case mode 0 (round robin mode),
which is not what I want.


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


How reproducible:
Always

Steps to Reproduce:
1. Create the proper ifcfg-bond0, ifcfg-ethX files to define bonding
and slave interfaces.
2. Add the above entries into the /etc/modules.conf file
3. reboot the system. Check the /proc/net/bonding/bond0 entry. Will show:

[root@tsg root]# cat /proc/net/bonding/bond0
bonding.c:v2.4.1 (September 15, 2003)

Bonding Mode: load balancing (round-robin)
MII Status: up
.
.
.

It should show 

[root@csg root]# cat /proc/net/bonding/bond0
bonding.c:v2.4.1 (September 15, 2003)

Bonding Mode: fault-tolerance (active-backup)
Currently Active Slave: eth3
.
.
.


    

Additional info:

Comment 1 Bill Nottingham 2004-10-26 16:11:23 UTC
What happens if you change it to:

options bonding ....

Comment 2 Bill Nottingham 2005-04-20 03:26:53 UTC
Closing, no response.

Comment 3 Tayde Molinar 2005-08-12 23:36:14 UTC
Hi,

I had the same problem and it was corrected with the "options bonding ..."

alias bond0 bonding
options bonding mode=1 miimon=100  
probeall bond0 eth0 eth2 bonding

Regards


Note You need to log in before you can comment on or make changes to this bug.