WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Error: modprobe: can't load module bonding  (Read 2327 times)

Offline VuduMagic

  • Newbie
  • *
  • Posts: 5
Error: modprobe: can't load module bonding
« on: May 13, 2016, 01:56:19 PM »
My Platform Info:
Quote
root@NTPTestDevice:~# uname -a
Linux NTPTestDevice 2.6.33.3-tinycore #2 SMP Wed Jun 29 21:10:56 UTC 2011 i686 GNU/Linux
Other things to note:
Quote
root@NTPTestDevice:~# ls /sys/class/net
dummy0  eth0    eth1    eth2    eth3    lo

root@NTPTestDevice:~# cat /sys/class/net/eth0/speed
1000
root@NTPTestDevice:~# cat /sys/class/net/eth1/speed
10
root@NTPTestDevice:~# cat /sys/class/net/eth2/speed
10
root@NTPTestDevice:~# cat /sys/class/net/eth3/speed
10


I am trying to setup eth0 and eth1 slaves to a bond0.

I found this link:
https://www.kernel.org/doc/Documentation/networking/bonding.txt

I am trying to do this part that it says to do:

Quote
3.3 Configuring Bonding Manually with iproute2
-----------------------------------------------
   ...
   ...
   ...
modprobe bonding mode=balance-alb miimon=100
modprobe e100
ifconfig bond0 192.168.1.1 netmask 255.255.255.0 up
ip link set eth0 master bond0
ip link set eth1 master bond0

Note: I had to install iproute2.tcz package to get the ip command.

The problem is, when I run the first command, I get this error:

Quote
root@NTPTestDevice:~# modprobe bonding mode=1 miimon=100
modprobe: can't load module bonding (kernel/drivers/net/bonding/bonding.ko.gz): unknown symbol in module, or unknown parameter

I found this file:
Quote
root@NTPTestDevice:~# ll /lib/modules/2.6.33.3-tinycore/kernel/drivers/net/bonding/bonding.ko.gz
-rw-r--r--    1 root     root         38104 Feb 15 16:06 /lib/modules/2.6.33.3-tinycore/kernel/drivers/net/bonding/bonding.ko.gz

How do I get past this? Or is there another way to bond these together?

The file /sys/class/net/bonding_masters does not exist, so I can't do the "3.4 Configuring Bonding Manually via Sysfs" section.

Offline VuduMagic

  • Newbie
  • *
  • Posts: 5
Re: Error: modprobe: can't load module bonding
« Reply #1 on: May 13, 2016, 03:10:20 PM »
More info of my system:
Quote
root@NTPTestDevice:/mnt/sdb1# cat /usr/share/doc/tc/release.txt
tinycore_3.6

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Error: modprobe: can't load module bonding
« Reply #2 on: May 13, 2016, 04:03:36 PM »
"modinfo bonding" shows it needs the ipv6 module, which is in the ipv6 extension, try installing that.

Why are you using an ancient version though? Not even the latest 3.x.
The only barriers that can stop you are the ones you create yourself.