[Crash-utility] Updated SPU extension
André Detsch
adetsch at br.ibm.com
Tue Sep 16 17:00:42 UTC 2008
Hi,
Here is an updated version of the spu crash extension. It is meant to
replace the version at:
http://people.redhat.com/anderson/extensions/spu.c
Sending a diff as well, for reference.
The previous version was trying to access the spu context field even
when the field is == NULL (which is true in idle physicals spus). That
bug leads to the following error message:
crash> spus
NODE 0:
ID SPUADDR SPUSTATUS CTXADDR CTXSTATE PID
spus: invalid kernel virtual address: 858 type: "print_spu_header get
ctxstate"
Besides fixing this issue, the patch also cleans up some trailing white
spaces.
PS: Lucio, the original author, is still working at IBM, but on another
project. So, I'm taking care of the extension for him.
Cheers,
--
André Detsch
Kernel Software Engineer - Linux on Cell
Linux Technology Center Brazil
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: spu.c.diff
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20080916/d9a041e3/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: spu.c
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20080916/d9a041e3/attachment.c>
More information about the Crash-utility
mailing list