problems with SATA controller after recent RELENG_8 upgrade

Garance A Drosehn gad at
Sun Dec 20 04:32:09 UTC 2009

At 9:41 PM +0200 12/15/09, Alexander Motin wrote:
>Looks like it was working first, until something happened. I've reread
>all Promise related changes and don't see problem there. The only idea I
>have is that it could be larger transfer, which was not used before. Try
>to apply this patch to get limitation back for these controllers:
>--- ata-promise.c.prev  2009-12-15 21:35:43.000000000 +0200
>+++ ata-promise.c       2009-12-15 21:35:24.000000000 +0200
>@@ -957,6 +957,7 @@ ata_promise_mio_dmainit(device_t dev)
>      ata_dmainit(dev);
>      /* note start and stop are not used here */
>      ch->dma.setprd = ata_promise_mio_setprd;
>+    ch->dma.max_iosize = 65536;
>  }

For what it's worth:  I also had a problem after rebuilding 8.x-stable
last weekend, and that problem was also fixed by this change.  My
machine has a:   Promise PDC40518 SATA150 controller


Garance Alistair Drosehn     =               drosehn at
Senior Systems Programmer               or   gad at
Rensselaer Polytechnic Institute;             Troy, NY;  USA

More information about the freebsd-stable mailing list