A disk drive is disclosed which has a facility to perform a pinning reset operation
on a GMR read element included in a head if a read retry operation fails to achieve
recovery from a read error. When a bias and write currents are supplied to the
head, a CPU of the disk drive determines an optimum bias and write currents on
the basis of a temperature measured value of the GMR read element.