Sounds like you have a problem with the float assembly for the fuel sender in the tank. You need to drop the tank and pull the fuel pump/sender out of the tank and check. The knocking noise is the float banging on the side/bottom of the tank more then likely.