Check to see if the metal tub is loose, can you wobble it side to side, can it be spun freely independent of the agitator? It might be the tub has broken loose from the mounting hub assembly. That would cause the top of the tub to rub against the top plastic rim causing those plastic shavings as well as the banging noise.