mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Documentation: ksymoops should no longer be used to decode Oops messages
@ 2005-10-05 20:39 Jesper Juhl
  2005-10-05 21:28 ` Alexey Dobriyan
  2005-10-06 15:49 ` Kalin KOZHUHAROV
  0 siblings, 2 replies; 7+ messages in thread
From: Jesper Juhl @ 2005-10-05 20:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: Chris Ricker, chris.ricker, Linus Torvalds

Document the fact that ksymoops should no longer be used to decode Oops
messages.


Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
---

 Documentation/Changes |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

--- linux-2.6.14-rc3-git5-orig/Documentation/Changes	2005-10-03 21:54:50.000000000 +0200
+++ linux-2.6.14-rc3-git5/Documentation/Changes	2005-10-05 22:35:44.000000000 +0200
@@ -31,7 +31,7 @@
 Eine deutsche Version dieser Datei finden Sie unter
 <http://www.stefan-winter.de/Changes-2.4.0.txt>.
 
-Last updated: October 29th, 2002
+Last updated: October 05th, 2005
 
 Chris Ricker (kaboom@gatech.edu or chris.ricker@genetics.utah.edu).
 
@@ -139,9 +139,8 @@
 Ksymoops
 --------
 
-If the unthinkable happens and your kernel oopses, you'll need a 2.4
-version of ksymoops to decode the report; see REPORTING-BUGS in the
-root of the Linux source for more information.
+With a 2.4 kernel you need ksymoops to decode a kernel Oops message. With
+2.6 kernels ksymoops is no longer needed and should not be used.
 
 Module-Init-Tools
 -----------------

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

* Re: [PATCH] Documentation: ksymoops should no longer be used to decode Oops messages
  2005-10-05 21:28 ` Alexey Dobriyan
@ 2005-10-05 21:28   ` Jesper Juhl
  0 siblings, 0 replies; 7+ messages in thread
From: Jesper Juhl @ 2005-10-05 21:28 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: linux-kernel, Chris Ricker, chris.ricker, Linus Torvalds

On Wednesday 05 October 2005 23:28, Alexey Dobriyan wrote:
> On Wed, Oct 05, 2005 at 10:39:43PM +0200, Jesper Juhl wrote:
> > Document the fact that ksymoops should no longer be used to decode Oops
> > messages.
> 
> If it's considered harmful, better remove all references to ksymoops.
> 2.4 users will happily grab their copy of this file from 2.4 tree.
> 

I opted to keep the entry but make an explicit note that ksymoops should not
be used for 2.6 kernels to make it clear. There are still people who use 
ksymoops on 2.6 Oops messages, so I thought it would make sense to keep the
entry but make it clear that you should /not/ do that.

But, I'm fine with removing it as well.

> >  Ksymoops
> >  --------
> >  
> > -If the unthinkable happens and your kernel oopses, you'll need a 2.4
> > -version of ksymoops to decode the report; see REPORTING-BUGS in the
> > -root of the Linux source for more information.
> > +With a 2.4 kernel you need ksymoops to decode a kernel Oops message. With
> > +2.6 kernels ksymoops is no longer needed and should not be used.
> 

Here's a patch to remove the Ksymoops entry instead.

I'll leave it up to the powers that be to sprinkle holy penguin pee on the
preferred version.



Ksymoops should not be used on 2.6 Oops messages, so remove the ksymoops entry
from Documentation/Changes

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
---

 Documentation/Changes |    9 +--------
 1 files changed, 1 insertion(+), 8 deletions(-)

--- linux-2.6.14-rc3-git5-orig/Documentation/Changes	2005-10-03 21:54:50.000000000 +0200
+++ linux-2.6.14-rc3-git5/Documentation/Changes	2005-10-05 23:21:45.000000000 +0200
@@ -31,7 +31,7 @@
 Eine deutsche Version dieser Datei finden Sie unter
 <http://www.stefan-winter.de/Changes-2.4.0.txt>.
 
-Last updated: October 29th, 2002
+Last updated: October 05th, 2005
 
 Chris Ricker (kaboom@gatech.edu or chris.ricker@genetics.utah.edu).
 
@@ -136,13 +136,6 @@
 types, have a fdformat which works with 2.4 kernels, and similar goodies.
 You'll probably want to upgrade.
 
-Ksymoops
---------
-
-If the unthinkable happens and your kernel oopses, you'll need a 2.4
-version of ksymoops to decode the report; see REPORTING-BUGS in the
-root of the Linux source for more information.
-
 Module-Init-Tools
 -----------------
 



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

* Re: [PATCH] Documentation: ksymoops should no longer be used to decode Oops messages
  2005-10-05 20:39 [PATCH] Documentation: ksymoops should no longer be used to decode Oops messages Jesper Juhl
