|The cables don't necessarily go bad. They are fragile and can be damaged when connecting or disconnecting. |
I suggest you just unplug and replug the connectors at both endes a few times each. Take care not to pull on the ribbon cable but on the plastic ends.
If you post either the full model of your computer or if a custom built unit, the motherboard model I can provide a link for the MB drivers. If custom and you don't know the board model, download SIW free version from the link below to find the model.
Also, if you added any drives over the years you may have the jumpers set wrong. Provide more details so I am not speculating.