problems with SATA controller after recent RELENG_8 upgrade

Oliver Lehmann lehmann at ans-netz.de
Wed Dec 16 17:17:54 UTC 2009


Hi Alexander,

Alexander Motin wrote:

> --- 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;
>  }

I applied the patch and then the error went away and the system boots up
successfully. To be sure it was no other (build related) problem I
removed the line again, did a make kernel again and then I got the same
error as before.
So - this line definitly makes my system work again. If you want to add a
comment (so none else removes it in the future again ;)) - my exactl
model is "Promise SATA300 TX2+"

atapci1 at pci0:0:17:0:    class=0x018000 card=0x3d73105a chip=0x3d73105a rev=0x02 hdr=0x00
    vendor     = 'Promise Technology Inc'
    device     = 'SATAII 300 TX2+ (PDC40775)'
    class      = mass storage


-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/


More information about the freebsd-stable mailing list