GPF: in tcp_recvmsg, kernel 2.0.34pre3

Daniel Ryde (ryde@tripnet.se)
Fri, 27 Mar 1998 10:52:49 +0100 (CET)


Got this in the logs on a webserver that handles several virtual domains,
it did not freeze the machine:

general protection: 0000
CPU: 0
EIP: 0010:[<001443f8>]
EFLAGS: 00010207
eax: f000e987 ebx: 00000000 ecx: 01803c30 edx: f000f84d
esi: 01803ccc edi: 000001a0 ebp: 01803c0c esp: 01eb6ee8
ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Process apache (pid: 29193, process nr: 32, stackpage=01eb6000)
Stack: 01803c0c 01eb6f7c 00000000 00000000 2964d0b2 01803c30 00000000 000001a0
0231f810 03274e48 1965c75f 0014f0c2 01803c0c 01eb6f78 00000e60 00000000
00000000 01eb6f7c 00001000 03274e00 08074b6c 03274e90 001351d3 03274e90
Call Trace: [<0014f0c2>] [<001351d3>] [<001225c0>] [<0010a655>]
Code: 8a 40 0d a8 02 74 04 ff 4c 24 10 8b 7c 24 10 39 7b 30 0f 87

>>EIP: 1443f8 <tcp_recvmsg+170/40c>
Trace: 14f0c2 <inet_recvmsg+72/88>
Trace: 1351d3 <sock_read+ab/c0>
Trace: 1225c0 <sys_read+c0/e8>
Trace: 10a655 <system_call+55/80>

Code: 1443f8 <tcp_recvmsg+170/40c>
Code: 1443f8 <tcp_recvmsg+170/40c> 8a 40 0d movb 0xd(%eax),%al
Code: 1443fb <tcp_recvmsg+173/40c> a8 02 testb $0x2,%al
Code: 1443fd <tcp_recvmsg+175/40c> 74 04 je 144403 <tcp_recvmsg+17b/40c>
Code: 1443ff <tcp_recvmsg+177/40c> ff 4c 24 10 decl 0x10(%esp,1)
Code: 144409 <tcp_recvmsg+181/40c> 8b 7c 24 10 movl 0x10(%esp,1),%edi
Code: 14440d <tcp_recvmsg+185/40c> 39 7b 30 cmpl %edi,0x30(%ebx)
Code: 144410 <tcp_recvmsg+188/40c> 0f 87 00 90 90 ja 90909018 <_EIP+90909018>
Code: 14441b <tcp_recvmsg+193/40c> 90

.config:
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
CONFIG_M586=y
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_TRITON=y
CONFIG_NET_ALIAS=y
CONFIG_INET=y
CONFIG_IP_FORWARD=y
CONFIG_SYN_COOKIES=y
CONFIG_IP_ALIAS=y
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
CONFIG_PPP=y
CONFIG_SLIP=y
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_SMART=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_ISA=y
CONFIG_NE2000=y
CONFIG_EXT2_FS=y
CONFIG_NLS=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_ISO8859_1=y
CONFIG_PROC_FS=y
CONFIG_SERIAL=y

Bootmessages:
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000f99d0
pcibios_init : BIOS32 Service Directory entry at 0xf0530
pcibios_init : PCI BIOS revision 2.10 entry at 0xf0560
Probing PCI hardware.
Warning : Unknown PCI device (1002:4755). Please read include/linux/pci.h
Calibrating delay loop.. ok - 333.41 BogoMIPS
Memory: 63428k/65536k available (572k kernel code, 384k reserved, 1152k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Intel Pentium with F0 0F bug - workaround enabled.
alias mapping IDT readonly ... ... done
Linux version 2.0.33 (ryde@hobbe) (gcc version 2.7.2.1) #6 Tue Mar 10
18:27:28 CET 1998
Starting kswapd v 1.4.2.2
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
ide: i82371 PIIX (Triton) on PCI bus 0 function 9
ide0: BM-DMA at 0xe000-0xe007
ide1: BM-DMA at 0xe008-0xe00f
hda: QUANTUM FIREBALL ST3.2A, 3079MB w/81kB Cache, CHS=6256/16/63
hdc: QUANTUM FIREBALL ST3.2A, 3079MB w/81kB Cache, CHS=6256/16/63
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
NE*000 ethercard probe at 0x300: 00 80 ad c8 a4 2d
eth0: NE2000 found at 0x300, using IRQ 10.
Partition check:
hda: hda1 hda2
hdc: unknown partition table
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 32220k swap-space (priority -1)

Best Regards

Daniel Ryde, System Administrator
__________________________________________________________________________
Tripnet AB Visit Address: Telephone: +46 31 7252500
Box 5071 Avagen 42 Facsimile: +46 31 7252501
S-402 22 GOTEBORG GOTEBORG Email: ryde@tripnet.se
Sweden Sweden

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