* capturing oopses
@ 2005-11-22 13:07 Folkert van Heusden
2005-11-22 14:08 ` bert hubert
` (2 more replies)
0 siblings, 3 replies; 17+ messages in thread
From: Folkert van Heusden @ 2005-11-22 13:07 UTC (permalink / raw)
To: linux-kernel
Hi,
My 2.6.14 system occasionally crashes; gives a kernel panic. Of course I
would like to report it. Now the system locks up hard so I can't copy
the stacktrace. The crash dump patches mentioned in oops-tracing.txt all
don't work for 2.6.14 it seems. So: what should I do? Get my digicam and
take a picture of the display?
Folkert van Heusden
--
Try MultiTail! Multiple windows with logfiles, filtered with regular
expressions, colored output, etc. etc. www.vanheusden.com/multitail/
----------------------------------------------------------------------
Get your PGP/GPG key signed at www.biglumber.com!
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: capturing oopses
2005-11-22 13:07 capturing oopses Folkert van Heusden
@ 2005-11-22 14:08 ` bert hubert
2005-11-23 1:27 ` Brice Goglin
2005-11-23 10:55 ` Folkert van Heusden
2005-11-26 15:56 ` Adrian Bunk
2005-11-28 5:11 ` Maneesh Soni
2 siblings, 2 replies; 17+ messages in thread
From: bert hubert @ 2005-11-22 14:08 UTC (permalink / raw)
To: Folkert van Heusden; +Cc: linux-kernel
On Tue, Nov 22, 2005 at 02:07:54PM +0100, Folkert van Heusden wrote:
> My 2.6.14 system occasionally crashes; gives a kernel panic. Of course I
> would like to report it. Now the system locks up hard so I can't copy
> the stacktrace. The crash dump patches mentioned in oops-tracing.txt all
> don't work for 2.6.14 it seems. So: what should I do? Get my digicam and
> take a picture of the display?
Try the serial port- you can get a copy of the console on ttyS0.
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://netherlabs.nl Open and Closed source services
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: capturing oopses
2005-11-22 14:08 ` bert hubert
@ 2005-11-23 1:27 ` Brice Goglin
2005-11-23 10:55 ` Folkert van Heusden
1 sibling, 0 replies; 17+ messages in thread
From: Brice Goglin @ 2005-11-23 1:27 UTC (permalink / raw)
To: Folkert van Heusden; +Cc: bert hubert, linux-kernel
bert hubert wrote:
>On Tue, Nov 22, 2005 at 02:07:54PM +0100, Folkert van Heusden wrote:
>
>
>>My 2.6.14 system occasionally crashes; gives a kernel panic. Of course I
>>would like to report it. Now the system locks up hard so I can't copy
>>the stacktrace. The crash dump patches mentioned in oops-tracing.txt all
>>don't work for 2.6.14 it seems. So: what should I do? Get my digicam and
>>take a picture of the display?
>>
>>
>
>Try the serial port- you can get a copy of the console on ttyS0.
>
>
>
netconsole works great too.
Brice
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: capturing oopses
2005-11-22 14:08 ` bert hubert
2005-11-23 1:27 ` Brice Goglin
@ 2005-11-23 10:55 ` Folkert van Heusden
2005-11-23 11:17 ` bert hubert
1 sibling, 1 reply; 17+ messages in thread
From: Folkert van Heusden @ 2005-11-23 10:55 UTC (permalink / raw)
To: bert hubert, linux-kernel
> > My 2.6.14 system occasionally crashes; gives a kernel panic. Of course I
> > would like to report it. Now the system locks up hard so I can't copy
> > the stacktrace. The crash dump patches mentioned in oops-tracing.txt all
> > don't work for 2.6.14 it seems. So: what should I do? Get my digicam and
> > take a picture of the display?
> Try the serial port- you can get a copy of the console on ttyS0.
No serial ports free unfortunately.
Folkert van Heusden
--
Try MultiTail! Multiple windows with logfiles, filtered with regular
expressions, colored output, etc. etc. www.vanheusden.com/multitail/
----------------------------------------------------------------------
Get your PGP/GPG key signed at www.biglumber.com!
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: capturing oopses
2005-11-22 13:07 capturing oopses Folkert van Heusden
2005-11-22 14:08 ` bert hubert
@ 2005-11-26 15:56 ` Adrian Bunk
2005-11-26 19:33 ` Ville Herva
2005-11-28 5:11 ` Maneesh Soni
2 siblings, 1 reply; 17+ messages in thread
From: Adrian Bunk @ 2005-11-26 15:56 UTC (permalink / raw)
To: Folkert van Heusden; +Cc: linux-kernel
On Tue, Nov 22, 2005 at 02:07:54PM +0100, Folkert van Heusden wrote:
> Hi,
Hi Folkert,
> My 2.6.14 system occasionally crashes; gives a kernel panic. Of course I
> would like to report it. Now the system locks up hard so I can't copy
> the stacktrace. The crash dump patches mentioned in oops-tracing.txt all
> don't work for 2.6.14 it seems. So: what should I do? Get my digicam and
> take a picture of the display?
yes, digicams have become a common tool for reporting Oops'es.
> Folkert van Heusden
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: capturing oopses
2005-11-26 15:56 ` Adrian Bunk
@ 2005-11-26 19:33 ` Ville Herva
2005-11-28 4:41 ` Randy.Dunlap
0 siblings, 1 reply; 17+ messages in thread
From: Ville Herva @ 2005-11-26 19:33 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Folkert van Heusden, linux-kernel
On Sat, Nov 26, 2005 at 04:56:56PM +0100, you [Adrian Bunk] wrote:
> On Tue, Nov 22, 2005 at 02:07:54PM +0100, Folkert van Heusden wrote:
>
> > Hi,
>
> Hi Folkert,
>
> > My 2.6.14 system occasionally crashes; gives a kernel panic. Of course I
> > would like to report it. Now the system locks up hard so I can't copy
> > the stacktrace. The crash dump patches mentioned in oops-tracing.txt all
> > don't work for 2.6.14 it seems. So: what should I do? Get my digicam and
> > take a picture of the display?
>
> yes, digicams have become a common tool for reporting Oops'es.
Speaking of which, does anybody know a feasible (as in "not too much harder
than manually typing it in manually") way to OCR characters from vga text
mode screen captures - or even digican shots?
The vga text mode captures are from a remote administration interface (such
as HP RILOE or vmware gsx console) so they are pixel perfect and OCR should
be doable. The digican shots on the other hand... Well at least it would
have hack value :).
(My personal opinion is that Linus' unwillingness to include anything like
kmsgdump (http://www.xenotime.net/linux/kmsgdump/) is somewhat unfortunate.)
-- v --
v@iki.fi
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: capturing oopses
2005-11-26 19:33 ` Ville Herva
@ 2005-11-28 4:41 ` Randy.Dunlap
2005-11-28 16:20 ` mgross
0 siblings, 1 reply; 17+ messages in thread
From: Randy.Dunlap @ 2005-11-28 4:41 UTC (permalink / raw)
To: vherva; +Cc: bunk, folkert, linux-kernel
On Sat, 26 Nov 2005 21:33:58 +0200 Ville Herva wrote:
> On Sat, Nov 26, 2005 at 04:56:56PM +0100, you [Adrian Bunk] wrote:
> > On Tue, Nov 22, 2005 at 02:07:54PM +0100, Folkert van Heusden wrote:
> >
> > > Hi,
> >
> > Hi Folkert,
> >
> > > My 2.6.14 system occasionally crashes; gives a kernel panic. Of course I
> > > would like to report it. Now the system locks up hard so I can't copy
> > > the stacktrace. The crash dump patches mentioned in oops-tracing.txt all
> > > don't work for 2.6.14 it seems. So: what should I do? Get my digicam and
> > > take a picture of the display?
> >
> > yes, digicams have become a common tool for reporting Oops'es.
>
> Speaking of which, does anybody know a feasible (as in "not too much harder
> than manually typing it in manually") way to OCR characters from vga text
> mode screen captures - or even digican shots?
>
> The vga text mode captures are from a remote administration interface (such
> as HP RILOE or vmware gsx console) so they are pixel perfect and OCR should
> be doable. The digican shots on the other hand... Well at least it would
> have hack value :).
>
> (My personal opinion is that Linus' unwillingness to include anything like
> kmsgdump (http://www.xenotime.net/linux/kmsgdump/) is somewhat unfortunate.)
BTW, status of that: it needs a little work to be more reliable.
(It hangs sometimes when switching from protected to real mode.)
I'm hoping that some of the APIC/IOAPIC/PIC patches that are being
done for kdump will also help kmsgdump. I'll be working more on it
in the next few weeks/months.
so yes, when it's working, it's very useful IMO.
---
~Randy
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: capturing oopses
2005-11-28 4:41 ` Randy.Dunlap
@ 2005-11-28 16:20 ` mgross
2005-11-28 16:42 ` Christopher Friesen
2005-11-28 19:35 ` Ville Herva
0 siblings, 2 replies; 17+ messages in thread
From: mgross @ 2005-11-28 16:20 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: vherva, bunk, folkert, linux-kernel
On Sunday 27 November 2005 20:41, Randy.Dunlap wrote:
> On Sat, 26 Nov 2005 21:33:58 +0200 Ville Herva wrote:
> > On Sat, Nov 26, 2005 at 04:56:56PM +0100, you [Adrian Bunk] wrote:
> > > On Tue, Nov 22, 2005 at 02:07:54PM +0100, Folkert van Heusden wrote:
> > > > Hi,
> > >
> > > Hi Folkert,
> > >
> > > > My 2.6.14 system occasionally crashes; gives a kernel panic. Of
> > > > course I would like to report it. Now the system locks up hard so I
> > > > can't copy the stacktrace. The crash dump patches mentioned in
> > > > oops-tracing.txt all don't work for 2.6.14 it seems. So: what should
> > > > I do? Get my digicam and take a picture of the display?
> > >
> > > yes, digicams have become a common tool for reporting Oops'es.
> >
> > Speaking of which, does anybody know a feasible (as in "not too much
> > harder than manually typing it in manually") way to OCR characters from
> > vga text mode screen captures - or even digican shots?
> >
> > The vga text mode captures are from a remote administration interface
> > (such as HP RILOE or vmware gsx console) so they are pixel perfect and
> > OCR should be doable. The digican shots on the other hand... Well at
> > least it would have hack value :).
> >
> > (My personal opinion is that Linus' unwillingness to include anything
> > like kmsgdump (http://www.xenotime.net/linux/kmsgdump/) is somewhat
> > unfortunate.)
>
> BTW, status of that: it needs a little work to be more reliable.
> (It hangs sometimes when switching from protected to real mode.)
> I'm hoping that some of the APIC/IOAPIC/PIC patches that are being
> done for kdump will also help kmsgdump. I'll be working more on it
> in the next few weeks/months.
>
> so yes, when it's working, it's very useful IMO.
>
You know some platforms that perserve the memory above some addresses across
warm boots. For such platforms, one could reserve a buffer in that area can
copy the sys log buffer to it on panic along with a bit pattern that could be
searched for upon the next boot.
Additionally some platforms have flash parts that could be used as a
persistant store for such data in the same manner. I've done this on an
XScale platform using an ancient (2.4.10) kernel. I've always thought it
would be a handy thing for the newer kernels for PC's, if we could come up
with a semi-platform independent way of identifying a few pages that would
survive a warm boot.
--mgross
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: capturing oopses
2005-11-28 16:20 ` mgross
@ 2005-11-28 16:42 ` Christopher Friesen
2005-11-28 19:35 ` Ville Herva
1 sibling, 0 replies; 17+ messages in thread
From: Christopher Friesen @ 2005-11-28 16:42 UTC (permalink / raw)
To: mgross; +Cc: Randy.Dunlap, vherva, bunk, folkert, linux-kernel
mgross wrote:
> You know some platforms that perserve the memory above some addresses across
> warm boots. For such platforms, one could reserve a buffer in that area can
> copy the sys log buffer to it on panic along with a bit pattern that could be
> searched for upon the next boot.
I've worked on a few blades that had this. Serial console wasn't going
to be available in the field, so being able to just dump debug
information to persistent memory was really nice.
Chris
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: capturing oopses
2005-11-28 16:20 ` mgross
2005-11-28 16:42 ` Christopher Friesen
@ 2005-11-28 19:35 ` Ville Herva
1 sibling, 0 replies; 17+ messages in thread
From: Ville Herva @ 2005-11-28 19:35 UTC (permalink / raw)
To: mgross; +Cc: Randy.Dunlap, bunk, folkert, linux-kernel
On Mon, Nov 28, 2005 at 08:20:02AM -0800, you [mgross] wrote:
>
> You know some platforms that perserve the memory above some addresses across
> warm boots. For such platforms, one could reserve a buffer in that area can
> copy the sys log buffer to it on panic along with a bit pattern that could be
> searched for upon the next boot.
I think there was a patch to do this a couple of years ago.
The only references I can find now are:
http://groups.google.com/groups?q=%22Utility+module+to+capture+OOPS+output+over+reboot%22&hl=en&selm=fa.fbd0l7v.14hau3n%40ifi.uio.no&rnum=1)
http://marc.theaimsgroup.com/?l=linux-kernel&m=93077831203565&w=2
-- v --
v@iki.fi
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: capturing oopses
2005-11-22 13:07 capturing oopses Folkert van Heusden
2005-11-22 14:08 ` bert hubert
2005-11-26 15:56 ` Adrian Bunk
@ 2005-11-28 5:11 ` Maneesh Soni
2 siblings, 0 replies; 17+ messages in thread
From: Maneesh Soni @ 2005-11-28 5:11 UTC (permalink / raw)
To: Folkert van Heusden; +Cc: linux-kernel
On Tue, Nov 22, 2005 at 02:07:54PM +0100, Folkert van Heusden wrote:
> the stacktrace. The crash dump patches mentioned in oops-tracing.txt all
> don't work for 2.6.14 it seems. So: what should I do? Get my digicam and
could you try kdump (Documentation/kdump/kdump.txt) to capture the crash
dump. It is part of mainline kernel atleast for i386 architecture. It
should work for 2.6.14 also.
Thanks
Maneesh
--
Maneesh Soni
Linux Technology Center,
IBM India Software Labs,
Bangalore, India
email: maneesh@in.ibm.com
Phone: 91-80-25044990
^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <5bG4q-8ks-17@gated-at.bofh.it>]
end of thread, other threads:[~2005-11-28 19:35 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-22 13:07 capturing oopses Folkert van Heusden
2005-11-22 14:08 ` bert hubert
2005-11-23 1:27 ` Brice Goglin
2005-11-23 10:55 ` Folkert van Heusden
2005-11-23 11:17 ` bert hubert
2005-11-26 15:56 ` Adrian Bunk
2005-11-26 19:33 ` Ville Herva
2005-11-28 4:41 ` Randy.Dunlap
2005-11-28 16:20 ` mgross
2005-11-28 16:42 ` Christopher Friesen
2005-11-28 19:35 ` Ville Herva
2005-11-28 5:11 ` Maneesh Soni
[not found] <5bG4q-8ks-17@gated-at.bofh.it>
[not found] ` <5daDm-1Cg-15@gated-at.bofh.it>
[not found] ` <5de3Z-6CJ-13@gated-at.bofh.it>
2005-11-27 1:10 ` Bodo Eggert
2005-11-27 12:16 ` Ville Herva
2005-11-27 13:55 ` Sander
2005-11-27 14:44 ` Ville Herva
2005-11-27 14:56 ` Ville Herva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox