If this is a 5120, it is a common issue that powering up sound (for the chime) introduces electrical noise into the 5V line and scrambles the CPU, resulting in sad mac.
Connect a bodge wire to the sound power signal as shown below. If your Mac boots reliably, you can just leave this workaround...