@ 2005-10-05 21:28 ` Alexey Dobriyan
  2005-10-05 21:28   ` Jesper Juhl
  2005-10-06 15:49 ` Kalin KOZHUHAROV
  1 sibling, 1 reply; 7+ messages in thread
From: Alexey Dobriyan @ 2005-10-05 21:28 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: linux-kernel, Chris Ricker, chris.ricker, Linus Torvalds

On Wed, Oct 05, 2005 at 10:39:43PM +0200, Jesper Juhl wrote:
> Document the fact that ksymoops should no longer be used to decode Oops
> messages.

If it's considered harmful, better remove all references to ksymoops.
2.4 users will happily grab their copy of this file from 2.4 tree.

>  Ksymoops
>  --------
>  
> -If the unthinkable happens and your kernel oopses, you'll need a 2.4
> -version of ksymoops to decode the report; see REPORTING-BUGS in the
> -root of the Linux source for more information.
> +With a 2.4 kernel you need ksymoops to decode a kernel Oops message. With
> +2.6 kernels ksymoops is no longer needed and should not be used.


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

* Re: [PATCH] Documentation: ksymoops should no longer be used to decode Oops messages
  2005-10-05 20:39 [PATCH] Documentation: ksymoops should no longer be used to decode Oops messages Jesper Juhl
  2005-10-05 21:28 ` Alexey Dobriyan
@ 2005-10-06 15:49 ` Kalin KOZHUHAROV
  2005-10-06 15:59   ` Randy.Dunlap
                     ` (2 more replies)
  1 sibling, 3 replies; 7+ messages in thread
From: Kalin KOZHUHAROV @ 2005-10-06 15:49 UTC (permalink / raw)
  To: linux-kernel

Jesper Juhl wrote:
> Document the fact that ksymoops should no longer be used to decode Oops
> messages.
> 
> 
> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
> ---
> 
>  Documentation/Changes |    7 +++----
>  1 files changed, 3 insertions(+), 4 deletions(-)
> 
> --- linux-2.6.14-rc3-git5-orig/Documentation/Changes	2005-10-03 21:54:50.000000000 +0200
> +++ linux-2.6.14-rc3-git5/Documentation/Changes	2005-10-05 22:35:44.000000000 +0200
> @@ -31,7 +31,7 @@
>  Eine deutsche Version dieser Datei finden Sie unter
>  <http://www.stefan-winter.de/Changes-2.4.0.txt>.
>  
> -Last updated: October 29th, 2002
> +Last updated: October 05th, 2005
>  
>  Chris Ricker (kaboom@gatech.edu or chris.ricker@genetics.utah.edu).
>  
> @@ -139,9 +139,8 @@
>  Ksymoops
>  --------
>  
> -If the unthinkable happens and your kernel oopses, you'll need a 2.4
> -version of ksymoops to decode the report; see REPORTING-BUGS in the
> -root of the Linux source for more information.
> +With a 2.4 kernel you need ksymoops to decode a kernel Oops message. With
> +2.6 kernels ksymoops is no longer needed and should not be used.
>  
>  Module-Init-Tools
>  -----------------

OK, but what should I use then with 2.6??
And since when is ksymoops not usable with it?
I have reported quite a few times here, alaways with 2.6.x and nobody said anything about it...

Kalin.

-- 
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|


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

* Re: [PATCH] Documentation: ksymoops should no longer be used to decode Oops messages
  2005-10-06 15:49 ` Kalin KOZHUHAROV
