In a disk device having a ramp-load mechanism, stable retry operation is
performed even upon occurrence of seek errors. A disk device is provided
with a ramp to which the head is retracted from the disk, at the time of
seek error retry, prior to beginning seek retry, checks whether the head
has climbed onto the ramp. And if the head has not climbed onto the ramp,
normal seek retry is performed, but if the head has climbed onto the
ramp, unloading is first performed before seek retry. Consequently
crashes due to climbing onto the ramp due to a seek error in a ramp-load
device can be prevented, and improvement of device reliability can be
expected.