Messages in this thread | | | Date | Tue, 15 Jul 2003 02:03:50 +0200 | From | Federico Stella <> | Subject | Re: DVD/CD Read Problem: cdrom_decode_status: status=0x51 {DriveReady SeekComplete Error} |
| |
* domenica 13 luglio 2003, alle 19:51, Andrey Borzenkov scrive:
>> I get the following errors and an unkillable process when trying to play >> DVDs, using the latest 2.5.75:
>> Jul 13 00:15:03 joehill kernel: hdc: cdrom_decode_status: status=0x51 { > DriveReady SeekComplete Error } >> Jul 13 00:15:03 joehill kernel: hdc: cdrom_decode_status: > error=0x30LastFailedSense 0x03
> this is ide-cd problem. drivers/ide/ide-cd:cdrom_decode_status():
> } else if ((err & ~ABRT_ERR) != 0) { > /* Go to the default handler > for other errors. */ > DRIVER(drive)->error(drive, > "cdrom_decode_status",stat); > return 1; > } else if (sense_key == MEDIUM_ERROR) { > /* No point in re-trying a zillion times on a bad > * sector... If we got here the error is not > correctabl > e */ > ide_dump_status (drive, "media error (bad sector)", > stat > ); > cdrom_end_request(drive, 0);
> The above sense key is exactly MEDIUM_ERROR but driver never has chance to > stop "retring zillion times" simply because it immediately falls down into > driver->error again. So "innocent" media error results half an hour retries > and disabled DMA.
Yesterday I've found a similar problem using 2.5.75. Trying to read a DVD with a ASUS CD-S500/A the machine gives some errors in log then freezes.
From log: kernel: hdb: timeout waiting for DMA kernel: hdb: timeout waiting for DMA kernel: hdb: (__ide_dma_test_irq) called while not waiting kernel: hdb: status timeout: status=0xd0 { Busy } kernel: hdb: status timeout: error=0x00 kernel: hdb: drive not ready for command kernel: hdb: ATAPI reset complete kernel: hdb: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error } kernel: hdb: cdrom_decode_status: error=0x30LastFailedSense 0x03
I've swapped the two conditions and after 5 "Bad Sector" the machine runs normally.
- 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/
| |