Hello all,
I would like to get some hints from the experts as to make my way through
"OOPS" messages from the kernel. I had done some modifications
to the kernel and as a result I got the problem. But, I was able to debug
and set right the code by using some printk statements.
What I want to know is to how to use these messages
as an aid in debugging.
For example,
how to interpret the "Call Trace" info in the message given below?
how to infer where the NULL pointer dereferncing is occurring in the code
using this message?
(actually it was happening in some function which is called from
ip_rcv but that function is not at all mentioned anywhere in the
message below! ).
I would be grateful for any tips in analysing such messages.
Is there anywhere I can find some general info on kernel
hacking/debugging.
Lastly, I want to know if there is any tool like gdb
for the kernel debugging and how easy or difficult it is to use.
any suggestions/advice welcome
Thank you very much for your time.
--gopi
-----------------------------------------------------------------
Nov 26 04:37:53 pc032 kernel: Unable to handle kernel NULL pointer dereference at
virtual address c0000010
Nov 26 04:37:53 pc032 kernel: current->tss.cr3 = 00101000, `r3 = 00101000
Nov 26 04:37:53 pc032 kernel: *pde = 00102067
Nov 26 04:37:53 pc032 kernel: *pte = 00000000
Nov 26 04:37:53 pc032 kernel: Oops: 0000
Nov 26 04:37:53 pc032 kernel: CPU: 0
Nov 26 04:37:53 pc032 kernel: EIP: 0010:[ip_autofw_update_in+8/16]
Nov 26 04:37:53 pc032 kernel: EFLAGS: 00010246
Nov 26 04:37:53 pc032 kernel: eax: 00000000 ebx: 00097e1c ecx: 00799ed8 edx:
0008ac00
Nov 26 04:37:53 pc032 kernel: esi: 00097e30 edi: 00097eac ebp: 25a21090 esp:
001c388c
Nov 26 04:37:53 pc032 kernel: ds: 0018 es: 0018 fs: 002b gs: 0000 ss: 0018
Nov 26 04:37:53 pc032 kernel: Process swapper (pid: 0, process nr: 0,
stackpage=001c23bc)
Nov 26 04:37:53 pc032 kernel: Stack: 001563e5 25a21090 00097e1c 0000008c 001c3900
00097e1c 0000008c 001c3900
Nov 26 04:37:53 pc032 kernel: 25a20801 25a21090 00006102 00143595 00097eac
001ce2e8 00000000 25a21090
Nov 26 04:37:53 pc032 kernel: 00000000 00097eac 001c7be4 00000002 00001d00
00000000 00000000 00000000
Nov 26 04:37:53 pc032 kernel: Call Trace: [rarp_req_get+37/192] [ip_rcv+1269/1520]
[net_bh+172/304] [do_bottom_half+11/112] [handle_bottom_half+11/24] [sys_iopl+32/96]
[do_exit+429/512]
Nov 26 04:37:53 pc032 kernel: [die_if_kernel+707/736] [<01800000>] [<01000000>]
[do_page_fault+766/800] [do_page_fault+0/800] [error_code+64/72] [udp_rcv+504/1024]
[ip_autofw_update_in+8/16]
Nov 26 04:37:53 pc032 kernel: [udp_rcv+496/1024] [rarp_req_get+37/192]
[ip_rcv+1269/1520] [net_bh+172/304] [do_bottom_half+11/112] [handle_bottom_half+11/24]
[exit_notify+14/496] [do_exit+408/512]
Nov 26 04:37:53 pc032 kernel: [die_if_kernel+707/736] [<01800000>] [<01000000>]
[do_page_fault+766/800] [do_page_fault+0/800] [error_code+64/72] [sys_iopl+56/96]
[ip_autofw_update_in+8/16]
Nov 26 04:37:53 pc032 kernel: [rarp_req_get+37/192] [ip_rcv+1269/1520]
[release_dev+1520/1616] [net_bh+172/304] [do_bottom_half+11/112]
[handle_bottom_half+11/24] [exit_notify+11/496] [do_exit+408/512]
Nov 26 04:37:53 pc032 kernel: [die_if_kernel+707/736] [<01800000>] [<01000000>]
[do_page_fault+766/800] [udp_rcv+480/1024] [do_page_fault+0/800] [error_code+64/72]
[udp_rcv+480/1024]
Nov 26 04:37:53 pc032 kernel: [ip_autofw_update_in+8/16] [rarp_req_get+37/192]
[ip_rcv+1269/1520] [net_bh+172/304] [do_bottom_half+11/112] [handle_bottom_half+11/24]
[exit_mm+104/128] [do_exit+408/512]
Nov 26 04:37:53 pc032 kernel: [die_if_kernel+707/736] [<01800000>] [<01000000>]
[do_page_fault+766/800] [do_page_fault+0/800] [error_code+64/72] [sys_iopl+56/96]
[ip_autofw_update_in+8/16]
Nov 26 04:37:53 pc032 kernel: [rarp_req_get+37/192] [ip_rcv+1269/1520]
[net_bh+172/304] [do_bottom_half+11/112] [handle_bottom_half+11/24]
[exit_notify+177/496]
Nov 26 04:37:53 pc032 kernel: Code: 66 8b 40 10 66 83 f8 01 76 0e 25 ff ff 00 00 c3 90
8d b4 26
Nov 26 04:37:53 pc032 kernel: Aiee, killing interrupt handler
--------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]