2005 subaru legacy the lights AWD come on after driving a short distance,
Take it to your dealer. Most likely a sensor issue. They will scan it and have an answer for you. While you have it there have the system (fluids) serviced they need changed every 30,000 miles. If you are at 100,000 or greater have your timing belt and water pump changed.
Search Subaru Legacy Questions
Subaru Legacy Experts