decoding oops.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am trying to decode and find out the cause of the error through
oops. But, I am facing a problem

<<<< some oops msgs

EIP is at __d_lookup+0xc5/0xe7

[  280.626128] Code: 08 00 85 c0 75 17 31 f6 f6 43 04 10 75 05 f0 ff
03 89 de 8b 45 e4 e8 42 12 1e 00 eb 26 8b 45 e4 e8 38 12 1e 00 8b 3f
85 ff 74 16 <8b> 07 0f 18 00 90 8d 5f d8 8b 4d ec 39 4b 34 75 e9 e9 75
ff ff
[  280.626174] EIP: [<c0163196>] __d_lookup+0xc5/0xe7 SS:ESP 0068:f151be84

some oops msgs

As EIP indicates __d_lookup(), I did following steps

# objdump -d fs/dcache.o > fs/dcache.disasm
# make fs/cache.s

Opened fs/dcache.disasm found __d_lookup() int it, it starts at address 0x865

00000865 <__d_lookup>:
   865:   55                      push   %ebp

# printf "%x\n" $((0x865+0xc5))
92a

The code present at 92a does not match with the code displayed in the oops msg

   926:   85 ff                   test   %edi,%edi
   928:   74 16                   je     940 <__d_lookup+0xdb>
*********     92a:  8b 07                   mov    (%edi),%eax
   92c:   8d 74 26 00             lea    0x0(%esi),%esi
   930:   8d 5f d8                lea    0xffffffd8(%edi),%ebx
   933:   8b 4d ec                mov    0xffffffec(%ebp),%ecx
   936:   39 4b 34                cmp    %ecx,0x34(%ebx)
   939:   75 e9                   jne    924 <__d_lookup+0xbf>
   93b:   e9 75 ff ff ff          jmp    8b5 <__d_lookup+0x50>

Why is it so? I think the code should be matching.

Thanks and Regards,
Prasad.


ADDING CALL TRACE IF REQUIRED FOR REFERENCE.

[  280.626062] Call Trace:
[  280.626064]  [<c01048a2>] show_trace_log_lvl+0x1a/0x2f
[  280.626071]  [<c0104954>] show_stack_log_lvl+0x9d/0xa5
[  280.626075]  [<c0104af1>] show_registers+0x195/0x26b
[  280.626080]  [<c0104ce0>] die+0x119/0x21a
[  280.626084]  [<c03461fd>] do_page_fault+0x443/0x514
[  280.626090]  [<c0344a3c>] error_code+0x7c/0x84
[  280.626094]  [<c015b8c7>] __lookup_hash+0x54/0xe7
[  280.626099]  [<c015b96b>] lookup_hash+0x11/0x13
[  280.626103]  [<c015d7c3>] open_namei+0xe3/0x56b
[  280.626108]  [<c015390e>] do_filp_open+0x26/0x3b
[  280.626113]  [<c0153966>] do_sys_open+0x43/0xc7
[  280.626117]  [<c0153a22>] sys_open+0x1c/0x1e
[  280.626121]  [<c0103854>] sysenter_past_esp+0x5d/0x99
[  280.626126]  =======================
[  280.626128] Code: 08 00 85 c0 75 17 31 f6 f6 43 04 10 75 05 f0 ff
03 89 de 8b 45 e4 e8 42 12 1e 00 eb 26 8b 45 e4 e8 38 12 1e 00 8b 3f
85 ff 74 16 <8b> 07 0f 18 00 90 8d 5f d8 8b 4d ec 39 4b 34 75 e9 e9 75
ff ff
[  280.626174] EIP: [<c0163196>] __d_lookup+0xc5/0xe7 SS:ESP 0068:f151be84

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux