Re: Kernel crashing and log buffers...

2009-06-26 Thread Robin Getz
On Fri 26 Jun 2009 13:42, David VomLehn pondered: > On Fri, Jun 26, 2009 at 10:39:50AM -0400, Robin Getz wrote: > > OK - so after a bit more digging into things (and a poke by Mike) - I > think > > most of the stuff already exists. > > > > Normal run time issues: > > -- >

Re: Kernel crashing and log buffers...

2009-06-26 Thread Mike Frysinger
On Fri, Jun 26, 2009 at 13:42, David VomLehn wrote: > On Fri, Jun 26, 2009 at 10:39:50AM -0400, Robin Getz wrote: >> OK - so after a bit more digging into things (and a poke by Mike) - I think >> most of the stuff already exists. >> >> Normal run time issues: >> -- >>  - MTD

Re: Kernel crashing and log buffers...

2009-06-26 Thread David VomLehn
On Fri, Jun 26, 2009 at 10:39:50AM -0400, Robin Getz wrote: > OK - so after a bit more digging into things (and a poke by Mike) - I think > most of the stuff already exists. > > Normal run time issues: > -- > - MTD_OOPS - on 2007-06-28 this was added to Linus's tree: >

Re: Kernel crashing and log buffers...

2009-06-26 Thread Robin Getz
OK - so after a bit more digging into things (and a poke by Mike) - I think most of the stuff already exists. Normal run time issues: -- - MTD_OOPS - on 2007-06-28 this was added to Linus's tree: http://lkml.org/lkml/2007/6/18/234 CONFIG_MTD_OOPS tristate "

Re: Kernel crashing and log buffers...

2009-06-14 Thread Robin Getz
On Sat 13 Jun 2009 14:59, Wolfgang Denk pondered: > Dear Russell King, > > In message <20090613102642.gb7...@flint.arm.linux.org.uk> you wrote: > > > > The other way I've seen people read out crash messages is using a > > debugger to dump the kernel's log buffer directly. That seems to work > > a

Re: Kernel crashing and log buffers...

2009-06-13 Thread Wolfgang Denk
Dear Russell King, In message <20090613102642.gb7...@flint.arm.linux.org.uk> you wrote: > > The other way I've seen people read out crash messages is using a > debugger to dump the kernel's log buffer directly. That seems to work > as well as any other method, and has the advantage that it doesn'

Re: Kernel crashing and log buffers...

2009-06-13 Thread Jamie Lokier
Robin Getz wrote: > - late crash analysis - Sometimes - even after the kernel is up >and running properly - a device driver does a bad thing. >Normally - complete kernel dumps can come out a serial >console, and you can you your favourite serial application >to scroll back and det

Re: Kernel crashing and log buffers...

