Narrative:

At FL340 with engine and wing anti-ice on; electrical smoke of unknown origin was detected in both cabin and cockpit. Emergency was declared and flight was diverted to ZZZ. Uneventful landing with crash fire rescue equipment noting no significant problem upon arrival.

Google
 

Original NASA ASRS Text

Title: MD80 FLT CREW REPORTS ELECTRICAL SMOKE OF UNKNOWN ORIGIN. EMERGENCY IS DECLARED WITH DIVERSION.

Narrative: AT FL340 WITH ENG AND WING ANTI-ICE ON; ELECTRICAL SMOKE OF UNKNOWN ORIGIN WAS DETECTED IN BOTH CABIN AND COCKPIT. EMER WAS DECLARED AND FLT WAS DIVERTED TO ZZZ. UNEVENTFUL LNDG WITH CFR NOTING NO SIGNIFICANT PROB UPON ARR.

Data retrieved from NASA's ASRS site as of May 2009 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.