IDE reset and DMA disabled after CD read error

Tobias Ringstrom (tori@tellus.mine.nu)
Sat, 28 Apr 2001 00:47:43 +0200 (CEST)


When reading a bad CD, Linux 2.4.4-pre5 decided to turn off DMA when
trying to read a bad sector. It also decided to reset the drive. Is that
the expected behaviour? I'm certanly not an ATAPI expert, but it does
seem a bit drastic to me. The drive is in UDMA33 mode on a VIA vt82c686a,
with no (U)DMA problems detected (so far).

Isn't it possible to recogise a read error and treat it more gently?

/Tobias, fumbling in the dark

Here is the dmesg output:

Apr 27 23:32:31 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:31 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:31 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:31 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:32 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:32 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:33 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:33 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:33 igor kernel: hda: DMA disabled
Apr 27 23:32:33 igor kernel: hda: ATAPI reset complete
Apr 27 23:32:33 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:33 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:34 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:34 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:35 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:35 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:35 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:35 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:35 igor kernel: hda: ATAPI reset complete
Apr 27 23:32:36 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:36 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:36 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:36 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:37 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:37 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:37 igor kernel: hda: ATAPI reset complete
Apr 27 23:32:37 igor kernel: end_request: I/O error, dev 03:00 (hda), sector 651222
Apr 27 23:32:38 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:38 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:38 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:38 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:39 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:39 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:40 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:40 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:40 igor kernel: hda: ATAPI reset complete
Apr 27 23:32:40 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:40 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:41 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:41 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:42 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:42 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:42 igor kernel: hda: ATAPI reset complete
Apr 27 23:32:42 igor kernel: end_request: I/O error, dev 03:00 (hda), sector 651222
Apr 27 23:32:42 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:42 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:43 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:43 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:44 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:44 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:44 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:44 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:44 igor kernel: hda: ATAPI reset complete
Apr 27 23:32:45 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:45 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:46 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:46 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:46 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:46 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:46 igor kernel: hda: ATAPI reset complete
Apr 27 23:32:46 igor kernel: end_request: I/O error, dev 03:00 (hda), sector 651224
Apr 27 23:32:47 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:47 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:47 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:47 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:48 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:48 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:49 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:49 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:49 igor kernel: hda: ATAPI reset complete
Apr 27 23:32:49 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:49 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:50 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:50 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:51 igor kernel: hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Apr 27 23:32:51 igor kernel: hda: cdrom_decode_status: error=0x34
Apr 27 23:32:51 igor kernel: hda: ATAPI reset complete
Apr 27 23:32:51 igor kernel: end_request: I/O error, dev 03:00 (hda), sector 651226

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/