2.0.33: non-fatal oops in copy_thread

Karsten Weiss (karsten@addx.au.s.shuttle.de)
Thu, 29 Jan 1998 15:38:55 +0100 (CET)


Hi!

There was a non-fatal oops in copy_thread some minutes ago:

Unable to handle kernel NULL pointer dereference at virtual address c0000000
current->tss.cr3 = 00101000,
*pde = 00102067
*pte = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[copy_thread+184/560]
EFLAGS: 00010046
eax: 00000000 ebx: 000913e0 ecx: 00000027 edx: 001b1d88
esi: 001b15b0 edi: 00000000 ebp: 00009000 esp: 001b1558
ds: 0018 es: 0018 fs: 002b gs: 0018 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=001af5d4)
Stack: 0010972c 00000010 00000246 001b1d88 0010a809 00000100 001093f0 0000001f
001b15b0 00000000 00009000 ffffffda 00000018 00000018 00100018 00190018
00000070 00109097 00000010 00000246 0010925d 00000000 756e6547 0009e200
Call Trace: [sys_idle+108/128] [system_call+85/124] [init+0/624] [set_voice_volume+408/640] [start_kernel+429/448] [it_real_fn+0/80] [schedule+588/688]
Code: 0f 00 00 66 c7 83 18 02 00 00 00 00 8b 4c 24 30 8b 49 38 80
kfree of non-kmalloced memory: 001b161c, next= 000023a0, order=9120
kfree of non-kmalloced memory: 001b160c, next= 000023a0, order=9120
kfree of non-kmalloced memory: 001b1b20, next= 000023a0, order=9120
idle task may not sleep
idle task may not sleep
idle task may not sleep

/usr/src/linux-2.0.33/vmlinux: file format elf32-i386

00109b30 <copy_thread>:
[...]
109bbb: 89 74 24 10 movl %esi,0x10(%esp,1)
109bbf: 8b 7c 24 30 movl 0x30(%esp,1),%edi
109bc3: 89 7c 24 14 movl %edi,0x14(%esp,1)
109bc7: 8b 7c 24 10 movl 0x10(%esp,1),%edi
109bcb: 8b 74 24 14 movl 0x14(%esp,1),%esi
109bcf: fc cld
109bd0: b9 11 00 00 00 movl $0x11,%ecx
109bd5: f3 a5 repz movsl %ds:(%esi),%es:(%edi)
109bd7: 8b 44 24 18 movl 0x18(%esp,1),%eax
109bdb: c7 80 d4 0f 00 movl $0x0,0xfd4(%eax)
109be0: 00 00 00 00 00
109be5: 89 90 f8 0f 00 movl %edx,0xff8(%eax)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109bea: 00
109beb: 66 c7 83 18 02 movw $0x0,0x218(%ebx)
109bf0: 00 00 00 00
109bf4: 8b 4c 24 30 movl 0x30(%esp,1),%ecx
109bf8: 8b 49 38 movl 0x38(%ecx),%ecx
109bfb: 80 e5 cf andb $0xcf,%ch
109bfe: 89 8b 3c 02 00 movl %ecx,0x23c(%ebx)
109c03: 00

This is genuine 2.0.33 on a i486/100, ASUS SP3G, 48 MB, SpeaMirage P64,
NCR 810, Soundblaster 16 running RedHat 5.0 (all updates applied).

The kernel was compiled with gcc 2.7.2.3 with the following config
options:

CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_KERNELD=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_OPTIMIZE=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_JAVA=m
CONFIG_KERNEL_ELF=y
CONFIG_M486=y
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_INET=y
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_NCR53C8XX=y
CONFIG_SCSI_NCR53C8XX_NVRAM_DETECT=y
CONFIG_SCSI_NCR53C8XX_TAGGED_QUEUE=y
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=4
CONFIG_SCSI_NCR53C8XX_SYNC=5
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_PPP=m
CONFIG_NET_ETHERNET=y
CONFIG_NET_ISA=y
CONFIG_NE2000=m
CONFIG_MINIX_FS=m
CONFIG_EXT2_FS=y
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=m
CONFIG_SMB_FS=m
CONFIG_SMB_WIN95=y
CONFIG_ISO9660_FS=m
CONFIG_AUTOFS_FS=m
CONFIG_SERIAL=y
CONFIG_PRINTER=m
CONFIG_SOUND=y

The oops happened when I was reading a message in a pine. gcc was
rebuilding the gnome-0.12 rpm in the background. X was not running
as I was working in the console. It seems gpm died during the oops
and it even won't restart.

If there is anything I can do to help tracking down this bug please
mail me.

-- 
Karsten Weiss      UUCP:     karsten@addx.au.s.shuttle.de
>ASK FOR PGP KEY<  INTERNET: knweiss@trick.informatik.uni-stuttgart.de