Oops trace

Jeff Volckaert (jvolckaert@bellmemorial.org)
Tue, 15 Jun 1999 12:22:05 -0400


Hello,

I wasn't sure who to send this to so I sent it both the documentation and
ksymopps readme addresses.

I suspect my problem is with my Qunatum Bigfoot 6.4G hard drive and the swap
file partition. This system runs fine 24x7 until I try to run BladeEnc or
Encode or some heavy encoding software. FWIW, this is a Redhat 6.0 install.
Below is both the output in /var/log/messages and the ksymoops output. If
this has nothing to do with the kernel then let me know and i'll do more
posting on Usenet.

TIA,
Jeff Volckaert

*** /var/log/messages ***
Jun 15 10:57:38 000aa092 kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000024
Jun 15 10:57:38 000aa092 kernel: current->tss.cr3 = 006ad000, %cr3 =
006ad000
Jun 15 10:57:38 000aa092 kernel: *pde = 00000000
Jun 15 10:57:38 000aa092 kernel: Oops: 0000
Jun 15 10:57:38 000aa092 kernel: CPU: 0
Jun 15 10:57:38 000aa092 kernel: EIP: 0010:[sys_write+100/256]
Jun 15 10:57:38 000aa092 kernel: EFLAGS: 00010202
Jun 15 10:57:38 000aa092 kernel: eax: 00000004 ebx: c1f2e080 ecx:
00000000 edx: 00000000
Jun 15 10:57:38 000aa092 kernel: esi: fffffff7 edi: c030d760 ebp:
0000000d esp: c1f2dfac
Jun 15 10:57:38 000aa092 kernel: ds: 0018 es: 0018 ss: 0018
Jun 15 10:57:38 000aa092 kernel: Process libtool (pid: 2865, process nr: 47,
stackpage=c1f2d000)
Jun 15 10:57:38 000aa092 kernel: Stack: 401051a0 bfffe404 c03dd5d8 00000000
00000000 c01095a8 00000001 40014000
Jun 15 10:57:38 000aa092 kernel: 0000000d 0000000d 401051a0 bfffe404
00000004 0000002b 0000002b 00000004
Jun 15 10:57:38 000aa092 kernel: 400bf574 00000023 00000206 bfffe3dc
0000002b
Jun 15 10:57:38 000aa092 kernel: Call Trace: [system_call+52/56]
Jun 15 10:57:38 000aa092 kernel: Code: f6 40 20 40 75 09 f6 87 88 00 00 00
40 74 2d 66 8b 47 22 25

*** ksymopps.log ***
Options used: -V (specified)
-O (specified)
-k /proc/ksyms (specified)
-l /proc/modules (default)
-M (specified)
-c 1 (default)

