Your second order ODE is equivalent to solving the first order ODE system
A = {{-b/m, -k/m}, {1, 0}}; {u'[t], x'[t]} == A.{u[t], x[t]}
That can be solved by MatrixExp[A t].{C[1],C[2]}. However, when A is symbolic, Mathematica computes the matrix exponential by computing a symbolic eigensystem. In the generic case, Mathematica may assume that the eigenvalues are different from each other so that A is diagonalizable. In this case, the matrix exponential can be obtained by
{λ, U} = Eigensystem[A]; Transpose[U].(Exp[λ t] Inverse[Transpose[U]])
However, this breaks down when we insert your specific values:
Eigensystem[A /. {m -> 1, b -> 6, k -> 9}] {{-3, -3}, {{-3, 1}, {0, 0}}}
The second returned "eigenvector" being {0,0} tells us that there is no second eigenvector and that A is not diagonalizable. In that case, one has to take care of a generalized eigenvector and one has to apply a Jordan decomposition. This is accurately done by Mathematica if you present the numerical values {m -> 1, b -> 6, k -> 9} before submitting the ODE to DSolve.
m,bandk. Unfortunately, the discriminantSqrt[b^2 - 4 k m]in the generic solution becomes0for you specified values. That tells me that some eigenvalue of your ODE has multiplicity2but the according matrix is not diagonalizable. In that case, the generic formula for solutions is no more valid. $\endgroup$