Kernel Oops, unknown area, NULL pointer dereference

From: Karsten M. Self (karsten@opensales.com)
Date: Fri Apr 21 2000 - 02:57:19 EST


The following is ksymoops output.

The system in question is an Intel box running 2.2.14, and has had
severe instability problems since mid January. These have persisted
over a near-complete hardware replacement (one original IDE hard drive
remains). Debian distro, Woody.

Typically, the system will report an Oops similar to that below, and
either freeze or crash and reboot at some point, usually several hours,
later. The Oops is almost always reported in rxvt, though other apps
have been reported as well. System uptimes range from 1-14 days,
currently, between crashes.

I've looked at the oops-tracing.txt document
(http://kernelnotes.org/doc22/oops-tracing.txt), but don't know if I can
run gdb against the kernel as I don't seem to have a vmlinux image lying
around (vmlinuz, yes, compiled with bzImage option).

Compiler: gcc 2.95.2
Modules loaded:
    Module Size Used by
    lockd 30696 1 (autoclean)
    sunrpc 52292 1 (autoclean) [lockd]
    autofs 8928 1 (autoclean)
    smbfs 25360 2 (autoclean)
    sb 32948 0
    uart401 6128 0 [sb]
    sound 56300 0 [sb uart401]
    soundcore 2564 6 [sb sound]
    aic7xxx 105764 2
    sd_mod 15516 2 (autoclean)
    scsi_mod 50456 2 (autoclean) [aic7xxx sd_mod]

Processor
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 7
    model name : Pentium III (Katmai)
    stepping : 3
    cpu MHz : 451.030504
    cache size : 512 KB
    fdiv_bug : no
    hlt_bug : no
    sep_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr xmm
    bogomips : 448.92

TIA.

<Begin ksymoops output>

ksymoops 2.3.4 on i686 2.2.14. Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.2.14/ (default)
     -m /boot/System.map-2.2.14 (default)

Warning: You did not tell me where to find symbol information. I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc. ksymoops -h explains the options.

Apr 20 23:47:18 angel kernel: *pde = 00000000
Apr 20 23:47:18 angel kernel: Oops: 0002
Apr 20 23:47:18 angel kernel: CPU: 0
Apr 20 23:47:18 angel kernel: EIP: 0010:[schedule+132/624]
Apr 20 23:47:18 angel kernel: EFLAGS: 00010082
Apr 20 23:47:18 angel kernel: eax: 00000000 ebx: c01e4c00 ecx: c125a000 edx: 00000000
Apr 20 23:47:18 angel kernel: esi: c125a000 edi: 00000100 ebp: c125b578 esp: c125b570
Apr 20 23:47:18 angel kernel: ds: 0018 es: 0018 ss: 0018
Apr 20 23:47:18 angel kernel: Process rxvt (pid: 1482, process nr: 104, stackpage=c125b000)
Apr 20 23:47:18 angel kernel: Stack: 00000100 c01e4c00 c125a000 c01165a1 c125b5e4 00000040 00000100 c125a000
Apr 20 23:47:18 angel kernel: 00000100 c125a000 c010926c 0000000b c125b5e4 c01a2dd8 c01a44ce 00000002
Apr 20 23:47:18 angel kernel: 00000000 c010e1f8 c01a44ce c125b5e4 00000002 c125a000 c125a000 00000100
Apr 20 23:47:18 angel kernel: Call Trace: [do_exit+633/640] [die_if_no_fixup+0/64] [stext_lock+5548/11700] [stext_lock+11426/11700] [do_page_fault+680/880] [stext_lock+11426/11700] [error_code+45/52]
Apr 20 23:47:18 angel kernel: Code: 89 42 40 89 50 3c c7 46 3c 00 00 00 00 c7 46 40 00 00 00 00
Using defaults from ksymoops -t elf32-i386 -a i386

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
   0: 89 42 40 mov %eax,0x40(%edx)
Code; 00000003 Before first symbol
   3: 89 50 3c mov %edx,0x3c(%eax)
Code; 00000006 Before first symbol
   6: c7 46 3c 00 00 00 00 movl $0x0,0x3c(%esi)
Code; 0000000d Before first symbol
   d: c7 46 40 00 00 00 00 movl $0x0,0x40(%esi)

Apr 20 23:47:18 angel kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000040
Apr 20 23:47:18 angel kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Apr 20 23:47:18 angel kernel: *pde = 00000000
Apr 20 23:47:18 angel kernel: Oops: 0002
Apr 20 23:47:18 angel kernel: CPU: 0
Apr 20 23:47:18 angel kernel: EIP: 0010:[schedule+132/624]
Apr 20 23:47:18 angel kernel: EFLAGS: 00010086
Apr 20 23:47:18 angel kernel: eax: 00000000 ebx: c01e4c00 ecx: c125a000 edx: 00000000
Apr 20 23:47:18 angel kernel: esi: c125a000 edi: 00000100 ebp: c125b4c8 esp: c125b4c0
Apr 20 23:47:18 angel kernel: ds: 0018 es: 0018 ss: 0018
Apr 20 23:47:18 angel kernel: Process rxvt (pid: 1482, process nr: 104, stackpage=c125b000)
Apr 20 23:47:18 angel kernel: Stack: 00000100 c01e4c00 c125a000 c01165a1 c125b534 00000040 00000100 c125a000
Apr 20 23:47:18 angel kernel: 00000100 c125a000 c010926c 0000000b c125b534 c01a2dd8 c01a44ce 00000002
Apr 20 23:47:18 angel kernel: 00000000 c010e1f8 c01a44ce c125b534 00000002 c125a000 c125a000 00000100
Apr 20 23:47:18 angel kernel: Call Trace: [do_exit+633/640] [die_if_no_fixup+0/64] [stext_lock+5548/11700] [stext_lock+11426/11700] [do_page_fault+680/880] [stext_lock+11426/11700] [error_code+45/52]
Apr 20 23:47:18 angel kernel: Code: 89 42 40 89 50 3c c7 46 3c 00 00 00 00 c7 46 40 00 00 00 00

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
   0: 89 42 40 mov %eax,0x40(%edx)
Code; 00000003 Before first symbol
   3: 89 50 3c mov %edx,0x3c(%eax)
Code; 00000006 Before first symbol
   6: c7 46 3c 00 00 00 00 movl $0x0,0x3c(%esi)
Code; 0000000d Before first symbol
   d: c7 46 40 00 00 00 00 movl $0x0,0x40(%esi)

Apr 20 23:47:18 angel kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000040
Apr 20 23:47:18 angel kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Apr 20 23:47:18 angel kernel: *pde = 00000000
Apr 20 23:47:18 angel kernel: Oops: 0002
Apr 20 23:47:18 angel kernel: CPU: 0
Apr 20 23:47:18 angel kernel: EIP: 0010:[schedule+132/624]
Apr 20 23:47:18 angel kernel: EFLAGS: 00010082
Apr 20 23:47:18 angel kernel: eax: 00000000 ebx: c01e4c00 ecx: c125a000 edx: 00000000
Apr 20 23:47:18 angel kernel: esi: c125a000 edi: 00000100 ebp: c125b418 esp: c125b410
Apr 20 23:47:18 angel kernel: ds: 0018 es: 0018 ss: 0018
Apr 20 23:47:18 angel kernel: Process rxvt (pid: 1482, process nr: 104, stackpage=c125b000)
Apr 20 23:47:18 angel kernel: Stack: 00000100 c01e4c00 c125a000 c01165a1 c125b484 00000040 00000100 c125a000
Apr 20 23:47:18 angel kernel: 00000100 c125a000 c010926c 0000000b c125b484 c01a2dd8 c01a44ce 00000002
Apr 20 23:47:18 angel kernel: 00000000 c010e1f8 c01a44ce c125b484 00000002 c125a000 c125a000 00000100
Apr 20 23:47:18 angel kernel: Call Trace: [do_exit+633/640] [die_if_no_fixup+0/64] [stext_lock+5548/11700] [stext_lock+11426/11700] [do_page_fault+680/880] [stext_lock+11426/11700] [error_code+45/52]
Apr 20 23:47:18 angel kernel: Code: 89 42 40 89 50 3c c7 46 3c 00 00 00 00 c7 46 40 00 00 00 00

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
   0: 89 42 40 mov %eax,0x40(%edx)
Code; 00000003 Before first symbol
   3: 89 50 3c mov %edx,0x3c(%eax)
Code; 00000006 Before first symbol
   6: c7 46 3c 00 00 00 00 movl $0x0,0x3c(%esi)
Code; 0000000d Before first symbol
   d: c7 46 40 00 00 00 00 movl $0x0,0x40(%esi)

Apr 20 23:47:18 angel kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000040
Apr 20 23:47:18 angel kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Apr 20 23:47:18 angel kernel: *pde = 00000000
Apr 20 23:47:18 angel kernel: Oops: 0002
Apr 20 23:47:18 angel kernel: CPU: 0
Apr 20 23:47:18 angel kernel: EIP: 0010:[schedule+132/624]
Apr 20 23:47:18 angel kernel: EFLAGS: 00010082
Apr 20 23:47:18 angel kernel: eax: 00000000 ebx: c01e4c00 ecx: c125a000 edx: 00000000
Apr 20 23:47:18 angel kernel: esi: c125a000 edi: 00000100 ebp: c125b368 esp: c125b360
Apr 20 23:47:18 angel kernel: ds: 0018 es: 0018 ss: 0018
Apr 20 23:47:18 angel kernel: Process rxvt (pid: 1482, process nr: 104, stackpage=c125b000)
Apr 20 23:47:18 angel kernel: Stack: 00000100 c01e4c00 c125a000 c01165a1 c125b3d4 00000040 00000100 c125a000
Apr 20 23:47:18 angel kernel: 00000100 c125a000 c010926c 0000000b c125b3d4 c01a2dd8 c01a44ce 00000002
Apr 20 23:47:18 angel kernel: 00000000 c010e1f8 c01a44ce c125b3d4 00000002 c125a000 c125a000 00000100
Apr 20 23:47:18 angel kernel: Call Trace: [do_exit+633/640] [die_if_no_fixup+0/64] [stext_lock+5548/11700] [stext_lock+11426/11700] [do_page_fault+680/880] [stext_lock+11426/11700] [error_code+45/52]
Apr 20 23:47:18 angel kernel: Code: 89 42 40 89 50 3c c7 46 3c 00 00 00 00 c7 46 40 00 00 00 00

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
   0: 89 42 40 mov %eax,0x40(%edx)
Code; 00000003 Before first symbol
   3: 89 50 3c mov %edx,0x3c(%eax)
Code; 00000006 Before first symbol
   6: c7 46 3c 00 00 00 00 movl $0x0,0x3c(%esi)
Code; 0000000d Before first symbol
   d: c7 46 40 00 00 00 00 movl $0x0,0x40(%esi)

Apr 20 23:47:18 angel kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000040
Apr 20 23:47:18 angel kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Apr 20 23:47:18 angel kernel: *pde = 00000000
Apr 20 23:47:18 angel kernel: Oops: 0002
Apr 20 23:47:18 angel kernel: CPU: 0
Apr 20 23:47:18 angel kernel: EIP: 0010:[schedule+132/624]
Apr 20 23:47:18 angel kernel: EFLAGS: 00010086
Apr 20 23:47:18 angel kernel: eax: 00000000 ebx: c01e4c00 ecx: c125a000 edx: 00000000
Apr 20 23:47:18 angel kernel: esi: c125a000 edi: 00000100 ebp: c125b2b8 esp: c125b2b0
Apr 20 23:47:18 angel kernel: ds: 0018 es: 0018 ss: 0018
Apr 20 23:47:18 angel kernel: Process rxvt (pid: 1482, process nr: 104, stackpage=c125b000)
Apr 20 23:47:18 angel kernel: Stack: 00000100 c01e4c00 c125a000 c01165a1 c125b324 00000040 00000100 c125a000
Apr 20 23:47:18 angel kernel: 00000100 c125a000 c010926c 0000000b c125b324 c01a2dd8 c01a44ce 00000002
Apr 20 23:47:18 angel kernel: 00000000 c010e1f8 c01a44ce c125b324 00000002 c125a000 c125a000 00000100
Apr 20 23:47:18 angel kernel: Call Trace: [do_exit+633/640] [die_if_no_fixup+0/64] [stext_lock+5548/11700] [stext_lock+11426/11700] [do_page_fault+680/880] [stext_lock+11426/11700] [error_code+45/52]
Apr 20 23:47:18 angel kernel: Code: 89 42 40 89 50 3c c7 46 3c 00 00 00 00 c7 46 40 00 00 00 00

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
   0: 89 42 40 mov %eax,0x40(%edx)
Code; 00000003 Before first symbol
   3: 89 50 3c mov %edx,0x3c(%eax)
Code; 00000006 Before first symbol
   6: c7 46 3c 00 00 00 00 movl $0x0,0x3c(%esi)
Code; 0000000d Before first symbol
   d: c7 46 40 00 00 00 00 movl $0x0,0x40(%esi)

Apr 20 23:47:18 angel kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000040
Apr 20 23:47:18 angel kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Apr 20 23:47:18 angel kernel: *pde = 00000000
Apr 20 23:47:18 angel kernel: Oops: 0002
Apr 20 23:47:18 angel kernel: CPU: 0
Apr 20 23:47:18 angel kernel: EIP: 0010:[schedule+132/624]
Apr 20 23:47:18 angel kernel: EFLAGS: 00010092
Apr 20 23:47:18 angel kernel: eax: 00000000 ebx: c01e4c00 ecx: c125a000 edx: 00000000
Apr 20 23:47:18 angel kernel: esi: c125a000 edi: 00000100 ebp: c125b208 esp: c125b200
Apr 20 23:47:18 angel kernel: ds: 0018 es: 0018 ss: 0018
Apr 20 23:47:18 angel kernel: Process rxvt (pid: 1482, process nr: 104, stackpage=c125b000)
Apr 20 23:47:18 angel kernel: Stack: 00000100 c01e4c00 c125a000 c01165a1 c125b274 00000040 00000100 c125a000
Apr 20 23:47:18 angel kernel: 00000100 c125a000 c010926c 0000000b c125b274 c01a2dd8 c01a44ce 00000002
Apr 20 23:47:18 angel kernel: 00000000 c010e1f8 c01a44ce c125b274 00000002 c125a000 c125a000 00000100
Apr 20 23:47:18 angel kernel: Call Trace: [do_exit+633/640] [die_if_no_fixup+0/64] [stext_lock+5548/11700] [stext_lock+11426/11700] [do_page_fault+680/880] [stext_lock+11426/11700] [error_code+45/52]
Apr 20 23:47:18 angel kernel: Code: 89 42 40 89 50 3c c7 46 3c 00 00 00 00 c7 46 40 00 00 00 00

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
   0: 89 42 40 mov %eax,0x40(%edx)
Code; 00000003 Before first symbol
   3: 89 50 3c mov %edx,0x3c(%eax)
Code; 00000006 Before first symbol
   6: c7 46 3c 00 00 00 00 movl $0x0,0x3c(%esi)
Code; 0000000d Before first symbol
   d: c7 46 40 00 00 00 00 movl $0x0,0x40(%esi)

1 warning issued. Results may not be reliable.
<End ksymoops output>

-- 
Karsten M. Self (karsten@opensales.com)
    Director of Evangelism, OpenSales, Inc.
        What part of "Gestalt" don't you understand?

- 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/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:18 EST