If you mix, I would suggest trying first to boot with SPD set. If that fails or is not stable, try setting the timings manually to some relaxed latencies. For example:
DDR try 3,4,4,8 and 2.7 to 2.8v Vdimm.
DDR2 try 5,5,5,15 with 2.0 to 2.1v Vdimm.
If you can avoid it, don't mix n match memory as there are many potential issues.