Why the error "/etc/sysconfig/network-scripts/ifup-eth: line 131: /sys/class/net/bond0/bonding/debug: No such file or directory" OR "bonding: Unknown parameter 'debug'" occurs while bringing up the bonded interface ?

Solution Verified - Updated -

Issue

  • When bringing up the bonded interface with service network restart or ifup command it is failing with an error as below:
[root@localhost ~]# /etc/init.d/network restart
Shutting down interface bond0:                             [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface bond0:  /etc/sysconfig/network-scripts/ifup-eth: line 131: /sys/class/net/bond0/bonding/debug: No such file or directory
                                                           [  OK  ]
[root@localhost ~]# 
[root@localhost ~]# ifup bond0
/etc/sysconfig/network-scripts/ifup-eth: line 131: /sys/class/net/bond0/bonding/debug: No such file or directory
[root@localhost ~]# 
  • When reloading the bonding module, got error as below:
[root@localhost ~]# modprobe -r bonding
[root@localhost ~]# modprobe -v bonding
[...]
insmod /lib/modules/2.6.32-279.19.1.el6.x86_64/kernel/drivers/net/bonding/bonding.ko debug=1
bonding: Unknown parameter 'debug'
FATAL: Error inserting bonding (/lib/modules/2.6.32-279.19.1.el6.x86_64/kernel/drivers/net/bonding/bonding.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Environment

  • Red Hat Enterprise Linux 6 (All minor Versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.