Using ioreg to identify a specific CPU
I'm trying to repair a PowerMac G5 I got off of eBay. It's a dual 2.0GHz model, I believe 1st generation (PowerPC 970 v2.2 chips). I believe I've narrowed down the problem to a single bad, slowly failing CPU.
I get the machine to boot up w/two CPUs active only for between a few mins. to an hour or two. Then it freezes up and I have to press the "on" button for the usual 5secs. or so to get it to shutdown.
When I get the machine back up (sometimes immediately, sometimes after repeated pressing the power button), it generally comes up with only 1 CPU running. with only 1 CPU running, the machine stays up and stable for days at a time.
I generally have had the machine boot-up maybe 1/3 of the time w/2 CPUs active. The rest of the time only 1 CPU comes up.
I've confirmed the two different states several ways: (a) looking in Apple System Profiler, (b) System Preferences/Processor (after installing the CHUD tools), and (c) running sysctl -a from the command line and diff-ing the results from each boot-up. All show either 2 CPUs running, or only 1 CPU active.
Looking in ioreg , specifically the class IOPlatformDevice, in Tiger (10.4.11) I see the property AAPL,phandle which seems to have a value of an address.
Which property in which class in ioreg contains the actual "location" of each active CPU?
In the PowerMac G5s (dual models) the CPUs are arranged vertically on the motherboard (when the tower is in the usual upright position). In the PM G4s (dual models) the CPUs are arranged horizontally.
I'd like to just identify (and replace) the one defective CPU in the G5 rather than both.
Any tips or links to documentation on ioreg, would be greatly appreciated!
Ed
PB G4, Mac OS X (10.4.11), PM G4 Dual 1.25, PM G4 Dual 867, OSX 10.2.8, OSX Server 10.2.8