DEBUG: level 2
DEBUG: env default KSYMOOPS_NM=/usr/bin/nm
DEBUG: env default KSYMOOPS_FIND=/usr/bin/find
DEBUG: env default KSYMOOPS_OBJDUMP=/usr/bin/objdump
DEBUG: re_compile '^([0-9a-fA-F]{4,}) +([^ ]) +([^ ]+)$' 3 sub expression(s)
DEBUG: re_compile '^[ ]*\[*<([0-9a-fA-F]{4,})>\]*[ ]*' 1 sub expression(s)
DEBUG: re_compile '^[ *]*([0-9a-fA-F]{4,})[ ]*' 1 sub expression(s)
DEBUG: read_ksyms /proc/ksyms
DEBUG: re_compile '^([0-9a-fA-F]{4,}) +([^ ]+)([ ]+\[([^ ]+)\])?$' 4 sub
expression(s)
DEBUG: re_compile '^(.*)_R[0-9a-fA-F]{8,}$' 1 sub expression(s)
DEBUG: sorting symbols for ne (na)
DEBUG: ss_compress on table ne, before 1 after 1
DEBUG: ss_compress on table ne, before 1 after 1
DEBUG: sorting symbols for 8390 (na)
DEBUG: ss_compress on table 8390, before 6 after 6
DEBUG: ss_compress on table 8390, before 6 after 6
DEBUG: sorting symbols for opl3 (na)
DEBUG: ss_compress on table opl3, before 2 after 2
DEBUG: ss_compress on table opl3, before 2 after 2
DEBUG: sorting symbols for sb (na)
DEBUG: ss_compress on table sb, before 11 after 11
DEBUG: ss_compress on table sb, before 11 after 11
DEBUG: sorting symbols for uart401 (na)
DEBUG: ss_compress on table uart401, before 4 after 4
DEBUG: ss_compress on table uart401, before 4 after 4
DEBUG: sorting symbols for sound (na)
DEBUG: ss_compress on table sound, before 70 after 70
DEBUG: ss_compress on table sound, before 70 after 70
DEBUG: sorting symbols for soundlow (na)
DEBUG: ss_compress on table soundlow, before 3 after 3
DEBUG: ss_compress on table soundlow, before 3 after 3
DEBUG: sorting symbols for soundcore (na)
DEBUG: ss_compress on table soundcore, before 11 after 11
DEBUG: ss_compress on table soundcore, before 11 after 11
DEBUG: sorting symbols for aha152x (na)
DEBUG: ss_compress on table aha152x, before 17 after 17
DEBUG: ss_compress on table aha152x, before 17 after 17
DEBUG: sorting symbols for ksyms_base (na)
DEBUG: ss_compress on table ksyms_base, before 759 after 759
DEBUG: ss_compress on table ksyms_base, before 759 after 759
DEBUG: read_ksyms ne used 1 out of 10 entries
DEBUG: read_ksyms 8390 used 6 out of 10 entries
DEBUG: read_ksyms opl3 used 2 out of 10 entries
DEBUG: read_ksyms sb used 11 out of 20 entries
DEBUG: read_ksyms uart401 used 4 out of 10 entries
DEBUG: read_ksyms sound used 70 out of 72 entries
DEBUG: read_ksyms soundlow used 3 out of 10 entries
DEBUG: read_ksyms soundcore used 11 out of 20 entries
DEBUG: read_ksyms aha152x used 17 out of 20 entries
DEBUG: read_ksyms ksyms_base used 759 out of 901 entries
DEBUG: read_lsmod /proc/modules
DEBUG: re_compile '^[ ]*([^ ]+)[ ]*([^ ]+)[ ]*([^ ]+)[ ]*(.*)$' 4 sub
expression(s)
DEBUG: sorting symbols for lsmod (na)
DEBUG: ss_compress on table lsmod, before 9 after 9
DEBUG: ss_compress on table lsmod, before 9 after 9
DEBUG: read_lsmod lsmod used 9 out of 10 entries
DEBUG: merge_maps
DEBUG: append_map ksyms_base to merged
DEBUG: sorting symbols for merged (atn)
DEBUG: ss_compress on table merged, before 759 after 759
DEBUG: sorting symbols for merged (atn)
DEBUG: ss_compress on table merged, before 759 after 759
DEBUG: sorting symbols for merged (atn)
DEBUG: ss_compress on table merged, before 759 after 758
DEBUG: re_compile '^(([^ ]{3} [ 0-9][0-9] [0-9]{2}:[0-9]{2}:[0-9]{2} [^ ]+
kernel: +)|(<[0-9]+>)|([ ]+))+' 4 sub expression(s)
DEBUG: re_compile '^((Stack: )|(Stack from )|([0-9a-fA-F]{4,})|(Call
Trace: )|(\[*<([0-9a-fA-F]{4,})>\]*[ ]*)|(Version_[0-9]+)|(Trace: )|(Call
backtrace:)|(Process .*stackpage=)|(Call Trace:[ ])|(Code *:[ ])|(Kernel
panic)|(In swapper task)|(Corrupted stack page)|(invalid
operand: )|(Oops: )|(Cpu: +[0-9])|(current->tss)|(\*pde
+=)|(EIP: )|(EFLAGS: )|(eax: )|(esi: )|(ds: )|(pc[:=])|(68060
access)|(Exception at )|(d[04]: )|(Frame format=)|(wb [0-9] stat)|(push
data: )|(baddr=)|(Bad unaligned kernel)|(Forwarding unaligned exception)|(:
unhandled unaligned exception)|(<sc)|(pc *=)|(r[0-9]+ *=)|(gp
*=)|(tsk->)|(PSR: )|([goli][04]: )|(Instruction
DUMP: )|(Caller\[)|(TSTATE: )|(MSR: )|(TASK = )|(last
math )|(GPR[0-9]+: )|(\$[0-9 ]+:)|(epc )|(Status:)|(Cause
:)|(Backtrace:)|(Function entered at)|(\*pgd =)|(Internal error)|(pc :)|(sp
:)|(r[0-9][0-9 ]:)|(Flags:)|(Control:))' 64 sub expression(s)
DEBUG: re_compile '(Unable to handle
kernel)|(Aiee)|(die_if_kernel)|(\([0-9]\): Oops )|(: memory violation)|(:
Exception at)|(: Arithmetic fault)|(: Instruction fault)|(: arithmetic
trap)|(: unaligned trap)|(\([0-9]+\): ((Whee)|(Oops)|(Kernel)|(Penguin)|(Too
many Penguin)|(BOGUS)))|(kernel pc )|(trap at PC: )|(bad area
c )|(NIP: )|( ra *=))' 23 sub expression(s)
DEBUG: re_compile '^(i[04]: |Instruction DUMP: |Caller\[)' 1 sub
expression(s)
Jun 15 10:57:38 000aa092 kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000024
DEBUG: re_compile '^PSR: [0-9a-fA-F]+ PC: ([0-9a-fA-F]{4,})[ ]*' 1 sub
expression(s)
DEBUG: re_compile '^TSTATE: [0-9a-fA-F]{16} TPC: ([0-9a-fA-F]{4,})[ ]*' 1
sub expression(s)
DEBUG: re_compile '((kernel pc )|(trap at PC: )|(bad area
pc )|(NIP: ))([0-9a-fA-F]{4,})[ ]*' 6 sub expression(s)
DEBUG: re_compile '^(epc[ ]*:+[ ]*)([0-9a-fA-F]{4,})[ ]*' 2 sub
expression(s)
DEBUG: re_compile '^((EIP:[ ]+.*)|(PC[ ]*=[ ]*)|(pc *:
*))\[*<([0-9a-fA-F]{4,})>\]*[ ]*' 5 sub expression(s)
DEBUG: re_compile '(ra[ ]*=+[ ]*)([0-9a-fA-F]{4,})[ ]*' 2 sub
expression(s)
DEBUG: re_compile '^[io][04]: [0-9a-fA-F iosp:]+ ([io]7|ret_pc):
([0-9a-fA-F]{4,})[ ]*' 2 sub expression(s)
DEBUG: re_compile '^((Call
ace: )|(Trace: )|(\[*<([0-9a-fA-F]{4,})>\]*[ ]*)|(Call
backtrace:)|(([0-9a-fA-F]{4,})[ ]*)|(Function entered at
(\[*<([0-9a-fA-F]{4,})>\]*[ ]*))|(Caller\[([0-9a-fA-F]{4,})[ ]*\]))' 13
sub expression(s)
DEBUG: re_compile '^((Instruction DUMP)|(Code *)):[ ]+((general
protection.*)|(<[0-9]+>)|(([<(]?[0-9a-fA-F]+[>)]?[ ]+)+[<(]?[0-9a-fA-F]+[>)
]?))(.*)$' 9 sub expression(s)
Jun 15 10:57:38 000aa092 kernel: current->tss.cr3 = 006ad000, %cr3 =
006ad000
Jun 15 10:57:38 000aa092 kernel: *pde = 00000000
Jun 15 10:57:38 000aa092 kernel: Oops: 0000
Jun 15 10:57:38 000aa092 kernel: CPU: 0
Jun 15 10:57:38 000aa092 kernel: EIP: 0010:[sys_write+100/256]
Jun 15 10:57:38 000aa092 kernel: EFLAGS: 00010202
Jun 15 10:57:38 000aa092 kernel: eax: 00000004 ebx: c1f2e080 ecx:
00000000 edx: 00000000
Jun 15 10:57:38 000aa092 kernel: esi: fffffff7 edi: c030d760 ebp:
0000000d esp: c1f2dfac
Jun 15 10:57:38 000aa092 kernel: ds: 0018 es: 0018 ss: 0018
Jun 15 10:57:38 000aa092 kernel: Process libtool (pid: 2865, process nr: 47,
stackpage=c1f2d000)
Jun 15 10:57:38 000aa092 kernel: Stack: 401051a0 bfffe404 c03dd5d8 00000000
00000000 c01095a8 00000001 40014000
Jun 15 10:57:38 000aa092 kernel: 0000000d 0000000d 401051a0 bfffe404
00000004 0000002b 0000002b 00000004
Jun 15 10:57:38 000aa092 kernel: 400bf574 00000023 00000206 bfffe3dc
0000002b
Jun 15 10:57:38 000aa092 kernel: Call Trace: [system_call+52/56]
Jun 15 10:57:38 000aa092 kernel: Code: f6 40 20 40 75 09 f6 87 88 00 00 00
40 74 2d 66 8b 47 22 25
Warning: trailing garbage ignored on Code: line
Text: 'Code: f6 40 20 40 75 09 f6 87 88 00 00 00 40 74 2d 66 8b 47 22 25
'
Garbage: ' '
DEBUG: Oops_decode
DEBUG: re_compile '^([<(]?)([0-9a-fA-F]+)[>)]?[ ]*' 2 sub expression(s)
DEBUG: find_fullpath ./ksymoops
DEBUG: Oops_objdump command '/usr/bin/objdump -dhf /tmp/file9rgmz8'
DEBUG: Oops_decode -
DEBUG: re_compile '^[ ]*([0-9a-fA-F]+)( <_EIP[^>]*>)?:(.*
+(0?x?[0-9a-fA-F]+ +)<_EIP\+0?x?([0-9a-fA-F]+)>[ ]*$)?.*' 5 sub
expression(s)
DEBUG: Oops_decode - /tmp/file9rgmz8: file format elf32-i386
DEBUG: Oops_decode - architecture: i386, flags 0x00000112:
DEBUG: Oops_decode - EXEC_P, HAS_SYMS, D_PAGED
DEBUG: Oops_decode - start address 0x00000000
DEBUG: Oops_decode -
DEBUG: Oops_decode - Sections:
DEBUG: Oops_decode - Idx Name Size VMA LMA File
off Algn
DEBUG: Oops_decode - 0 .text 00000040 00000000 00000000
00001000 2**4
DEBUG: Oops_decode - CONTENTS, ALLOC, LOAD, READONLY, CODE
DEBUG: Oops_decode - Disassembly of section .text:
DEBUG: Oops_decode -
DEBUG: Oops_decode - 00000000 <_EIP>:
DEBUG: Oops_decode - 0: f6 40 20 40 testb $0x40,0x20(%eax)
DEBUG: Oops_decode - 4: 75 09 jne f <_EIP+0xf>
DEBUG: Oops_decode - 6: f6 87 88 00 00 00 40 testb $0x40,0x88(%edi)
DEBUG: Oops_decode - d: 74 2d je 3c <_EIP+0x3c>
DEBUG: Oops_decode - f: 66 8b 47 22 movw 0x22(%edi),%ax
DEBUG: Oops_decode - 13: 25 00 00 00 00 andl $0x0,%eax
DEBUG: Oops_decode - ...
DEBUG: Oops_format

Code: 00000000 Before first symbol 00000000 <_IP>: <===
Code: 00000000 Before first symbol 0: f6 40 20 40
testb $0x40,0x20(%eax) <===
Code: 00000004 Before first symbol 4: 75 09
jne 0000000f Before first symbol
Code: 00000006 Before first symbol 6: f6 87 88 00 00 00 40
testb $0x40,0x88(%edi)
Code: 0000000d Before first symbol d: 74 2d
je 0000003c Before first symbol
Code: 0000000f Before first symbol f: 66 8b 47 22
movw 0x22(%edi),%ax
Code: 00000013 Before first symbol 13: 25 00 00 00 00
andl $0x0,%eax

1 warning issued. Results may not be reliable.

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