On Fri, Oct 24, 2003 at 05:34:16AM +0900, ts1 wrote:
On Fri, Oct 24, 2003 at 05:13:23AM +0900, SONE Takeshi wrote:
I just found my old WD Caviar drive. It was in an unused PC. It's 1.2GB, WDC AC31200F. And the problem Steve reported is reproduced here. I'll see if I can fix this.
The old IDE driver (in LinuxBIOS) does a lot of commands to initialize the drive, while the current driver (in FILO at least) just does IDENTIFY command.
IDE_CMD_GET_INFO IDE_CMD_DRIVE_DIAG (soft reset) IDE_CMD_RECALIBRATE IDE_CMD_SET_PARAMS IDE_CMD_SET_MULTIMODE IDE_CMD_SET_PARAMS
Added all of these, but it doesn't work yet..
Also added ERR bit checking after PIO commands. None of the above causes ERR, but the first READ_SECTORS command does. (error register = 0x4, ABORT error)
I noticed this Caviar drive works just fine under Linux (both 2.4 and 2.6-test), regardless of whether FILO touched it or not.