2009-06-13 Thread Russell King
On Wed, Jun 10, 2009 at 09:26:40PM -0400, Robin Getz wrote: > I would be interested in Paul and Russell - how have you solved this issue? > (Or do your kernel's never crash? :) We haven't any dedicated solution to reading out the crash messages. What we do have is a very basic platform specific

Re: Kernel crashing and log buffers...

2009-06-11 Thread Wolfgang Denk
Dear David VomLehn, In message <20090612003302.ga23...@cuplxvomd02.corp.sa.net> you wrote: > > > However, the value and what's being proposed here and what I and others > > proposed--at least in the embedded kingdom--seems high and the features and > > implementation needn't be mutually exclusive.

Re: Kernel crashing and log buffers...

2009-06-11 Thread Robin Getz
On Thu 11 Jun 2009 21:07, David VomLehn pondered: > It may be helpful if you can say a bit more about > the problem you are trying to solve. Yeah, I guess defining the goals is a good place to start (and the hardest to come to agreement on). - early crash analysis - before the kernel has set up

Re: Kernel crashing and log buffers...

2009-06-11 Thread David VomLehn
On Thu, Jun 11, 2009 at 07:27:16PM -0400, Mike Frysinger wrote: > On Thu, Jun 11, 2009 at 13:53, David VomLehn wrote: > > On Wed, Jun 10, 2009 at 09:26:40PM -0400, Robin Getz wrote: ... > > Our kernel does crash, so we have to do this. I had submitted a patch a > > while ago that tweaks emit_log_ch

Re: Kernel crashing and log buffers...

2009-06-11 Thread David VomLehn
On Thu, Jun 11, 2009 at 03:57:56PM -0700, Grant Erickson wrote: > On 6/11/09 11:52 AM, Robin Getz wrote: > > On Thu 11 Jun 2009 13:53, David VomLehn pondered: > >> On Wed, Jun 10, 2009 at 09:26:40PM -0400, Robin Getz wrote: > >>> I would be interested in Paul and Russell - how have you solved this

Re: Kernel crashing and log buffers...

2009-06-11 Thread Mike Frysinger
On Thu, Jun 11, 2009 at 13:53, David VomLehn wrote: > On Wed, Jun 10, 2009 at 09:26:40PM -0400, Robin Getz wrote: >> On 17 Oct 2007, after much discussion and debate, Mike added add two new >> functions for reading the kernel log buffer (from kernel space). >> >> http://git.kernel.org/?p=linux/kern

Re: Kernel crashing and log buffers...

2009-06-11 Thread Grant Erickson
On 6/11/09 11:52 AM, Robin Getz wrote: > On Thu 11 Jun 2009 13:53, David VomLehn pondered: >> On Wed, Jun 10, 2009 at 09:26:40PM -0400, Robin Getz wrote: >>> I would be interested in Paul and Russell - how have you solved this >>> issue? (Or do your kernel's never crash? :) >> >> Our kernel does c

Re: Kernel crashing and log buffers...

2009-06-11 Thread David VomLehn
On Thu, Jun 11, 2009 at 11:22:57AM -0700, Tim Bird wrote: > David VomLehn wrote: > > Our kernel does crash, so we have to do this. I had submitted a patch a > > while ago that tweaks emit_log_char, but this was bounced, reasonably, > > because it would be interferring with the great majority of peo

Re: Kernel crashing and log buffers...

2009-06-11 Thread David VomLehn
On Thu, Jun 11, 2009 at 02:52:38PM -0400, Robin Getz wrote: > On Thu 11 Jun 2009 13:53, David VomLehn pondered: > > On Wed, Jun 10, 2009 at 09:26:40PM -0400, Robin Getz wrote: ... > > Our kernel does crash, so we have to do this. I had submitted a patch a > > while ago that tweaks emit_log_char, bu

Re: Kernel crashing and log buffers...

2009-06-11 Thread Robin Getz
On Thu 11 Jun 2009 13:53, David VomLehn pondered: > On Wed, Jun 10, 2009 at 09:26:40PM -0400, Robin Getz wrote: > > On 17 Oct 2007, after much discussion and debate, Mike added add > > two new functions for reading the kernel log buffer (from kernel space). > > http://git.kernel.org/?p=linux/kern

Re: Kernel crashing and log buffers...

2009-06-11 Thread Tim Bird
David VomLehn wrote: > Our kernel does crash, so we have to do this. I had submitted a patch a > while ago that tweaks emit_log_char, but this was bounced, reasonably, > because it would be interferring with the great majority of people who > are not interested in capturing log output. The suggesti

Re: Kernel crashing and log buffers...

2009-06-11 Thread David VomLehn
On Wed, Jun 10, 2009 at 09:26:40PM -0400, Robin Getz wrote: > On 17 Oct 2007, after much discussion and debate, Mike added add two new > functions for reading the kernel log buffer (from kernel space). > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0b15d04af3dd996

Kernel crashing and log buffers...

2009-06-10 Thread Robin Getz
On 17 Oct 2007, after much discussion and debate, Mike added add two new functions for reading the kernel log buffer (from kernel space). http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0b15d04af3dd996035d8fa81fc849d049171f9c3 The intention was for them to be used by