[ewg] ibv_rc_pingpon seg fault
amjad syed
amjadcsu at gmail.com
Mon Jun 20 23:17:07 PDT 2011
Hello,
I am newbie to ofed
I am trying to run ibv_rc_pingpong inside a centos 64 (5.6) image.
i have following installed on the image
rpm -q kernel-ib
kernel-ib-1.5.3.1-2.6.18_238.12.1.el5.9p
rpm -q libibverbs-utils
libibverbs-utils-1.1.4-1.22.g7257cd3
rpm -q libmlx4
libmlx4-1.0.1-1.18.gb810a27
cat /proc/version
Linux version 2.6.18-238.12.1.el5.9p
When i run ibv_rc_pingpong , i get following error in strace
strace ibv_rc_pingpong
execve("/usr/bin/ibv_rc_pingpong", ["ibv_rc_pingpong"], [/* 20 vars */]) = 0
brk(0) = 0x14d60000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2b60f65b4000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2b60f65b5000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/tls/x86_64/libibverbs.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat("/usr/lib64/tls/x86_64", 0x7fff01940100) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/tls/libibverbs.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat("/usr/lib64/tls", {st_mode=S_IFDIR|0755, st_size=40, ...}) = 0
open("/usr/lib64/x86_64/libibverbs.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat("/usr/lib64/x86_64", 0x7fff01940100) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/libibverbs.so.1", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2207\0\0\0\0\0\0"..., 832) =
832
fstat(3, {st_mode=S_IFREG|0755, st_size=56952, ...}) = 0
mmap(NULL, 2152400, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2b60f67b5000
mprotect(0x2b60f67c2000, 2097152, PROT_NONE) = 0
mmap(0x2b60f69c2000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x2b60f69c2000
close(3) = 0
open("/usr/lib64/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=13196, ...}) = 0
mmap(NULL, 13196, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b60f69c3000
close(3) = 0
open("/lib64/libpthread.so.0", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240W\0\0\0\0\0\0"..., 832) =
832
fstat(3, {st_mode=S_IFREG|0755, st_size=142696, ...}) = 0
mmap(NULL, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2b60f69c7000
mprotect(0x2b60f69dd000, 2093056, PROT_NONE) = 0
mmap(0x2b60f6bdc000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x2b60f6bdc000
mmap(0x2b60f6bde000, 13168, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b60f6bde000
close(3) = 0
open("/usr/lib64/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib64/libdl.so.2", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=20424, ...}) = 0
mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2b60f6be2000
mprotect(0x2b60f6be4000, 2097152, PROT_NONE) = 0
mmap(0x2b60f6de4000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2b60f6de4000
close(3) = 0
open("/usr/lib64/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib64/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\0\220\332\1\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1716720, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2b60f6de6000
mmap(NULL, 3502424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2b60f6de7000
mprotect(0x2b60f6f35000, 2097152, PROT_NONE) = 0
mmap(0x2b60f7135000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14e000) = 0x2b60f7135000
mmap(0x2b60f713a000, 16728, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b60f713a000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2b60f713f000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2b60f7140000
arch_prctl(ARCH_SET_FS, 0x2b60f713faf0) = 0
mprotect(0x2b60f7135000, 16384, PROT_READ) = 0
mprotect(0x2b60f6de4000, 4096, PROT_READ) = 0
mprotect(0x2b60f6bdc000, 4096, PROT_READ) = 0
mprotect(0x2b60f67b3000, 4096, PROT_READ) = 0
munmap(0x2b60f69c3000, 13196) = 0
set_tid_address(0x2b60f713fb80) = 4123
set_robust_list(0x2b60f713fb90, 0x18) = 0
futex(0x7fff01940c2c, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0x2b60f69cc380, [], SA_RESTORER|SA_SIGINFO,
0x2b60f69d5b10}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x2b60f69cc2b0, [],
SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2b60f69d5b10}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
getuid() = 0
geteuid() = 0
brk(0) = 0x14d60000
brk(0x14d81000) = 0x14d81000
open("/sys/class/infiniband_verbs/abi_version", O_RDONLY) = 3
read(3, "6\n", 8) = 2
close(3) = 0
geteuid() = 0
open("/etc/libibverbs.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
getdents(3, /* 3 entries */, 32768) = 80
stat("/etc/libibverbs.d/.", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
stat("/etc/libibverbs.d/..", {st_mode=S_IFDIR|0755, st_size=2200, ...}) = 0
stat("/etc/libibverbs.d/mlx4.driver", {st_mode=S_IFREG|0644, st_size=12,
...}) = 0
open("/etc/libibverbs.d/mlx4.driver", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=12, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2b60f69c3000
read(4, "driver mlx4\n", 4096) = 12
read(4, "", 4096) = 0
close(4) = 0
munmap(0x2b60f69c3000, 4096) = 0
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
open("/sys/class/infiniband_verbs", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
getdents(3, /* 5 entries */, 32768) = 144
stat("/sys/class/infiniband_verbs/uverbs1", {st_mode=S_IFDIR|0755,
st_size=0, ...}) = 0
open("/sys/class/infiniband_verbs/uverbs1/ibdev", O_RDONLY) = 4
read(4, "mlx4_1\n", 64) = 7
close(4) = 0
open("/sys/class/infiniband_verbs/uverbs1/abi_version", O_RDONLY) = 4
read(4, "3\n", 8) = 2
close(4) = 0
stat("/sys/class/infiniband_verbs/uverbs0", {st_mode=S_IFDIR|0755,
st_size=0, ...}) = 0
open("/sys/class/infiniband_verbs/uverbs0/ibdev", O_RDONLY) = 4
read(4, "mlx4_0\n", 64) = 7
close(4) = 0
open("/sys/class/infiniband_verbs/uverbs0/abi_version", O_RDONLY) = 4
read(4, "3\n", 8) = 2
close(4) = 0
stat("/sys/class/infiniband_verbs/abi_version", {st_mode=S_IFREG|0444,
st_size=4096, ...}) = 0
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
futex(0x2b60f6de50ec, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getuid() = 0
geteuid() = 0
open("/usr/lib64/tls/libmlx4-rdmav2.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib64/libmlx4-rdmav2.so", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\24\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=24336, ...}) = 0
mmap(NULL, 2119592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2b60f7141000
mprotect(0x2b60f7147000, 2093056, PROT_NONE) = 0
mmap(0x2b60f7346000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x2b60f7346000
close(3) = 0
open("/sys/class/infiniband_verbs/uverbs0/device/vendor", O_RDONLY) = 3
read(3, "0x15b3\n", 8) = 7
close(3) = 0
open("/sys/class/infiniband_verbs/uverbs0/device/device", O_RDONLY) = 3
read(3, "0x673c\n", 8) = 7
close(3) = 0
open("/sys/class/infiniband/mlx4_0/node_type", O_RDONLY) = 3
read(3, "1: CA\n", 8) = 6
close(3) = 0
open("/sys/class/infiniband_verbs/uverbs1/device/vendor", O_RDONLY) = 3
read(3, "0x15b3\n", 8) = 7
close(3) = 0
open("/sys/class/infiniband_verbs/uverbs1/device/device", O_RDONLY) = 3
read(3, "0x673c\n", 8) = 7
close(3) = 0
open("/sys/class/infiniband/mlx4_1/node_type", O_RDONLY) = 3
read(3, "1: CA\n", 8) = 6
close(3) = 0
open("/dev/infiniband/uverbs0", O_RDWR) = 3
write(3, "\0\0\0\0\4\0\4\0p\10\224\1\377\177\0\0", 16) = 16
mmap(NULL, 4096, PROT_WRITE, MAP_SHARED, 3, 0) = 0x2b60f7347000
mmap(NULL, 4096, PROT_WRITE, MAP_SHARED, 3, 0x1000) = 0x2b60f7348000
write(3, "\3\0\0\0\4\0\3\0\240\10\224\1\377\177\0\0", 16) = 16
write(3,
"\t\0\0\0\f\0\3\0p\10\224\1\377\177\0\0\0\20\326\24\0\0\0\0\0\20\0\0\0\0\0\0"...,
48) = 48
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2b60f7349000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2b60f734d000
write(3,
"\22\0\0\0\16\0\4\0P\10\224\1\377\177\0\0\260\f\326\24\0\0\0\0\377\1\0\0\0\0\0\0"...,
56) = 56
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2b60f734e000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2b60f7351000
write(3,
"\30\0\0\0\26\0\10\0\20\10\224\1\377\177\0\0\360\r\326\24\0\0\0\0\0\0\0\0\0\0\0\0"...,
88) = 88
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20110621/3db44a1b/attachment.html>
More information about the ewg
mailing list