General Motors knew of a problem with ignition switches in some of its vehicles for 10 years before it finally recalled the cars, according to a document released this week.