Re: Oops under 2.0.33

Manfred Petz (pm@radawana.cg.tuwien.ac.at)
Fri, 3 Apr 1998 10:31:28 +0200 (CEST)


> Mar 27 06:23:47 entropy kernel: general protection: 0000
> Mar 27 06:23:47 entropy kernel: CPU: 0
> Mar 27 06:23:47 entropy kernel: EIP: 0010:[tcp_close+210/620]
> Mar 27 06:23:47 entropy kernel: EFLAGS: 00010217
> Mar 27 06:23:47 entropy kernel: eax: f000e987 ebx: 00000000 ecx: 0745703c edx: f000f84d
> Mar 27 06:23:47 entropy kernel: esi: 074570d8 edi: 1006dced ebp: 07457018 esp: 0380aeec
> Mar 27 06:23:47 entropy kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
> Mar 27 06:23:47 entropy kernel: Process httpd (pid: 5698, process nr: 67, stackpage=0380a000)
> Mar 27 06:23:47 entropy kernel: Stack: 07457018 0380af7c 00000000 00000000 00000000 0745703c 00000196 04c60c0c
> Mar 27 06:23:47 entropy kernel: 01bc2448 0007d3a4 0015bc96 07457018 0380af78 00000e6a 00000000 00000000
> Mar 27 06:23:47 entropy kernel: 0380af7c 00001000 01bc2400 0807e06c 01bc2490 00140a97 01bc2490 0380af78
> Mar 27 06:23:47 entropy kernel: Call Trace: [inet_ioctl+806/928] [sock_lseek+3/8] [sys_write+248/448] [system_call+114/320]
> Mar 27 06:23:47 entropy kernel: Code: 8a 50 0d f6 c2 02 74 01 4f 8b 43 30 39 c7 0f 82 ba 00 00 00

That seems to be exactly what I can easily reproduce on at least two
of my servers (which run rock-solid if I don't do this). It's always
a NULL-ptr access of an skbuf member.

I've written a quick'n'dirty let-it-crash script available at
ftp://ftp.innonet.at/pub/crash.tar.gz. If I start it multiple times
on server A I can bring down server B within hours. It's _always_
httpd which causes the crash. First I get an oops and minutes later
the system locks completely. That's true for 2.0.3[23], I didn't
check 2.0.31.

Start it on host A with ./doit <host B> & and run it multiple times.

My experience shows that there must be at least medium swapping on the
destination machine. On host B send a HUP to inetd every couple of seconds
to make sure that it doesn't disable ftp.

Maybe some people can check this out?

My httpd version is apache 1.2.4; HW is AMD P5 (HP-Vectra), 3c509, IDE.

pm

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu