RE: Looking for LKCD port for PPC

"Jeff Haran" <[email protected]> Thu, 18 Mar 2004 12:27:36 -0800
Newsgroups gmane.linux.lkcd.general
Message-ID <[email protected]>
LKCD for the PowerPC is easy, assuming your target system has sufficient
disk/flash storage to store the dump file. If there isn't sufficient
storage, then you have to figure out where you are going to store the
dump file. You might want to consider netdump or MCORE instead of LKCD
for this. Support for the PowerPC in the analysis tool that you feed the
dump file to is harder to come by. To my knowledge, there is no PowerPC
port for lcrash. There are PowerPC ports of crash floating around, but
it is sort of an orphan port since its original maintainer changed jobs
and whether it will work for you will depend on which version of PowerPC
you are using and whether you want to debug code in installable modules
or not.
 
I had downloaded a PPC version of crash from:
 
 <http://people.redhat.com/anderson/>
http://people.redhat.com/anderson/
 
a few months ago and had some success with it at least with PPC405
processors, though I had to twiddle the code a little to get it to work.
This link still seems to work. The trick was to build and execute it on
a linux based Macintosh G3 since the make doesn't seem to include
support for cross analysis.
 
I've recently managed to get an x86-cross-powerpc port of crash that we
obtained from Montavista to sort of work on the PPC405 and PPC440GP, so
I can debug crash dump files generated from a PPC on a linux x86 PC
platform, but it still has problems. The different PPC variants have
differing addressing issues (primarily around 32 and 64 bit physical
address spaces, kind of like the Intel x86 PAE stuff, and other PTE
things) which effect how the crash program navigates the VM page tables.
 
When you get off of x86 targets, my experience is that none of this
stuff is currently very turn-key. It can be made to work, but expect to
invest considerable time into it.
 
Good luck,
 
Jeff Haran
Brocade Communications

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Tameen
Khan
Sent: Thursday, March 18, 2004 11:22 AM
To: [email protected]
Subject: [lkcd-general] Looking for LKCD port for PPC


Hi
 
We need a LKCD port for Power PC. 
Looking at the lkcd-devel archive it seems that it may be already
available.
Can anyone please give pointers to it ?
We need it for kernal version 2.4.21
 
Thanks a lot!
Tameen

Do you Yahoo!?
 <http://us.rd.yahoo.com/mailtag_us/*http://mail.yahoo.com> Yahoo! Mail
- More reliable, more storage, less spam