Stability problems for a class of nonholonomic mechanical systems.