Determining why I'm getting dropped to the emergency shell?