Another thing that can cause this is if the peripheral (I usually see this with modems) is configured to echo characters back to the system. This causes the "login" to get echoed back, the getty thinks someone is logging in, and things get confused.