Re: [Nbd] nbd client crashes
- To: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] nbd client crashes
- From: "Phillip Needham" <phillip@...54...>
- Date: Sat, 28 May 2005 02:13:03 -0400 (EDT)
- Message-id: <1884.68.250.185.95.1117260783.squirrel@...56...>
- In-reply-to: <4431.68.250.185.95.1117259705.squirrel@...56...>
- References: <46670.155.70.141.45.1117228888.squirrel@...55...> <Pine.LNX.4.60.0505271632200.6604@...53...> <4431.68.250.185.95.1117259705.squirrel@...56...>
strace of the child (client) process:
open("/dev/nd0", O_RDWR|O_LARGEFILE) = 3
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(9999),
sin_addr=inet_addr("10.10.10.2")}, 16) = 0
setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = 0
read(4, "NBDMAGIC", 8) = 8
read(4, "\0\0B\2\201\206\22S", 8) = 8
read(4, "\0\0\0\0\6\32\200\0", 8) = 8
read(4, "\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"..., 128)
= 128
ioctl(3, NBD_SET_BLKSIZE, 0x400) = 0
ioctl(3, NBD_SET_SIZE_BLOCKS, 0x186a0) = 0
ioctl(3, NBD_CLEAR_SOCK, 0x186a0) = -1 EINVAL (Invalid argument)
close(4) = 0
close(3) = 0
write(2, "Error: ioctl(nbd_fd, NBD_CLEAR_S"..., 72Error: ioctl(nbd_fd,
NBD_CLEAR_SOCK) failed, aborting: Invalid argument
) = 72
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({30, 0},
Reply to: