public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mtdoops: helper application for readout?
@ 2013-02-14 11:40 Alexander Stein
  2013-02-20  0:26 ` Brian Norris
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Stein @ 2013-02-14 11:40 UTC (permalink / raw)
  To: linux-mtd

Hello,

is there already some helper application which can shows the stored oops/panics with mtdoops?

Best regards,
Alexander

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

* Re: mtdoops: helper application for readout?
  2013-02-14 11:40 mtdoops: helper application for readout? Alexander Stein
@ 2013-02-20  0:26 ` Brian Norris
  2013-02-20  5:25   ` Richard Purdie
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Brian Norris @ 2013-02-20  0:26 UTC (permalink / raw)
  To: Alexander Stein; +Cc: linux-mtd, Richard Purdie

On Thu, Feb 14, 2013 at 3:40 AM, Alexander Stein
<alexander.stein@systec-electronic.com> wrote:
> is there already some helper application which can shows the stored oops/panics with mtdoops?

After a bit of googling, it looks like there are scattered URL
references to a no-longer-available "oopslog.c", written by the author
of mtdoops, Richard Purdie. I CC'd him at his last-known address from
the git logs, but he doesn't seem to have touched this in a while.

AFAIK, the output from mtdoops is just plain text data (not
compressed), so you can just dump it straight from the /dev/mtdX
(where X is the MTD number) with something like 'cat /dev/mtdX'. Of
course, that will not account for when the ring buffer wraps around
nor if there are bad blocks.

Brian

P.S. With a little more digging, I found a source tarball in the Maemo
archives that contains oopslog.c. It's a very simple program, and I
haven't tested it. Use at your own risk:

http://maemo.org/packages/view/sp-oops-extract/

http://repository.maemo.org/pool/maemo5.0/free/s/sp-oops-extract/sp-oops-extract_0.0.7-1.tar.gz

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

* Re: mtdoops: helper application for readout?
  2013-02-20  0:26 ` Brian Norris
@ 2013-02-20  5:25   ` Richard Purdie
  2013-02-20 10:51   ` Alexander Stein
  2014-11-17 11:32   ` Ranjith
  2 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2013-02-20  5:25 UTC (permalink / raw)
  To: Brian Norris; +Cc: linux-mtd, Richard Purdie, Alexander Stein

On Tue, 2013-02-19 at 16:26 -0800, Brian Norris wrote:
> On Thu, Feb 14, 2013 at 3:40 AM, Alexander Stein
> <alexander.stein@systec-electronic.com> wrote:
> > is there already some helper application which can shows the stored oops/panics with mtdoops?
> 
> After a bit of googling, it looks like there are scattered URL
> references to a no-longer-available "oopslog.c", written by the author
> of mtdoops, Richard Purdie. I CC'd him at his last-known address from
> the git logs, but he doesn't seem to have touched this in a while.
> 
> AFAIK, the output from mtdoops is just plain text data (not
> compressed), so you can just dump it straight from the /dev/mtdX
> (where X is the MTD number) with something like 'cat /dev/mtdX'. Of
> course, that will not account for when the ring buffer wraps around
> nor if there are bad blocks.
> 
> Brian
> 
> P.S. With a little more digging, I found a source tarball in the Maemo
> archives that contains oopslog.c. It's a very simple program, and I
> haven't tested it. Use at your own risk:
> 
> http://maemo.org/packages/view/sp-oops-extract/
> 
> http://repository.maemo.org/pool/maemo5.0/free/s/sp-oops-extract/sp-oops-extract_0.0.7-1.tar.gz

You've found the code that works with that setup, I haven't touched it
in a long time...

Cheers,

Richard

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

* Re: mtdoops: helper application for readout?
  2013-02-20  0:26 ` Brian Norris
  2013-02-20  5:25   ` Richard Purdie
@ 2013-02-20 10:51   ` Alexander Stein
  2014-11-17 11:32   ` Ranjith
  2 siblings, 0 replies; 5+ messages in thread
From: Alexander Stein @ 2013-02-20 10:51 UTC (permalink / raw)
  To: Brian Norris; +Cc: linux-mtd, Richard Purdie

On Tuesday 19 February 2013 16:26:54, Brian Norris wrote:
> On Thu, Feb 14, 2013 at 3:40 AM, Alexander Stein
> <alexander.stein@systec-electronic.com> wrote:
> > is there already some helper application which can shows the stored oops/panics with mtdoops?
> 
> After a bit of googling, it looks like there are scattered URL
> references to a no-longer-available "oopslog.c", written by the author
> of mtdoops, Richard Purdie. I CC'd him at his last-known address from
> the git logs, but he doesn't seem to have touched this in a while.
> 
> AFAIK, the output from mtdoops is just plain text data (not
> compressed), so you can just dump it straight from the /dev/mtdX
> (where X is the MTD number) with something like 'cat /dev/mtdX'. Of
> course, that will not account for when the ring buffer wraps around
> nor if there are bad blocks.
> 
> Brian
> 
> P.S. With a little more digging, I found a source tarball in the Maemo
> archives that contains oopslog.c. It's a very simple program, and I
> haven't tested it. Use at your own risk:
> 
> http://maemo.org/packages/view/sp-oops-extract/
> 
> http://repository.maemo.org/pool/maemo5.0/free/s/sp-oops-extract/sp-oops-extract_0.0.7-1.tar.gz

Ah, sp-oops-extract seems to be what I looked for. Thanks a lot!

Alexander

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

* Re: mtdoops: helper application for readout?
  2013-02-20  0:26 ` Brian Norris
  2013-02-20  5:25   ` Richard Purdie
  2013-02-20 10:51   ` Alexander Stein
@ 2014-11-17 11:32   ` Ranjith
  2 siblings, 0 replies; 5+ messages in thread
From: Ranjith @ 2014-11-17 11:32 UTC (permalink / raw)
  To: linux-mtd

Brian Norris <computersforpeace <at> gmail.com> writes:

> 
> On Thu, Feb 14, 2013 at 3:40 AM, Alexander Stein
> <alexander.stein <at> systec-electronic.com> wrote:
> > is there already some helper application which can shows the stored 
oops/panics with mtdoops?
> 
> After a bit of googling, it looks like there are scattered URL
> references to a no-longer-available "oopslog.c", written by the author
> of mtdoops, Richard Purdie. I CC'd him at his last-known address from
> the git logs, but he doesn't seem to have touched this in a while.
> 
> AFAIK, the output from mtdoops is just plain text data (not
> compressed), so you can just dump it straight from the /dev/mtdX
> (where X is the MTD number) with something like 'cat /dev/mtdX'. Of
> course, that will not account for when the ring buffer wraps around
> nor if there are bad blocks.
> 
> Brian
> 
> P.S. With a little more digging, I found a source tarball in the Maemo
> archives that contains oopslog.c. It's a very simple program, and I
> haven't tested it. Use at your own risk:
> 
> http://maemo.org/packages/view/sp-oops-extract/
> 
> http://repository.maemo.org/pool/maemo5.0/free/s/sp-oops-extract/sp-oops-
extract_0.0.7-1.tar.gz
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
> 



Hi Brain,
Have you changed anything in the mtdoops.c driver and how are running this 
application ..i have used it as in-build(static driver) module.i dint do any 
changes and i used the application with ./oops /dev/mtd4.here mtd4 id 
FLOG(nor memory).Do i need to map with any command or how.can you tell me 
the procedure for enabling the mtdoops and mapping to Nor flas and how to 
run the application.

Thanks in Advance.

Ranjith.  
> 

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

end of thread, other threads:[~2014-11-17 12:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-14 11:40 mtdoops: helper application for readout? Alexander Stein
2013-02-20  0:26 ` Brian Norris
2013-02-20  5:25   ` Richard Purdie
2013-02-20 10:51   ` Alexander Stein
2014-11-17 11:32   ` Ranjith

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