* [parisc-linux] Bug report data collection tool
@ 2005-07-21 7:51 Kurt Fitzner
2005-07-21 12:58 ` Grant Grundler
0 siblings, 1 reply; 3+ messages in thread
From: Kurt Fitzner @ 2005-07-21 7:51 UTC (permalink / raw)
To: parisc-linux
I was thinking that perhaps it would be useful to have a tool to help
collate information after a hang/crash. Something you would run on the
next boot.
I wasn't able to tell from a cursory glance at pdc_stable.c, but if the
driver supports it then perhaps the tool could read HPMC/TOC data post
crash from nvram (rather than having to write out or use a serial
console to capture 'ser pim' data). It could then cross reference the
crash address with the System.map, gather pre-crash data from the logs
and a machine profile from /proc.
If something like this would be useful, I could do with having a project
to help me learn the ropes.
Kurt.
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [parisc-linux] Bug report data collection tool
2005-07-21 7:51 [parisc-linux] Bug report data collection tool Kurt Fitzner
@ 2005-07-21 12:58 ` Grant Grundler
2005-07-21 14:22 ` Carlos O'Donell
0 siblings, 1 reply; 3+ messages in thread
From: Grant Grundler @ 2005-07-21 12:58 UTC (permalink / raw)
To: Kurt Fitzner; +Cc: parisc-linux
On Thu, Jul 21, 2005 at 01:51:04AM -0600, Kurt Fitzner wrote:
> I was thinking that perhaps it would be useful to have a tool to help
> collate information after a hang/crash. Something you would run on the
> next boot.
>
> I wasn't able to tell from a cursory glance at pdc_stable.c, but if the
> driver supports it then perhaps the tool could read HPMC/TOC data post
> crash from nvram (rather than having to write out or use a serial
> console to capture 'ser pim' data).
We thought of that before but there are a few issues:
1) stable storage access is only via PDC calls.
2) format of PIM data is platform dependent - ie every model machine
could have a different format. In practice, ISTR the format usually
is the same for a given processor model and not each model of machine.
> It could then cross reference the
> crash address with the System.map, gather pre-crash data from the logs
> and a machine profile from /proc.
>
> If something like this would be useful, I could do with having a project
> to help me learn the ropes.
Lack of documentation will make this a fairly hard project. :^(
sorry,
grant
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [parisc-linux] Bug report data collection tool
2005-07-21 12:58 ` Grant Grundler
@ 2005-07-21 14:22 ` Carlos O'Donell
0 siblings, 0 replies; 3+ messages in thread
From: Carlos O'Donell @ 2005-07-21 14:22 UTC (permalink / raw)
To: Grant Grundler; +Cc: parisc-linux
On Thu, Jul 21, 2005 at 06:58:53AM -0600, Grant Grundler wrote:
> On Thu, Jul 21, 2005 at 01:51:04AM -0600, Kurt Fitzner wrote:
> > I was thinking that perhaps it would be useful to have a tool to help
> > collate information after a hang/crash. Something you would run on the
> > next boot.
> >
> > I wasn't able to tell from a cursory glance at pdc_stable.c, but if the
> > driver supports it then perhaps the tool could read HPMC/TOC data post
> > crash from nvram (rather than having to write out or use a serial
> > console to capture 'ser pim' data).
>
> We thought of that before but there are a few issues:
> 1) stable storage access is only via PDC calls.
> 2) format of PIM data is platform dependent - ie every model machine
> could have a different format. In practice, ISTR the format usually
> is the same for a given processor model and not each model of machine.
Don't we already have 1) thanks to lkcd?
And as far as 2) can't you just do that through hte PDC too?
> > It could then cross reference the
> > crash address with the System.map, gather pre-crash data from the logs
> > and a machine profile from /proc.
> >
> > If something like this would be useful, I could do with having a project
> > to help me learn the ropes.
>
> Lack of documentation will make this a fairly hard project. :^(
Really?
This sounds like kexec + lkcd.
c.
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-21 14:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-21 7:51 [parisc-linux] Bug report data collection tool Kurt Fitzner
2005-07-21 12:58 ` Grant Grundler
2005-07-21 14:22 ` Carlos O'Donell
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.