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