Re: Silicon Image 3112A SATA trouble

From: Yaroslav Klyukin
Date: Sun Nov 30 2003 - 16:11:51 EST


Jeff Garzik wrote:
Jens Axboe wrote:

Ah, my line wasn't completely clear (to say the least)... So to clear
all doubts:

if ((sector_count % 15 == 1) && (sector_count != 1))
errata path

Agree?



Agreed.


The confusion here is most likely my fault, as my original post intentionally inverted the logic for illustrative purposes (hah!)...

Well, the constraint we must satisfy is

sector_count % 15 != 1

(i.e. "== 1" causes the lockup)


Hi, I just rebuilt my kernel with libata support.
I have 3112 Silicon Image controller with IDE drive attahed.
(I have 2 IDE drives, so I bought second controller to split load between them. One is connected to the MB IDE controller.)

When I run hdparm command, I can see strange behaviour of the ilbata driver:

[root@shrike root]# hdparm -t /dev/hda

/dev/hda:
Timing buffered disk reads: 64 MB in 1.19 seconds = 53.78 MB/sec
[root@shrike root]# hdparm -t /dev/sda1

/dev/sda1:
Timing buffered disk reads: read(1048576) returned 921600 bytes
[root@shrike root]#


Meanwhile -T switch works normally.


I know, that siimage support is broken, any ideas, what can possibly cause such errors?
Is it somehow linked to the error discussed in this message thread?


WBR.

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