Problem with 2.0.33

Mike Leddy (mike@ultranet.com.br)
Wed, 24 Dec 1997 18:31:30 -0300


A general protection problem that occurred on our ISP server. Hope it helps
in improving an otherwise excellant OS.

The Server:

Pentium 200MHz
Asus P/I - P55T2P4
128Mb ECC Memory
Adaptech AHA2940UW
Quantum Fireball Model: FIREBALL_TM3200S Rev: 300X
2 x Cyclades Cyclom-Y each with 32 serial ports

The Kernel:

Pure 2.0.33
gcc version 2.7.2.1

CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KERNELD=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_SYSVIPC=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_IDECD=y
CONFIG_BLK_DEV_IDETAPE=y
CONFIG_BLK_DEV_IDE_PCMCIA=y
CONFIG_BLK_DEV_CMD640=y
CONFIG_BLK_DEV_RZ1000=y
CONFIG_BLK_DEV_TRITON=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_MD=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_FIREWALL=y
CONFIG_NET_ALIAS=y
CONFIG_INET=y
CONFIG_IP_FORWARD=y
CONFIG_SYN_COOKIES=y
CONFIG_RST_COOKIES=y
CONFIG_IP_FIREWALL=y
CONFIG_IP_FIREWALL_VERBOSE=y
CONFIG_IP_ALWAYS_DEFRAG=y
CONFIG_IP_ACCT=y
CONFIG_IP_ALIAS=y
CONFIG_IP_NOSR=y
CONFIG_NETLINK=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_TAGGED_QUEUEING=y
CONFIG_AIC7XXX_PROC_STATS=y
CONFIG_NETDEVICES=y
CONFIG_PPP=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_ISA=y
CONFIG_NE2000=y
CONFIG_QUOTA=y
CONFIG_MINIX_FS=y
CONFIG_EXT2_FS=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
CONFIG_SMB_FS=y
CONFIG_SMB_WIN95=y
CONFIG_ISO9660_FS=y
CONFIG_SERIAL=y
CONFIG_CYCLADES=y
CONFIG_WATCHDOG=y
CONFIG_SOFT_WATCHDOG=y
CONFIG_RTC=y

Services:

PPP, Http (apache), Mail, Ftp, Samba, NFS.

Remote syslog:

