Re: DVD+-R[W] regression in 2.6.12/13

From: Mark Lord
Date: Mon Sep 05 2005 - 11:24:46 EST


Oliver Tennert wrote:

"hdparm -I /dev/dvdrecorder" leads to the output:

/dev/dvdrecorder:
HDIO_DRIVE_CMD(identify) failed: Input/output error

The kernel tells me:

[4296893.262000] hdd: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
[4296893.262000] hdd: drive_cmd: error=0x04 { AbortedCommand }
[4296893.262000] ide: failed opcode was: 0xec

Those messages are "normal" for an ATAPI drive.

hdparm first tries the IDENTIFY opcode (0xec), and if that fails (above)
it then tries the PACKET_IDENTIFY opcode (0xa1), which should work for ATAPI.

I'm not sure why the "failed: Input/output error" (-EIO) result is
being returned from the ATA layer in this case. Driver bug, most likely.

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