As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
During climb flight crew was unable to keep the cockpit warm. Flight crew began to adjust pack temp position/control. Smoke began to enter the AC cabin and a smoke detector sounded. Flight crew returned AC to departure airport. Maintenance found oil in the left pack and the 10th stage bleed of engine #1. Engine #1 replaced. Maintenance also replaced the left ram air door actuator and left trim air valve.