Opened it up and the jumper was set correctly.
I decided to try every other combination anyway just for fun and, not surprisingly, it still didn't help. Swapped IDE cables, still the same problem. I'm ready to accept that this drive is just a piece of shit.