Skip to contentSkip to conversation

Error in SATA subsystem?

DISCUSSION Robert.Kapitany 1 participant 1 message Apr 26, 2005 libata

lore
Share & tools
lore
#0 lore raw

Hello!

I have a problem with the libata and/or ata_piix drivers in linux kernel 2.6.x and 2.4.x versions.

The problem occured with the following hw combinations:

1. Maxtor 7Y250M0 250Gb sata disk
hp/compaq d530 cmt machine

// Vendor: ATA Model: Maxtor 7Y250M0 Rev: YAR5
// Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02)

2. Maxtor 7Y250M0 250Gb sata disk
hp dc7110 machine
// Vendor: ATA Model: Maxtor 7Y250M0 Rev: YAR5
// IDE interface: Intel Corp. 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)

I can write only the first 308Mb on the disk. Ex.:
Write ~1Gb zeros to disk

# dd if=/dev/zero of=/dev/sda bs=1024 count=1024000
1024000+0 records in
1024000+0 records out
1048576000 bytes transferred in 58.594727 seconds (17895399 bytes/sec)

Read 1024000 zeros from disk.

# dd if=/dev/sda bs=1024 count=1024000 |od -x |head
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
2357200140 0000 0000 0000 0000 0000 0000 50ae 3f85
2357200160 0000 0000 0000 0000 0000 0000 0000 0000
*
2357200340 0000 0000 0000 0000 0000 0000 53bd 78d3
2357200360 0000 0000 0000 0000 0000 0000 0000 0000
*
2357200540 0000 0000 0000 0000 0000 0000 ea79 3e2d
2357200560 0000 0000 0000 0000 0000 0000 0000 0000
323470+0 records in
323469+0 records out
331232256 bytes transferred in 7.385814 seconds (44847088 bytes/sec)

The logs and other tests are in the attachmet. Please help if you can.

Best regards!

Captain

Ps.:
Linux distribution is debian sarge.
Please answer me in private.
Ps2.: Under FreeBSD 5.4 Release these hws has worked correctly.