Re: I/O errors while dding between 2 SATA drives

From: Tejun
Date: Mon Jan 30 2006 - 10:03:29 EST


James Lamanna wrote:
I received the following errors while executing a
dd if=/dev/sdb of=/dev/sda bs=1M
between 2 500GB SATA Seagate Barracuda drives on 2.6.12 (Gentoo 2005.1
"Live" CD)

ata1: command 0x35 timeout stat 0xd1 host_stat 0x21
ata1: status=0xd1 { Busy }
end request: I/O Error dev sda, sector 51188392
Buffer I/O Error on device sda, logical block 6398549
lost page write due to I/O Error on sda
ATA: abnormal status 0xD1 on port 0x9F7
ATA: abnormal status 0xD1 on port 0x9F7
ATA: abnormal status 0xD1 on port 0x9F7

The message repeats every so often with the sector count increasing by
8 and logical block count increasing by 1.

Is it bad hardware? (sda is brand new)
And is the copy hosed?


[CC'ing linux-ide]

Hi, James.

Please post full dmesg and yeah the copy is probably hosed. dd's exit code will tell you. Do 'echo $$'.

--
tejun
-
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/