[openib-general] Processes not exiting on SVN7946
Arlin Davis
ardavis at ichips.intel.com
Thu Jun 15 14:57:53 PDT 2006
Roland Dreier wrote:
> Roland> Hmm, any further clue where in ibv_destroy_cq() it's
> Roland> stuck? Is it doing down_write() or something?
>
>Can you send me full sysrq-t output when it gets stuck?
>
>Thanks...
>
>
>
I just added ibv_destroy_cq() to ibv_rc_pingpong test.
Here's the output....
open("/sys/class/infiniband_verbs/abi_version", O_RDONLY) = 3
read(3, "6\n", 8) = 2
close(3) = 0
open("/sys/class/infiniband_verbs", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 4 entries */, 4096) = 112
open("/sys/class/infiniband_verbs/uverbs0/abi_version", O_RDONLY) = 4
read(4, "1\n", 8) = 2
close(4) = 0
open("/sys/class/infiniband_verbs/uverbs0/ibdev", O_RDONLY) = 4
read(4, "mthca0\n", 64) = 7
close(4) = 0
open("/sys/class/infiniband_verbs/uverbs0/device/vendor", O_RDONLY) = 4
read(4, "0x15b3\n", 8) = 7
close(4) = 0
open("/sys/class/infiniband_verbs/uverbs0/device/device", O_RDONLY) = 4
read(4, "0x6278\n", 8) = 7
close(4) = 0
getdents64(3, /* 0 entries */, 4096) = 0
close(3) = 0
open("/dev/infiniband/uverbs0", O_RDWR) = 3
write(3, "\0\0\0\0\4\0\4\0\300\227\221\377\377\177\0\0", 16) = 16
mmap(NULL, 4096, PROT_WRITE, MAP_SHARED, 3, 0) = 0x2b318fa6f000
write(3, "\3\0\0\0\4\0\3\0\200\227\221\377\377\177\0\0", 16) = 16
write(3, "\3\0\0\0\4\0\3\0\320\227\221\377\377\177\0\0", 16) = 16
write(3, "\t\0\0\0\f\0\3\0`\227\221\377\377\177\0\0\0pP\0\0\0\0\0"...,
48) = 48
write(3, "\t\0\0\0\f\0\3\0\240\226\221\377\377\177\0\0\0\240P\0\0"...,
48) = 48
write(3, "\22\0\0\0\22\0\4\0p\227\221\377\377\177\0\0\320nP\0\0\0"...,
72) = 72
write(3, "\t\0\0\0\f\0\3\0\240\226\221\377\377\177\0\0\0\360P\0\0"...,
48) = 48
write(3, "\30\0\0\0\30\0\10\0`\227\221\377\377\177\0\0p\221P\0\0"...,
96) = 96
write(3, "\32\0\0\0\36\0\0\0\250Y\1a9\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
120) = 120
write(3, "\2\0\0\0\6\0\n\0`\227\221\377\377\177\0\0\1lQ\0\0\0\0\0"...,
24) = 24
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 7), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b318fa70000
write(1, " local address: LID 0x0004, QP"..., 57 local address: LID
0x0004, QPN 0x040407, PSN 0xce99bd
) = 57
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5
connect(5, {sa_family=AF_INET6, sin6_port=htons(18515),
inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0,
sin6_scope_id=0}, 28) = 0
getsockname(5, {sa_family=AF_INET6, sin6_port=htons(32770),
inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0,
sin6_scope_id=0}, [22635233564164124]) = 0
close(5) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
connect(5, {sa_family=AF_INET, sin_port=htons(18515),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(32770),
sin_addr=inet_addr("127.0.0.1")}, [22635233564164112]) = 0
close(5) = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 5
setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [22635233564164097], 4) = 0
bind(5, {sa_family=AF_INET6, sin6_port=htons(18515), inet_pton(AF_INET6,
"::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
listen(5, 1) = 0
accept(5, 0, NULL) = 6
close(5) = 0
read(6, "0005:040407:abb228\0", 19) = 19
write(3, "\32\0\0\0\36\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
120) = 120
write(3, "\32\0\0\0\36\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
120) = 120
write(6, "0004:040407:ce99bd\0", 19) = 19
read(6, "done\0", 19) = 5
close(6) = 0
write(1, " remote address: LID 0x0005, QP"..., 57 remote address: LID
0x0005, QPN 0x040407, PSN 0xabb228
) = 57
write(1, " calling destroy_cq\n", 20 calling destroy_cq
) = 20
write(3, "\24\0\0\0\6\0\2\0\250\227\221\377\377\177\0\0\7\0\0\0\0"..., 24
More information about the general
mailing list