Narrative:

During a departure climb from smo runway 21, smo tower notified us of a class B airspace incursion and advised an immediate right turn. While on this VFR climb, my attitude indicator failed/tumbled, which caused a distraction. This resulted in a delayed right turn. After being advised of the issue, we did an immediate right turn and proceeded to san jose in VFR conditions. I immediately took the airplane to an avionics repair station in san jose to replace the defective attitude indicator. Instrument failure provided a strong distraction which caused me to miss my turn point by just a few tenths of a mi.

Google
 

Original NASA ASRS Text

Title: A PA28-236 PLT, DEPARTING SMO, BECAME DISTR WHEN HIS ATTITUDE INDICATOR TUMBLED, EVEN THOUGH HE WAS VFR, WHICH CAUSED HIM TO PENETRATE LAX CLASS B.

Narrative: DURING A DEP CLB FROM SMO RWY 21, SMO TWR NOTIFIED US OF A CLASS B AIRSPACE INCURSION AND ADVISED AN IMMEDIATE R TURN. WHILE ON THIS VFR CLB, MY ATTITUDE INDICATOR FAILED/TUMBLED, WHICH CAUSED A DISTR. THIS RESULTED IN A DELAYED R TURN. AFTER BEING ADVISED OF THE ISSUE, WE DID AN IMMEDIATE R TURN AND PROCEEDED TO SAN JOSE IN VFR CONDITIONS. I IMMEDIATELY TOOK THE AIRPLANE TO AN AVIONICS REPAIR STATION IN SAN JOSE TO REPLACE THE DEFECTIVE ATTITUDE INDICATOR. INST FAILURE PROVIDED A STRONG DISTR WHICH CAUSED ME TO MISS MY TURN POINT BY JUST A FEW TENTHS OF A MI.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.