Mailing List Archive

modproble: Can't locate module eth0:1
Hi,

I wonder if anyone could help.

I'm setting up wackamole across two servers sharing 3 VIP
addresses and will be using RR DNS for the web site.

Error in /var/log/daemon.log is:
Nov 28 11:55:12 web-fe-01 modprobe: modprobe: Can't locate module eth0:1
Nov 28 11:55:12 web-fe-01 Wackamole[4048]: ioctl error setting IP address
Nov 28 11:55:12 web-fe-01 Wackamole[4048]: Aquire address 172.16.0.225
Nov 28 11:55:12 web-fe-01 modprobe: modprobe: Can't locate module eth0:1
Nov 28 11:55:12 web-fe-01 Wackamole[4048]: ioctl error setting IP address
Nov 28 11:55:12 web-fe-01 Wackamole[4048]: Aquire address 172.16.0.226
Nov 28 11:55:12 web-fe-01 modprobe: modprobe: Can't locate module eth0:1
Nov 28 11:55:12 web-fe-01 Wackamole[4048]: ioctl error setting IP address
Nov 28 11:55:12 web-fe-01 Wackamole[4048]: Aquire address 172.16.0.227

Hardware: Compaq DL360
OS: Debian potato stable (compact, so has Compaq drivers)

> uname -a
Linux web-fe-01 2.2.19-compact #1 Sat Jun 9 13:19:16 EST 2001 i686 unknown

Spread seems fine, I used this config on a couple of RedHat machines
and it worked ok. So I'm guessing it's debian, but as a recent convert
I'm not sure how to solve this.

Any help is much appreciated.

Thanks

Leo

> more /usr/local/etc/wackamole.conf
#
#The vip field gives a preferred address or an alias of a prefered address.
#These addresses must be members of the range given by of, below.
vip 172.16.0.225
#
#The of field gives a range of virtual addresses which are to be managed by
#wackamole.
of 172.16.0.225-227
#
#The router field gived the ip address of the router
#router router_ip
router 172.16.0.254
#
#This field is the broadcast address for the virtual addresses to be managed.
bcast 172.16.0.255
#
#This field is the network mask for the virtual addresses to be managed.
netmask 255.255.0.0
#
#This field is the interface on which wackamole ups and downs virtual addresses.
interface eth0
#
#This field is the maximum number of IP addresses that will move from one
#wackamole to another during a round of balancing.
balance rate 1
#
#This field gives the time (in seconds) between rounds of balancing.
balance timer seconds 5
#
#This is the time between the first wackamole's initialization and the
#maturity process. During this interval, IPs are not managed.
maturity timeout seconds 5
#
#If this is set to 0, balancing takes place as normal. Otherwise,
#there is only one round of balancing per membership event, and all
#IPs are balanced at once.
Complete Balance 1
modproble: Can't locate module eth0:1 [ In reply to ]
On Wednesday, November 28, 2001, at 06:57 AM, Leo Lapworth wrote:
> I wonder if anyone could help.
>
> I'm setting up wackamole across two servers sharing 3 VIP
> addresses and will be using RR DNS for the web site.
>
> Error in /var/log/daemon.log is:
> Nov 28 11:55:12 web-fe-01 modprobe: modprobe: Can't locate module eth0:1
> Nov 28 11:55:12 web-fe-01 Wackamole[4048]: ioctl error setting IP
> address
> Nov 28 11:55:12 web-fe-01 Wackamole[4048]: Aquire address 172.16.0.225
> Nov 28 11:55:12 web-fe-01 modprobe: modprobe: Can't locate module eth0:1
> Nov 28 11:55:12 web-fe-01 Wackamole[4048]: ioctl error setting IP
> address
> Nov 28 11:55:12 web-fe-01 Wackamole[4048]: Aquire address 172.16.0.226
> Nov 28 11:55:12 web-fe-01 modprobe: modprobe: Can't locate module eth0:1
> Nov 28 11:55:12 web-fe-01 Wackamole[4048]: ioctl error setting IP
> address
> Nov 28 11:55:12 web-fe-01 Wackamole[4048]: Aquire address 172.16.0.227

Sounds like that ioctl isn't supported on that device (eth0). Perhaps
you have IP aliasing disabled in your kernel. You must have IP aliasing
enabled as well as "Packet Socket."

> Hardware: Compaq DL360
> OS: Debian potato stable (compact, so has Compaq drivers)
>

> #This field is the broadcast address for the virtual addresses to be
> managed.
> bcast 172.16.0.255
> #
> #This field is the network mask for the virtual addresses to be managed.
> netmask 255.255.0.0

It seems unlikely that your netmask is 255.255.0.0. If it is, then your
broadcast address is incorrect. You netmask is most likely
255.255.255.0. Setting your netmask correctly is rather important.

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
modproble: Can't locate module eth0:1 [ In reply to ]
On Wed, Nov 28, 2001 at 10:54:10AM -0500, Theo Schlossnagle wrote:
>
> Sounds like that ioctl isn't supported on that device (eth0). Perhaps
> you have IP aliasing disabled in your kernel. You must have IP aliasing
> enabled as well as "Packet Socket."
>

Re-compiled kernel and all is working !!!

Thanks for the help and thanks for such a cool bit of technology!

Leo

p.s. Theo - will buy you beer if you are ever in London