SII SATA request size limit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alan Cox escreveu:
Quoted 1 line
It will depend what disks you have.
A friend from a forum found out this on NetBSD:
/*
* Rev. <= 0x01 of the 3112 have a bug that can cause data
* corruption if DMA transfers cross an 8K boundary. This is
* apparently hard to tickle, but we'll go ahead and play it
* safe.
*/
if (PCI_REVISION(pa->pa_class) <= 0x01) { sc->sc_dma_maxsegsz = 8192;
sc->sc_dma_boundary = 8192;
}
It seems to be a bug only in the first revisions of the chip. Can anyone confirm this? My chip is revision 2 and it doesn't have this bug.
Quoted 1 line
You can up it again at runtime.
How do I set the rqsize on 2.6.x?
Marcelo Penna Guerra
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/YjPvD/U0kdg4PFoRAusNAKDiLWwPFAmmCH9L4AwhpKIkh5zkzQCeJ8JT YRgXP0NIoM8hcWH8RvzwYr0=
=Z6aZ
-----END PGP SIGNATURE-----
Quoted 4 lines · Marcelo Penna Guerra
* Rev. <=
0x01of the 3112 have a bug that can cause data
* corruption if DMA transfers cross an 8K boundary. This is
* apparently hard to tickle, but we'll go ahead and play it
* safe.
It isnt that simple, unfortunately you need an NDA for the full story. If you want to check which chips need it get a setup that hangs reliably with large transfers, put the same disks on a newer controller that doesnt and see what happens