Kernel oops

Patrick Higgins phiggins at transzap.com
Wed May 17 13:10:26 EDT 2000


I've been working on getting the DoC driver to work when compiled
statically, and have managed to get past all the gotchas with respect to
compiling, but now I get a kernel oops on boot.  I've looked into it a
bit, but since I'm not the greatest decoder of oops messages the world has
ever seen, I haven't found the problem.  I've attached the ksymoops-ified
oops message in case anyone is a wizard with these things. :-)

I'll start tracking it down with printk (my read of the oops is that it's
happening somewhere near the beginning of DoC2k_init).

Patrick
-------------- next part --------------
ksymoops 0.7c on i686 2.2.14-12.  Options used
     -v linux/vmlinux (specified)
     -K (specified)
     -L (specified)
     -O (specified)
     -m linux/System.map (specified)
     -x

Unable to handle kernel NULL pointer dereference at virtual address 0000006c
current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c017a131>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010287
eax: 00000000   ebx: c008e4f0   ecx: 000da000   edx: c008e3d0
esi: 000d8000   edi: c017a104   ebp: c008e480   esp: c3d7bf78
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 1, process nr: 1, stackpage=c3d7b000)
Stack: c017a104 c00da000 c017b442 c008e480 00000009 c01d3ba8 c029bc28 00000774
       c008e4f0 c00db002 ff29bc28 c017a104 c01ac929 68746977 69684320 20444970
       00003032 c01d0bb5 000da000 00000f00 00000001 c01d0b83 c01cacee c01988c0
Call Trace: [<c017a104>] [<c017b442>] [<c017a104>] [<c01ac929>] [<c01988c0>] [<
Code: 8b 50 6c 85 d2 75 ec be 3b c7 1a c0 89 ef fc ac aa 84 c0 75

>>EIP; c017a131 <DoC2k_init+45/328>   <=====
Trace; c017a104 <DoC2k_init+0/328>
Trace; c017b442 <DoC_Probe+482/524>
Trace; c017a104 <DoC2k_init+0/328>
Trace; c01ac929 <timer_bug_msg+25321/27840>
Trace; c01988c0 <stext_lock+3616/12352>
Code;  c017a131 <DoC2k_init+45/328>
00000000 <_EIP>:
Code;  c017a131 <DoC2k_init+45/328>   <=====
   0:   8b 50 6c                  mov    0x6c(%eax),%edx   <=====
Code;  c017a134 <DoC2k_init+48/328>
   3:   85 d2                     test   %edx,%edx
Code;  c017a136 <DoC2k_init+50/328>
   5:   75 ec                     jne    fffffff3 <_EIP+0xfffffff3> c017a124 <DoC2k_init+32/328>
Code;  c017a138 <DoC2k_init+52/328>
   7:   be 3b c7 1a c0            mov    $0xc01ac73b,%esi
Code;  c017a13d <DoC2k_init+57/328>
   c:   89 ef                     mov    %ebp,%edi
Code;  c017a13f <DoC2k_init+59/328>
   e:   fc                        cld    
Code;  c017a140 <DoC2k_init+60/328>
   f:   ac                        lods   %ds:(%esi),%al
Code;  c017a141 <DoC2k_init+61/328>
  10:   aa                        stos   %al,%es:(%edi)
Code;  c017a142 <DoC2k_init+62/328>
  11:   84 c0                     test   %al,%al
Code;  c017a144 <DoC2k_init+64/328>
  13:   75 00                     jne    15 <_EIP+0x15> c017a146 <DoC2k_init+66/328>



More information about the linux-mtd mailing list