@ 2005-10-06 15:59   ` Randy.Dunlap
  2005-10-06 16:09   ` Jesper Juhl
  2005-10-06 16:48   ` Alexey Dobriyan
  2 siblings, 0 replies; 7+ messages in thread
From: Randy.Dunlap @ 2005-10-06 15:59 UTC (permalink / raw)
  To: Kalin KOZHUHAROV; +Cc: linux-kernel

On Fri, 7 Oct 2005, Kalin KOZHUHAROV wrote:

> Jesper Juhl wrote:
> > Document the fact that ksymoops should no longer be used to decode Oops
> > messages.
> >
> >
> > Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
> > ---
> >
> >  Documentation/Changes |    7 +++----
> >  1 files changed, 3 insertions(+), 4 deletions(-)
> >
> > --- linux-2.6.14-rc3-git5-orig/Documentation/Changes	2005-10-03 21:54:50.000000000 +0200
> > +++ linux-2.6.14-rc3-git5/Documentation/Changes	2005-10-05 22:35:44.000000000 +0200
> > @@ -31,7 +31,7 @@
> >  Eine deutsche Version dieser Datei finden Sie unter
> >  <http://www.stefan-winter.de/Changes-2.4.0.txt>.
> >
> > -Last updated: October 29th, 2002
> > +Last updated: October 05th, 2005
> >
> >  Chris Ricker (kaboom@gatech.edu or chris.ricker@genetics.utah.edu).
> >
> > @@ -139,9 +139,8 @@
> >  Ksymoops
> >  --------
> >
> > -If the unthinkable happens and your kernel oopses, you'll need a 2.4
> > -version of ksymoops to decode the report; see REPORTING-BUGS in the
> > -root of the Linux source for more information.
> > +With a 2.4 kernel you need ksymoops to decode a kernel Oops message. With
> > +2.6 kernels ksymoops is no longer needed and should not be used.
> >
> >  Module-Init-Tools
> >  -----------------
>
> OK, but what should I use then with 2.6??
> And since when is ksymoops not usable with it?
> I have reported quite a few times here, alaways with 2.6.x and nobody said anything about it...

You should just enable CONFIG_KALLSYMS so that the kernel can
report (decode) the symbols with the oops message.

Yes, ksymoops will still work, but it should only be used if
the kernel was not configured with CONFIG_KALLSYMS, and some
people say that the kernel oops + symbols are better than
the ksymoops output.  I haven't compared them so can't say.

-- 
~Randy

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

* Re: [PATCH] Documentation: ksymoops should no longer be used to decode Oops messages
  2005-10-06 15:49 ` Kalin KOZHUHAROV
  2005-10-06 15:59   ` Randy.Dunlap
@ 2005-10-06 16:09   ` Jesper Juhl
  2005-10-06 16:48   ` Alexey Dobriyan
  2 siblings, 0 replies; 7+ messages in thread
From: Jesper Juhl @ 2005-10-06 16:09 UTC (permalink / raw)
  To: Kalin KOZHUHAROV; +Cc: linux-kernel

On 10/6/05, Kalin KOZHUHAROV <kalin@thinrope.net> wrote:
> Jesper Juhl wrote:
> > Document the fact that ksymoops should no longer be used to decode Oops
> > messages.
> >
[snip]
>
> OK, but what should I use then with 2.6??

Nothing at all.
Just post the raw Oops message as-is (from console or dmesg).

> And since when is ksymoops not usable with it?

At least since 2003 and the 2.5 kernel series.
The oldest reference I could find in the archives is an email by Dave
Jones dating back to Mon Apr 14 2003 - 14:31:44 EST
http://www.uwsg.iu.edu/hypermail/linux/kernel/0304.1/1533.html

The interresting part of that mail is this bit

"Merging of kksymoops means that the kernel will now spit out
 automatically decoded oopses (no more feeding them to ksymoops).
 For this reason, you should always enable the option in the
 kernel hacking menu labelled "Load all symbols for debugging/kksymoops".
"

> I have reported quite a few times here, alaways with 2.6.x and nobody said anything about it...

They should have.

Please read a recent Documentation/oops-tracing.txt (here's a link:
http://sosdg.org/~coywolf/lxr/source/Documentation/oops-tracing.txt?v=2.6.14-rc2
)

See the note at the top :

"NOTE: ksymoops is useless on 2.6.  Please use the Oops in its original format
 (from dmesg, etc).  Ignore any references in this or other docs to "decoding
 the Oops" or "running it through ksymoops".  If you post an Oops fron 2.6 that
 has been run through ksymoops, people will just tell you to repost it.
"


--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

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

* Re: [PATCH] Documentation: ksymoops should no longer be used to decode Oops messages
  2005-10-06 15:49 ` Kalin KOZHUHAROV
  2005-10-06 15:59   ` Randy.Dunlap
  2005-10-06 16:09   ` Jesper Juhl
@ 2005-10-06 16:48   ` Alexey Dobriyan
  2 siblings, 0 replies; 7+ messages in thread
From: Alexey Dobriyan @ 2005-10-06 16:48 UTC (permalink / raw)
  To: Kalin KOZHUHAROV; +Cc: linux-kernel

On Fri, Oct 07, 2005 at 12:49:48AM +0900, Kalin KOZHUHAROV wrote:
> > Ksymoops
> > --------
> >
> >-If the unthinkable happens and your kernel oopses, you'll need a 2.4
> >-version of ksymoops to decode the report; see REPORTING-BUGS in the
> >-root of the Linux source for more information.
> >+With a 2.4 kernel you need ksymoops to decode a kernel Oops message. With
> >+2.6 kernels ksymoops is no longer needed and should not be used.

> OK, but what should I use then with 2.6??

Raw Oops output. From logs, serial console, monitor photoed with
digital camera, copied to paper with pencil...


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

end of thread, other threads:[~2005-10-06 16:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-05 20:39 [PATCH] Documentation: ksymoops should no longer be used to decode Oops messages Jesper Juhl
2005-10-05 21:28 ` Alexey Dobriyan
2005-10-05 21:28   ` Jesper Juhl
2005-10-06 15:49 ` Kalin KOZHUHAROV
2005-10-06 15:59   ` Randy.Dunlap
2005-10-06 16:09   ` Jesper Juhl
2005-10-06 16:48   ` Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome