Most likely a loose solder joint on the IDE header on the mainboard. You can see which bit is stuck: 0x0400.


Attachments
ide.png

Description: This pin (red) is likely in need of resoldering.