Mechanical problem takes Smith out of race