A washer that shakes violently is usually unbalanced, out of level or still has its shipping bolts in. Fix the load, remove the bolts, then level all four feet.
You open the washer for the next load and catch a stale, damp smell. Reaching for more detergent feels like the obvious answer. But the real fix may ...