All of lore.kernel.org
 help / color / mirror / Atom feed
* What is the difference between a kernel BUG and a kernel Oops?
@ 2012-03-03  9:38 hujun_hotmail
  2012-03-03 10:55 ` michi1 at michaelblizek.twilightparadox.com
  0 siblings, 1 reply; 3+ messages in thread
From: hujun_hotmail @ 2012-03-03  9:38 UTC (permalink / raw)
  To: kernelnewbies

I want to know what is the difference between a kernel BUG and a kernel Oops , who can tell me?

thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120303/7e60e8f0/attachment.html 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* What is the difference between a kernel BUG and a kernel Oops?
  2012-03-03  9:38 What is the difference between a kernel BUG and a kernel Oops? hujun_hotmail
@ 2012-03-03 10:55 ` michi1 at michaelblizek.twilightparadox.com
  2012-03-03 13:49   ` hujun_hotmail
  0 siblings, 1 reply; 3+ messages in thread
From: michi1 at michaelblizek.twilightparadox.com @ 2012-03-03 10:55 UTC (permalink / raw)
  To: kernelnewbies

Hi!

On 17:38 Sat 03 Mar     , hujun_hotmail wrote:
> I want to know what is the difference between a kernel BUG and a kernel Oops , who can tell me?

A BUG() is something like an assertion. Basically this means that a developer
thought that a certain situation should never be happen and if it does,
execution should stop. It is possible to ignore this and continue executing:

config BUG
        bool "BUG() support" if EXPERT
        default y
        help
          Disabling this option eliminates support for BUG and WARN, reducing
          the size of your kernel image and potentially quietly ignoring
          numerous fatal conditions. You should only consider disabling this
          option for embedded systems with no facilities for reporting errors.
          Just say Y.

A kernel oops is basically a crash. This can be caused by bad memory accesses
and things like that.

	-Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* What is the difference between a kernel BUG and a kernel Oops?
  2012-03-03 10:55 ` michi1 at michaelblizek.twilightparadox.com
@ 2012-03-03 13:49   ` hujun_hotmail
  0 siblings, 0 replies; 3+ messages in thread
From: hujun_hotmail @ 2012-03-03 13:49 UTC (permalink / raw)
  To: kernelnewbies

very professional!

--------------------------------------------------
From: <michi1@michaelblizek.twilightparadox.com>
Sent: Saturday, March 03, 2012 6:55 PM
To: "hujun_hotmail" <duanshuidao@hotmail.com>
Cc: "newbies kenel" <kernelnewbies@kernelnewbies.org>
Subject: Re: What is the difference between a kernel BUG and a kernel Oops?

> Hi!
>
> On 17:38 Sat 03 Mar     , hujun_hotmail wrote:
>> I want to know what is the difference between a kernel BUG and a kernel 
>> Oops , who can tell me?
>
> A BUG() is something like an assertion. Basically this means that a 
> developer
> thought that a certain situation should never be happen and if it does,
> execution should stop. It is possible to ignore this and continue 
> executing:
>
> config BUG
>        bool "BUG() support" if EXPERT
>        default y
>        help
>          Disabling this option eliminates support for BUG and WARN, 
> reducing
>          the size of your kernel image and potentially quietly ignoring
>          numerous fatal conditions. You should only consider disabling 
> this
>          option for embedded systems with no facilities for reporting 
> errors.
>          Just say Y.
>
> A kernel oops is basically a crash. This can be caused by bad memory 
> accesses
> and things like that.
>
> -Michi
> -- 
> programing a layer 3+4 network protocol for mesh networks
> see http://michaelblizek.twilightparadox.com
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-03 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03  9:38 What is the difference between a kernel BUG and a kernel Oops? hujun_hotmail
2012-03-03 10:55 ` michi1 at michaelblizek.twilightparadox.com
2012-03-03 13:49   ` hujun_hotmail

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.