LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Module is wrong version

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Module is wrong version
From: Marc Tardif <mtardif@xxxxxxxxxxx>
Date: Fri, 22 Aug 2003 12:29:44 -0400
John Reuning wrote:
Okay, I've had my 3 strikes. :)  What does strace show when you run
ipvsadm with it?

Note the setsockopt which is responsible for returning -1 and setting errno to EINVAL.

# strace ./ipvsadm -a -t 192.168.0.2:80 -r 10.9.201.255:80 -m
execve("./ipvsadm", ["./ipvsadm", "-a", "-t", "192.168.0.2:80", "-r", "10.9.201.255:80", "-m"], [/* 31 vars */]) = 0
uname({sys="Linux", node="morbo", ...}) = 0
brk(0)                                  = 0x804efec
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=73752, ...}) = 0
old_mmap(NULL, 73752, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
open("/usr/lib/libpopt.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\21"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=29500, ...}) = 0
old_mmap(NULL, 27228, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002b000
mprotect(0x40031000, 2652, PROT_NONE)   = 0
old_mmap(0x40031000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x40031000
close(3)                                = 0
open("/lib/i686/libc.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\307"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=5795104, ...}) = 0
old_mmap(NULL, 1293864, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40032000
mprotect(0x40165000, 36392, PROT_NONE)  = 0
old_mmap(0x40165000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x132000) = 0x40165000 old_mmap(0x4016a000, 15912, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4016a000
close(3)                                = 0
munmap(0x40018000, 73752)               = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
getsockopt(3, SOL_IP, 0x481 /* IP_??? */, [65545], [12]) = 0
brk(0)                                  = 0x804efec
brk(0x804f194)                          = 0x804f194
brk(0x8050000)                          = 0x8050000
setsockopt(3, SOL_IP, 0x487 /* IP_??? */, [0], 92) = -1 EINVAL (Invalid argument)
write(2, "Module is wrong version\n", 24Module is wrong version
) = 24
close(3)                                = 0
_exit(-1)                               = ?

--
Marc Tardif
Sitepak
(514) 866-8883

<Prev in Thread] Current Thread [Next in Thread>