Re: Problem with IDE taskfile

From: Erik Andersen
Date: Fri Feb 06 2004 - 07:27:04 EST


On Mon Feb 02, 2004 at 01:01:20PM +0100, DervishD wrote:
> Hi all :))
>
> In my logs I have the following message:
>
> <28>Feb 2 12:18:41 kernel: hda: ST340016A, ATA DISK drive
> <28>Feb 2 12:18:41 kernel: hdb: ST34310A, ATA DISK drive
> <28>Feb 2 12:18:41 kernel: blk: queue c02d0020, I/O limit 4095Mb (mask 0xffffffff)
> <28>Feb 2 12:18:41 kernel: blk: queue c02d015c, I/O limit 4095Mb (mask 0xffffffff)
> [...]
> <28>Feb 2 12:18:41 kernel: hda: attached ide-disk driver.
> <28>Feb 2 12:18:41 kernel: hda: host protected area => 1
> <30>Feb 2 12:18:41 kernel: hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
> <28>Feb 2 12:18:41 kernel: hdb: attached ide-disk driver.
> <28>Feb 2 12:18:41 kernel: hdb: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
> <28>Feb 2 12:18:41 kernel: hdb: task_no_data_intr: error=0x04 { DriveStatusError }
> <30>Feb 2 12:18:41 kernel: hdb: 8420832 sectors (4311 MB) w/512KiB Cache, CHS=524/255/63, UDMA(33)
>
> The problem is that message from function 'task_no_data_intr'.
> What can be the problem? Should I worry about it? Is the drive
> damaged?

Nope. This is a bug in the 2.4.x ide driver. I sent in a patch
for it a while back that made it into 2.6, but not into 2.4.
Basically, the 2.4.x ide driver always asks the drive if it
supports HPA. In this case, your drive is old and doesn't know
what an HPA is, and complains. Some older drives get confused
and have to be power cycled when this happens.

http://lkml.org/lkml/2003/8/22/193

-Erik

--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-
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/