From: s.psomadakis@gmail.com (Stratos Psomadakis)
To: kernelnewbies@lists.kernelnewbies.org
Subject: question about oops and panic
Date: Mon, 29 Aug 2011 14:01:50 +0300 [thread overview]
Message-ID: <4E5B719E.9020008@gmail.com> (raw)
In-Reply-To: <CAOXENUgt1dk4qQwiuR6JO867Saw=q+oZW+V-dGUSjn5=fQSAWg@mail.gmail.com>
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
<s.psomadakis@gmail.com>
next prev parent reply other threads:[~2011-08-29 11:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-28 17:19 question about oops and panic Parmenides
2011-08-29 10:51 ` anish singh
2011-08-29 11:01 ` Mandeep Sandhu
2011-08-29 11:05 ` anish singh
2011-08-29 11:14 ` sandeep kumar
2011-08-29 11:01 ` Stratos Psomadakis [this message]
2011-08-29 13:49 ` Christopher Harvey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5B719E.9020008@gmail.com \
--to=s.psomadakis@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.