INN 2.2.1 nnrpd fails in 2.3.17

Graham Murray (graham@barnowl.demon.co.uk)
08 Sep 1999 20:14:29 +0000


After upgrading to kernel 2.3.17 on an Intel pentium, and am seeing a
problem with connecting to the INN server (on the same computer.) Both
gnus and telnetting fail.

I can telnet to localhost port 119, but when I issue the "mode reader"
command, innd vforks nnrp which then fails (with no entries in any log
I can find.) Booting back into 2.3.16, everything works fine again. I
have tried rebuilding 2.3.17 with the same results.

Unfortunately, I don't know how to get diagnostics for the failing
process. I have tried strace, but this does not seem to trace past
the vfork into the child process.

Here the strace outputs (in case I have missed something)

1) Running 2.3.16 (which works)
gettimeofday({936813058, 720709}, NULL) = 0
gettimeofday({936813058, 720966}, NULL) = 0
gettimeofday({936813058, 721223}, NULL) = 0
read(19, "mode reader\r\n", 4095) = 13
setsockopt(19, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
fcntl(19, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(19, F_SETFL, O_RDWR) = 0
vfork() = 1612
time([936813058]) = 936813058
rt_sigaction(SIGPIPE, {0x401439a0, [], 0x4000000}, {0x806f874, [], SA_RESTART|0x4000000}, 8) = 0
send(3, "<60>Sep 8 17:50:58 innd: barnow"..., 86, 0) = 86
rt_sigaction(SIGPIPE, {0x806f874, [], SA_RESTART|0x4000000}, NULL, 8) = 0
close(19) = 0
gettimeofday({936813058, 790911}, NULL) = 0
select(14, [4 11 13], [], NULL, {300, 0}) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 1612

2) Running 2.3.17 (which fails)
gettimeofday({936813455, 329220}, NULL) = 0
gettimeofday({936813455, 329474}, NULL) = 0
gettimeofday({936813455, 329727}, NULL) = 0
read(19, "mode reader\r\n", 4095) = 13
setsockopt(19, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
fcntl(19, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(19, F_SETFL, O_RDWR) = 0
vfork() = 307
--- SIGCHLD (Child exited) ---
wait4(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV], WNOHANG, NULL) = 307
wait4(-1, 0xbffff4e0, WNOHANG, NULL) = 0
rt_sigaction(SIGCHLD, {0x806f874, [], SA_RESTART|0x4000000}, {0x806f874, [], SA_RESTART|0x4000000}, 8) = 0
sigreturn() = ? (mask now [])
time([936813455]) = 936813455
rt_sigaction(SIGPIPE, {0x401439a0, [], 0x4000000}, {0x806f874, [], SA_RESTART|0x4000000}, 8) = 0
send(3, "<60>Sep 8 17:57:35 innd: barnow"..., 86, 0) = 86
rt_sigaction(SIGPIPE, {0x806f874, [], SA_RESTART|0x4000000}, NULL, 8) = 0
close(19) = 0
gettimeofday({936813455, 406310}, NULL) = 0
select(14, [4 11 13], [], NULL, {300, 0} <unfinished ...>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/