On Sun, 2009-10-11 at 15:13 -0400, C Linus Hicks wrote: > There's no VIF on loopback. The machine running iet has two NICs, the > private interconnect should not be playing a role. It's IP address is > 10.200.2.2/24 while the local subnet is 10.200.1.0/24 and the iet > machine is IP address 10.200.1.6. >From running strace on the iscsid daemon, it appears to be taking what looks to me like an unexpected error. In the text below, look for the first series of "poll" system calls. Just after that section is where I initiate the iscsiadm login command. Then about 100 lines later on, it issues a connect call that returns "-1 EINPROGRESS (Operation now in progress)". Then it goes back to polling, this time on two sockets including the one it just tried to connect on. In a little while it probably reaches the retry limit and closes that socket. It makes another connect attempt that fails with the same error. There are a total of five connect attempts, but I have cut out some of the repeated text. strace output: ---------------------------------------------------------------------- execve("/sbin/iscsid", ["iscsid", "-f", "-c", "/etc/iscsi/iscsid.conf"], [/* 29 vars */]) = 0 brk(0) = 0x28de000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dc000 uname({sys="Linux", node="lh6.linush.net", ...}) = 0 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=161740, ...}) = 0 mmap(NULL, 161740, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ac7443dd000 close(3) = 0 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\0p\332\341_2\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1713096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac744405000 mmap(0x325fe00000, 3494168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x325fe00000 mprotect(0x325ff4c000, 2097152, PROT_NONE) = 0 mmap(0x326014c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14c000) = 0x326014c000 mmap(0x3260151000, 16664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3260151000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac744406000 arch_prctl(ARCH_SET_FS, 0x2ac744406250) = 0 mprotect(0x326014c000, 16384, PROT_READ) = 0 mprotect(0x325f01b000, 4096, PROT_READ) = 0 munmap(0x2ac7443dd000, 161740) = 0 rt_sigaction(SIGINT, {0x41ec00, [], SA_RESTORER, 0x325fe30280}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGPIPE, {0x41ec00, [], SA_RESTORER, 0x325fe30280}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0x41ec00, [], SA_RESTORER, 0x325fe30280}, {SIG_DFL, [], 0}, 8) = 0 brk(0) = 0x28de000 brk(0x28ff000) = 0x28ff000 open("/sys/module/scsi_transport_iscsi/version", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(3, "2.0-871\n", 4096) = 8 close(3) = 0 munmap(0x2ac7443dd000, 4096) = 0 write(2, "iscsid: ", 8iscsid: ) = 8 write(2, "transport class version 2.0-871."..., 55transport class version 2.0-871. iscsid version 2.0-868) = 55 write(2, "\n", 1 ) = 1 umask(0177) = 022 socket(PF_FILE, SOCK_STREAM, 0) = 3 bind(3, {sa_family=AF_FILE, path=@"ISCSIADM_ABSTRACT_NAMESPACE"}, 110) = 0 listen(3, 32) = 0 socket(PF_NETLINK, SOCK_RAW, 8) = 4 getpid() = 28308 bind(4, {sa_family=AF_NETLINK, pid=28308, groups=00000001}, 12) = 0 open("/etc/iscsi/initiatorname.iscsi", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(5, "InitiatorName=iqn.2009-10.net.li"..., 4096) = 50 read(5, "", 4096) = 0 close(5) = 0 munmap(0x2ac7443dd000, 4096) = 0 open("/etc/iscsi/initiatorname.iscsi", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(5, "InitiatorName=iqn.2009-10.net.li"..., 4096) = 50 read(5, "", 4096) = 0 close(5) = 0 munmap(0x2ac7443dd000, 4096) = 0 uname({sys="Linux", node="lh6.linush.net", ...}) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2ac7444062e0) = 28309 getpriority(PRIO_PROCESS, 0) = 20 setpriority(PRIO_PROCESS, 0, 4294967286) = 0 getpriority(PRIO_PROCESS, 0) = 30 open("/proc/28308/oom_adj", O_WRONLY) = 5 write(5, "-16", 3) = 3 write(5, "-17", 3) = 3 close(5) = 0 mlockall(MCL_CURRENT|MCL_FUTURE) = 0 getrlimit(RLIMIT_NOFILE, {rlim_cur=4*1024, rlim_max=64*1024}) = 0 setrlimit(RLIMIT_NOFILE, {rlim_cur=16*1024, rlim_max=64*1024}) = 0 open("/etc/iscsi/iscsid.conf", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0600, st_size=7338, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(5, "#\n# Open-iSCSI default configura"..., 4096) = 4096 read(5, "that is also\n# a power of 2. The"..., 4096) = 3242 read(5, "", 4096) = 0 close(5) = 0 munmap(0x2ac7443dd000, 4096) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = -1 EINTR (Interrupted system call) --- SIGCHLD (Child exited) @ 0 (0) --- wait4(0, NULL, WNOHANG, NULL) = 28309 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 1 ([{fd=3, revents=POLLIN}]) accept(3, 0, NULL) = 5 getsockopt(5, SOL_SOCKET, SO_PEERCRED, "\227n\0\0\0\0\0\0\0\0\0\0", [12]) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 6 fcntl(6, F_GETFL) = 0x2 (flags O_RDWR) fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(6, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(6) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 6 fcntl(6, F_GETFL) = 0x2 (flags O_RDWR) fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(6, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(6) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(6, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1696 read(6, "", 4096) = 0 close(6) = 0 munmap(0x2ac7443dd000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0644, st_size=161740, ...}) = 0 mmap(NULL, 161740, PROT_READ, MAP_PRIVATE, 6, 0) = 0x2ac7443dd000 close(6) = 0 open("/lib64/libnss_files.so.2", O_RDONLY) = 6 read(6, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\37\0\0\0\0\0\0"..., 832) = 832 fstat(6, {st_mode=S_IFREG|0755, st_size=53880, ...}) = 0 mmap(NULL, 2139432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x2ac744407000 mprotect(0x2ac744411000, 2093056, PROT_NONE) = 0 mmap(0x2ac744610000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x9000) = 0x2ac744610000 close(6) = 0 mprotect(0x2ac744610000, 4096, PROT_READ) = 0 munmap(0x2ac7443dd000, 161740) = 0 open("/etc/passwd", O_RDONLY) = 6 fcntl(6, F_GETFD) = 0 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=1963, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(6, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1963 close(6) = 0 munmap(0x2ac7443dd000, 4096) = 0 read(5, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\375g\10\377\177\0\0\20\375g\10\377\177\0\0"..., 5272) = 5272 open("/sys/class/iscsi_session", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 6 fstat(6, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 getdents(6, /* 2 entries */, 4096) = 48 getdents(6, /* 0 entries */, 4096) = 0 close(6) = 0 open("/sys/class/iscsi_transport", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 6 fstat(6, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 getdents(6, /* 4 entries */, 4096) = 96 getdents(6, /* 0 entries */, 4096) = 0 close(6) = 0 open("/sys/class/iscsi_transport/iser/handle", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(6, "18446744071717264032\n", 4096) = 21 close(6) = 0 munmap(0x2ac7443dd000, 4096) = 0 open("/sys/class/iscsi_transport/iser/caps", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(6, "0x9\n", 4096) = 4 close(6) = 0 munmap(0x2ac7443dd000, 4096) = 0 open("/sys/class/iscsi_transport/tcp/handle", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(6, "18446744071712301184\n", 4096) = 21 close(6) = 0 munmap(0x2ac7443dd000, 4096) = 0 open("/sys/class/iscsi_transport/tcp/caps", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(6, "0x39\n", 4096) = 5 close(6) = 0 munmap(0x2ac7443dd000, 4096) = 0 brk(0x2920000) = 0x2920000 brk(0x2942000) = 0x2942000 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 6 socket(PF_NETLINK, SOCK_RAW, 0) = 7 bind(7, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(7, {sa_family=AF_NETLINK, pid=28308, groups=00000000}, [137438953484]) = 0 sendto(7, "\24\0\0\0\22\0\1\3\365\201\321J\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\370\0\0\0\20\0\2\0\365\201\321J\224n\0\0\0\0\4\3\1\0\0\0I\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 1004 recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\365\201\321J\224n\0\0\0\0\0\0\1\0\0\0I\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 sendto(7, "\24\0\0\0\26\0\1\3\366\201\321J\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"<\0\0\0\24\0\2\0\366\201\321J\224n\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 196 recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\366\201\321J\224n\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\366\201\321J\224n\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(7) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7 ioctl(7, SIOCGIFHWADDR, {ifr_name="lo", ifr_hwaddr=00:00:00:00:00:00}) = 0 ioctl(7, SIOCGIFHWADDR, {ifr_name="eth2", ifr_hwaddr=00:1d:92:b4:50:6e}) = 0 close(7) = 0 setsockopt(6, SOL_SOCKET, SO_BINDTODEVICE, "eth2\0", 5) = 0 setsockopt(6, SOL_TCP, TCP_NODELAY, [1], 4) = 0 setsockopt(6, SOL_SOCKET, SO_RCVBUF, [524288], 4) = 0 getsockopt(6, SOL_SOCKET, SO_RCVBUF, [4296015872], [4]) = 0 setsockopt(6, SOL_SOCKET, SO_SNDBUF, [524288], 4) = 0 getsockopt(6, SOL_SOCKET, SO_SNDBUF, [4296015872], [4]) = 0 fcntl(6, F_GETFL) = 0x2 (flags O_RDWR) fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(6, {sa_family=AF_INET, sin_port=htons(3260), sin_addr=inet_addr("10.200.1.6")}, 128) = -1 EINPROGRESS (Operation now in progress) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) close(6) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 6 socket(PF_NETLINK, SOCK_RAW, 0) = 7 bind(7, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(7, {sa_family=AF_NETLINK, pid=28308, groups=00000000}, [184268356289822732]) = 0 sendto(7, "\24\0\0\0\22\0\1\3\5\202\321J\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\370\0\0\0\20\0\2\0\5\202\321J\224n\0\0\0\0\4\3\1\0\0\0I\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 1004 recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\5\202\321J\224n\0\0\0\0\0\0\1\0\0\0I\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 sendto(7, "\24\0\0\0\26\0\1\3\6\202\321J\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"<\0\0\0\24\0\2\0\6\202\321J\224n\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 196 recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\6\202\321J\224n\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\6\202\321J\224n\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(7) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7 ioctl(7, SIOCGIFHWADDR, {ifr_name="lo", ifr_hwaddr=00:00:00:00:00:00}) = 0 ioctl(7, SIOCGIFHWADDR, {ifr_name="eth2", ifr_hwaddr=00:1d:92:b4:50:6e}) = 0 close(7) = 0 setsockopt(6, SOL_SOCKET, SO_BINDTODEVICE, "eth2\0", 5) = 0 setsockopt(6, SOL_TCP, TCP_NODELAY, [1], 4) = 0 setsockopt(6, SOL_SOCKET, SO_RCVBUF, [524288], 4) = 0 getsockopt(6, SOL_SOCKET, SO_RCVBUF, [4296015872], [4]) = 0 setsockopt(6, SOL_SOCKET, SO_SNDBUF, [524288], 4) = 0 getsockopt(6, SOL_SOCKET, SO_SNDBUF, [4296015872], [4]) = 0 fcntl(6, F_GETFL) = 0x2 (flags O_RDWR) fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(6, {sa_family=AF_INET, sin_port=htons(3260), sin_addr=inet_addr("10.200.1.6")}, 128) = -1 EINPROGRESS (Operation now in progress) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) ------------- Cut repeated stuff ---------------- poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=6, events=POLLOUT}], 1, 1) = 0 (Timeout) close(6) = 0 write(5, "\1\0\0\0\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2464) = 2464 close(5) = 0 close(5) = -1 EBADF (Bad file descriptor) brk(0x290f000) = 0x290f000 brk(0x2908000) = 0x2908000 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}], 3, 250) = 1 ([{fd=3, revents=POLLIN}]) accept(3, 0, NULL) = 5 getsockopt(5, SOL_SOCKET, SO_PEERCRED, "\255n\0\0\0\0\0\0\0\0\0\0", [12]) = 0 open("/etc/passwd", O_RDONLY) = 6 fcntl(6, F_GETFD) = 0 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=1963, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac7443dd000 read(6, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1963 close(6) = 0 munmap(0x2ac7443dd000, 4096) = 0 read(5, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 5272) = 5272 write(5, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2464) = 2464 close(5) = 0 close(5) = -1 EBADF (Bad file descriptor) write(2, "iscsid: ", 8iscsid: ) = 8 write(2, "iscsid shutting down.", 21iscsid shutting down.) = 21 write(2, "\n", 1 ) = 1 close(4) = 0 close(3) = 0 exit_group(0) = ?