With an old ST506 drive/interface, the following patch to ide.c in 2.2.15:
if (GET_STAT() & (BUSY_STAT|DRQ_STAT)) /* possible timing problem? */
- rq->errors |= ERROR_RESET;
+ OUT_BYTE(WIN_IDLEIMMEDIATE,IDE_COMMAND_REG); /* force an abort */
causes about 10 (more) error messages from the ide driver at boot than
there was with 2.2.14 - with 2.2.14 (and prior) there was always one
error which I assume was associated with the drive identify/info command
failing. Maybe the IDLEIMMEDIATE shouldn't be sent if the driver already
spotted the disk as a non-IDE drive.
For such machines, using the hd.c driver is a better choice so the issue
is probably moot anyways but I thought I'd mention it. A pseudo diff
between the 2.2.14 and 2.2.15 driver boot messages follows.
Paul.
hda: non-IDE drive, CHS=615/4/17
hdb: non-IDE drive, CHS=820/6/17
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Partition check:
hda:hda: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
+hda: status error: error=0x04 { DriveStatusError }
+hda: drive not ready for command
+hda: status error: status=0x5b { DriveReady SeekComplete DataRequest Index Error }
+hda: status error: error=0x04 { DriveStatusError }
+hda: drive not ready for command
+hda: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
+hda: status error: error=0x04 { DriveStatusError }
+hda: drive not ready for command
+hda: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: status error: error=0x04 { DriveStatusError }
hda: drive not ready for command
ide0: reset: success
hda1 hda2
hdb: hdb1
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:23 EST