Problem Diagnosis in SPI