Skip to contentSkip to conversation

Bug report data collection tool

parisc-linux Kurt Fitzner 3 participants 3 messages Jul 21, 2005

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#1 lore raw
Quoted 8 lines · Kurt Fitzner

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.

Quoted 6 lines

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
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#2 lore raw
Quoted 10 lines · Grant Grundler
Quoted 8 lines · Kurt Fitzner

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).

Quoted 5 lines

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?

Quoted 8 lines
Quoted 6 lines

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
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux