Thread (7 messages) flat view 7 messages, 6 authors, 2011-08-29

question about oops and panic

From: Stratos Psomadakis <hidden>
Date: 2011-08-29 11:01:50

On 08/28/2011 08:19 PM, Parmenides wrote:
Hi,

1. I think oops and panic are both some way to deal with errors occurs
in kernel space. Is there any relationship between them?
afaik, the difference is that the panic is non-recoverable, and occurs
only in certain very critical situations
2. I make a NULL pointer reference deliberately in a kernel module and
get an oops like:

... ... ...

Aug 29 00:58:45 lfs kernel: Call Trace:
Aug 29 00:58:45 lfs kernel:  [<c100112d>] ? do_one_initcall+0x44/0x120
Aug 29 00:58:45 lfs kernel:  [<c10517ce>] ? sys_init_module+0xa7/0x1d9
Aug 29 00:58:45 lfs kernel:  [<c138d49d>] ? syscall_call+0x7/0xb

... ... ...

I wonder what is the meaning of the tow numbers after a function name.
the first one is the offset within the function that the error occurred,
and the second one I think it is the function size (you'll usually need
only the first one for debugging)

-- 
Stratos Psomadakis
[off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help