Gimbal noise and roll motor issues

After my p4p just fell out of the sky and destroyed itself I was able to find a replacement drone on eBay. The replacement drone did not come with a gimbal or camera. It was just the drone. I am trying to peace together parts from another gimbal I obtained from a friend who had one he wasn’t using. I was able to put it all together but now when I turn it on there is a loud vibration noise and a error code that says the roll motor has reached max rotation. Is this a bad roll motor or is there another problem?