Dec 24 16:05:22 asa kernel: general protection: 0000
Dec 24 16:05:22 asa kernel: CPU: 0
Dec 24 16:05:22 asa kernel: EIP: 0010:[unix_find_socket+16/40]
Dec 24 16:05:22 asa kernel: EFLAGS: 00010006
Dec 24 16:05:22 asa kernel: eax: 493c3e22 ebx: 0000002b ecx: 0050e200 edx: 0050e200
Dec 24 16:05:22 asa kernel: esi: 042e2ee0 edi: 0639f018 ebp: 042e2ee0 esp: 042e2ea8
Dec 24 16:05:22 asa kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Dec 24 16:05:22 asa kernel: Process tcpd (pid: 20494, process nr: 116, stackpage=042e2000)
Dec 24 16:05:22 asa kernel: Stack: 0013d21e 0050e200 042e2f0c 017c0edc 0050e200 0013d55f 042e2f0e 042e2ee0
Dec 24 16:05:22 asa kernel: 07599800 07599890 40098af4 0000000a 07599800 0000000a 40098af4 00137ba4
Dec 24 16:05:22 asa kernel: 07599890 042e2f0c 0000000a 00000002 bffff124 00000002 40098aff bffffd08
Dec 24 16:05:22 asa kernel: Call Trace: [unix_find_other+78/124] [unix_connect+451/784] [sys_connect+260/292] [sk_alloc+16/48] [unix_create+0/400] [get_fd+22/124]
[unix_create+0/400]
Dec 24 16:05:22 asa kernel: [sys_socket+261/324] [unix_create+0/400] [sys_sigaction+176/308] [sys_socketcall+298/732] [system_call+85/128]
Dec 24 16:05:22 asa kernel: Code: 39 90 50 01 00 00 75 04 fb c3 89 f6 8b 40 64 85 c0 75 ed fb
Dec 24 16:05:22 asa kernel: general protection: 0000
Dec 24 16:05:22 asa kernel: CPU: 0
Dec 24 16:05:22 asa kernel: EIP: 0010:[unix_gc+92/612]
Dec 24 16:05:22 asa kernel: EFLAGS: 00010206
Dec 24 16:05:22 asa kernel: eax: 0880d000 ebx: 00000000 ecx: 00000011 edx: 493c3e22
Dec 24 16:05:22 asa kernel: esi: 0639f018 edi: 07599890 ebp: 00000001 esp: 042e2d88
Dec 24 16:05:22 asa kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Dec 24 16:05:22 asa kernel: Process tcpd (pid: 20494, process nr: 116, stackpage=042e2000)
Dec 24 16:05:22 asa kernel: Stack: 00000000 0639f018 07599890 00000001 0639f018 07599890 0013d1b6 0639f018
Dec 24 16:05:22 asa kernel: 07599800 00000000 07599890 00137138 07599890 00000000 07599800 07599800
Dec 24 16:05:22 asa kernel: 07599800 00000001 00137371 07599890 0557f4c8 00122c1c 07599800 0557f4c8
Dec 24 16:05:23 asa kernel: Call Trace: [unix_release+118/144] [sock_release+92/156] [sock_close+37/44] [__fput+28/64] [close_fp+76/92] [do_exit+292/508] [die_if_k
ernel+695/704]
Dec 24 16:05:23 asa kernel: [<09000000>] [<08800000>] [do_general_protection+40/84] [do_general_protection+0/84] [error_code+64/80] [unix_find_socket+16/40]
[unix_find_other+78/124] [unix_connect+451/784]
Dec 24 16:05:23 asa kernel: [sys_connect+260/292] [sk_alloc+16/48] [unix_create+0/400] [get_fd+22/124] [unix_create+0/400] [sys_socket+261/324] [unix_create
+0/400] [sys_sigaction+176/308]
Dec 24 16:05:23 asa kernel: [sys_socketcall+298/732] [system_call+85/128]
Dec 24 16:05:23 asa kernel: Code: 8b 82 f4 01 00 00 85 c0 74 4c 8b 40 2c 85 c0 74 45 0f b7 40
Dec 24 16:05:24 asa kernel: general protection: 0000
Dec 24 16:05:24 asa kernel: CPU: 0
Dec 24 16:05:24 asa kernel: EIP: 0010:[unix_find_socket+16/40]
Dec 24 16:05:24 asa kernel: EFLAGS: 00010006
Dec 24 16:05:24 asa kernel: eax: 493c3e22 ebx: 0000002b ecx: 0050e200 edx: 0050e200
Dec 24 16:05:24 asa kernel: esi: 07372ee0 edi: 014e6018 ebp: 07372ee0 esp: 07372ea8
Dec 24 16:05:24 asa kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Dec 24 16:05:24 asa kernel: Process pppd (pid: 20481, process nr: 64, stackpage=07372000)
Dec 24 16:05:25 asa kernel: Stack: 0013d21e 0050e200 07372f0c 078aa114 0050e200 0013d55f 07372f0e 07372ee0
Dec 24 16:05:25 asa kernel: 069ae100 069ae190 40098af4 0000000a 069ae100 0000000a 40098af4 00137ba4
Dec 24 16:05:25 asa kernel: 069ae190 07372f0c 0000000a 00000002 bffffdb8 00000002 40098aff bffffdf0
Dec 24 16:05:25 asa kernel: Call Trace: [unix_find_other+78/124] [unix_connect+451/784] [sys_connect+260/292] [sk_alloc+16/48] [unix_create+0/400] [get_fd+22/124]
[unix_create+0/400]
Dec 24 16:05:25 asa kernel: [sys_socket+261/324] [unix_create+0/400] [sys_socketcall+298/732] [system_call+85/128]
Dec 24 16:05:25 asa kernel: Code: 39 90 50 01 00 00 75 04 fb c3 89 f6 8b 40 64 85 c0 75 ed fb
Dec 24 16:05:26 asa kernel: general protection: 0000
Dec 24 16:05:26 asa kernel: CPU: 0
Dec 24 16:05:26 asa kernel: EIP: 0010:[unix_find_socket+16/40]
Dec 24 16:05:26 asa kernel: EFLAGS: 00010006
Dec 24 16:05:26 asa kernel: eax: 493c3e22 ebx: 0000002b ecx: 0050e200 edx: 0050e200
Dec 24 16:05:26 asa kernel: esi: 0201eee0 edi: 03a9d414 ebp: 0201eee0 esp: 0201eea8
Dec 24 16:05:26 asa kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Dec 24 16:05:26 asa kernel: Process tcpd (pid: 20503, process nr: 109, stackpage=0201e000)
Dec 24 16:05:26 asa kernel: Stack: 0013d21e 0050e200 0201ef0c 017c08f4 0050e200 0013d55f 0201ef0e 0201eee0
Dec 24 16:05:26 asa kernel: 066e7c00 066e7c90 40098af4 0000000a 066e7c00 0000000a 40098af4 00137ba4
Dec 24 16:05:26 asa kernel: 066e7c90 0201ef0c 0000000a 00000002 bffff124 00000002 40098aff bffffd08
Dec 24 16:05:27 asa kernel: Call Trace: [unix_find_other+78/124] [unix_connect+451/784] [sys_connect+260/292] [sk_alloc+16/48] [unix_create+0/400] [get_fd+22/124]
[unix_create+0/400]
Dec 24 16:05:27 asa kernel: [sys_socket+261/324] [unix_create+0/400] [sys_sigaction+176/308] [sys_socketcall+298/732] [system_call+85/128]
Dec 24 16:05:27 asa kernel: Code: 39 90 50 01 00 00 75 04 fb c3 89 f6 8b 40 64 85 c0 75 ed fb
Dec 24 16:05:27 asa kernel: Unable to handle kernel paging request at virtual address ef3c3e44
Dec 24 16:05:27 asa kernel: current->tss.cr3 = 07d62000, Lr3 = 07d62000
Dec 24 16:05:27 asa kernel: *pde = 00000000
Dec 24 16:05:27 asa kernel: Oops: 0000
Dec 24 16:05:27 asa kernel: CPU: 0
Dec 24 16:05:27 asa kernel: EIP: 0010:[interruptible_sleep_on+61/124]
Dec 24 16:05:27 asa kernel: EFLAGS: 00010087
Dec 24 16:05:27 asa kernel: eax: 00b82810 ebx: 00000000 ecx: 2f3c3e44 edx: 20373d4e
Dec 24 16:05:27 asa kernel: esi: 00000087 edi: 02ea2f04 ebp: 02ea2eac esp: 02ea2e98
Dec 24 16:05:27 asa kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Dec 24 16:05:27 asa kernel: Process pppd (pid: 20112, process nr: 39, stackpage=02ea2000)
Dec 24 16:05:27 asa kernel: Stack: 00000000 07655414 02ea2f04 00b82810 00000000 4f432037 00139446 2f3c3e44
Dec 24 16:05:27 asa kernel: 00000000 05a6d800 0000003c 02ea2f28 0013ddb1 07655414 0000003c 00000000
Dec 24 16:05:27 asa kernel: 00000000 02ea2f04 0000003c 05a6d800 05a6d890 0013961b 01cc2c0c 00000000
Dec 24 16:05:27 asa kernel: Call Trace: [sock_alloc_send_skb+258/308] [unix_sendmsg+477/988] [kfree_skb+183/244] [dev_kfree_skb+62/76] [ppp_dev_xmit+253/276] [sock
_write+158/180] [sys_write+331/388]
Dec 24 16:05:27 asa kernel: [system_call+85/128]
Dec 24 16:05:27 asa kernel: Code: 8b 01 8d 51 fc 85 c0 74 02 89 c2 8d 7d f8 89 39 89 55 fc fb
Dec 24 16:05:29 asa kernel: general protection: 0000
Dec 24 16:05:30 asa kernel: CPU: 0
Dec 24 16:05:30 asa kernel: EIP: 0010:[unix_remove_socket+39/48]
Dec 24 16:05:30 asa kernel: EFLAGS: 00010012
Dec 24 16:05:30 asa kernel: eax: 493c3e22 ebx: 067a3c0c ecx: 03c4e414 edx: 493c3e86
Dec 24 16:05:30 asa kernel: esi: 03c4e414 edi: 05f62990 ebp: 00000003 esp: 024ddf1c
Dec 24 16:05:30 asa kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Dec 24 16:05:30 asa kernel: Process ip-down (pid: 20491, process nr: 107, stackpage=024dd000)
Dec 24 16:05:30 asa kernel: Stack: 0013cd8d 03c4e414 067a3c0c 03c4e414 05f62990 0013d1b1 03c4e414 05f62900
Dec 24 16:05:30 asa kernel: 00000000 05f62990 00137138 05f62990 00000000 05f62900 05f62900 05f62900
Dec 24 16:05:30 asa kernel: 00000001 00137371 05f62990 01887f68 00122c1c 05f62900 01887f68 00000000
Dec 24 16:05:30 asa kernel: eax: 493c3e22 ebx: 067a3c0c ecx: 03c4e414 edx: 493c3e86
Dec 24 16:05:30 asa kernel: esi: 03c4e414 edi: 05f62990 ebp: 00000003 esp: 024ddf1c
Dec 24 16:05:30 asa kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Dec 24 16:05:30 asa kernel: Process ip-down (pid: 20491, process nr: 107, stackpage=024dd000)
Dec 24 16:05:30 asa kernel: Stack: 0013cd8d 03c4e414 067a3c0c 03c4e414 05f62990 0013d1b1 03c4e414 05f62900
Dec 24 16:05:30 asa kernel: 00000000 05f62990 00137138 05f62990 00000000 05f62900 05f62900 05f62900
Dec 24 16:05:30 asa kernel: 00000001 00137371 05f62990 01887f68 00122c1c 05f62900 01887f68 00000000

The symptoms:

No more users could enter via the modems or remore login, apache continued to function.
A CGI script which called shutdown was unsable to reboot the server remotely. The only
remaining alternative - the reset switch.

Regards,

Mike Leddy - Technical Director Ultranet ISP, Fortaleza, Brazil.