Re: hdparm almost burned my SATA disk

From: Mark Lord
Date: Mon Oct 17 2005 - 15:50:52 EST


Michal Piotrowski wrote:

debian:/home/michal# hdparm -tT /dev/sda

/dev/sda:
Timing cached reads: 3652 MB in 2.00 seconds = 1823.54 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
ioctl for device
Timing buffered disk reads: 174 MB in 3.01 seconds = 57.72 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
ioctl for device
debian:/home/michal# hdparm -V
hdparm v6.1
debian:/home/michal# hdparm -I /dev/sda

/dev/sda:
HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
>

Harmless. 100% harmless.

The "Inappropriate ioctl for device" messages are due to the incomplete
implementation of HDIO_DRIVE_CMD in libata. No big deal. Once the
passthru patches finally get released for real, I'll update hdparm to
not use the missing ioctl.

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/