[openib-general] Problem configuring ipath_ether

Matt Leininger mlleinin at hpcn.ca.sandia.gov
Thu Mar 23 23:50:18 PST 2006


I have the ipath driver up, running, and working with IPoIB.  I'm using
2.6.16 with svn 5938.  The ipath_ether comes up as eth2.  I can set the
netmask and broadcast, but when I try to set the ip address for this
device I get the following error:


[root at opt1 infiniband]# ifconfig eth2 10.128.20.103
SIOCSIFFLAGS: Operation not permitted


Here is the same command with an strace.


[root at opt1 infiniband]# strace ifconfig eth2 10.128.20.103
execve("/sbin/ifconfig", ["ifconfig", "eth2", "10.128.20.103"], [/* 31
vars */]) = 0
uname({sys="Linux", node="opt1", ...})  = 0
brk(0)                                  = 0x610000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b6edea52000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=145885, ...}) = 0
mmap(NULL, 145885, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b6edea53000
close(3)                                = 0
open("/lib64/tls/libc.so.6", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\305A|<"...,
640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32)
= 32
fstat(3, {st_mode=S_IFREG|0755, st_size=1489988, ...}) = 0
mmap(0x3c7c400000, 2301864, PROT_READ|PROT_EXEC, MAP_PRIVATE|
MAP_DENYWRITE, 3, 0) = 0x3c7c400000
mprotect(0x3c7c529000, 1085352, PROT_NONE) = 0
mmap(0x3c7c628000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x128000) = 0x3c7c628000
mmap(0x3c7c62e000, 16296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0x3c7c62e000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b6edea77000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b6edea78000
mprotect(0x3c7c628000, 12288, PROT_READ) = 0
arch_prctl(0x1002, 0x2b6edea77b00)      = 0
munmap(0x2b6edea53000, 145885)          = 0
brk(0)                                  = 0x610000
brk(0x631000)                           = 0x631000
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=39550704, ...}) = 0
mmap(NULL, 39550704, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b6edea79000
close(3)                                = 0
uname({sys="Linux", node="opt1", ...})  = 0
access("/proc/net", R_OK)               = 0
access("/proc/net/unix", R_OK)          = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 3
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
access("/proc/net/if_inet6", R_OK)      = 0
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5
access("/proc/net/ax25", R_OK)          = -1 ENOENT (No such file or
directory)
access("/proc/net/nr", R_OK)            = -1 ENOENT (No such file or
directory)
access("/proc/net/rose", R_OK)          = -1 ENOENT (No such file or
directory)
access("/proc/net/ipx", R_OK)           = -1 ENOENT (No such file or
directory)
access("/proc/net/appletalk", R_OK)     = -1 ENOENT (No such file or
directory)
access("/proc/sys/net/econet", R_OK)    = -1 ENOENT (No such file or
directory)
access("/proc/sys/net/ash", R_OK)       = -1 ENOENT (No such file or
directory)
access("/proc/net/x25", R_OK)           = -1 ENOENT (No such file or
directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b6ee1031000
read(6, "# Locale name alias data base.\n#"..., 4096) = 2528
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x2b6ee1031000, 4096)            = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/net-tools.mo", O_RDONLY)
= -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/net-tools.mo", O_RDONLY)
= -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/net-tools.mo", O_RDONLY) =
-1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/net-tools.mo", O_RDONLY) =
-1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
ioctl(4, SIOCSIFADDR, 0x7fffffbc8620)   = 0
ioctl(4, SIOCGIFFLAGS, 0x7fffffbc8550)  = 0
ioctl(4, SIOCSIFFLAGS, 0x7fffffbc8550)  = -1 EPERM (Operation not
permitted)
dup(2)                                  = 6
fcntl(6, F_GETFL)                       = 0x8002 (flags O_RDWR|
O_LARGEFILE|0x8000)
fstat(6, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b6ee1031000
lseek(6, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
write(6, "SIOCSIFFLAGS: Operation not perm"..., 38SIOCSIFFLAGS:
Operation not permitted
) = 38
close(6)                                = 0
munmap(0x2b6ee1031000, 4096)            = 0
exit_group(0xffffffffffffffff, 0xffffffffffffffff, 0x3c7c4651a0, 0x1,
0x3c <unfinished ... exit status 255>

  - Matt






More information about the general mailing list