If you look at the body end of the lens, there should be a little metal tag that is in a channel. This should move freely and controls the aperture. Make sure this isn't obstructed or damaged at all. Likewise, have a look inside the camera body and look for obstructions.