Date: Wed, 22 Oct 2008 11:19:01 -0400 From: John Baldwin <jhb@freebsd.org> To: Alexander Leidinger <Alexander@leidinger.net> Cc: svn-src-head@freebsd.org, Scott Long <scottl@samsco.org>, src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r184135 - head/sys/dev/ata Message-ID: <200810221119.01902.jhb@freebsd.org> In-Reply-To: <20081022114359.19407gtt68cj7aww@webmail.leidinger.net> References: <200810211851.m9LIptwg006141@svn.freebsd.org> <200810211702.21348.jhb@freebsd.org> <20081022114359.19407gtt68cj7aww@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 22 October 2008 05:43:59 am Alexander Leidinger wrote: > Quoting John Baldwin <jhb@freebsd.org> (from Tue, 21 Oct 2008 17:02:21 -0400): > > >> John Baldwin wrote: > > >> > --- head/sys/dev/ata/ata-dma.c Tue Oct 21 18:50:52 2008 (r184134) > >> > +++ head/sys/dev/ata/ata-dma.c Tue Oct 21 18:51:55 2008 (r184135) > >> > @@ -78,7 +78,7 @@ ata_dmainit(device_t dev) > >> > ch->dma.unload = ata_dmaunload; > >> > ch->dma.alignment = 2; > >> > ch->dma.boundary = 65536; > >> > - ch->dma.segsize = 63536; > >> > + ch->dma.segsize = 65536; > > > This was only in HEAD though since the SATA port multiplier changes. > > Can this be the reason for "acd0: FAILURE - non aligned DMA transfer > attempted" messages when trying to play a DVD with xine? I don't think so as that printf is in the ATA code before it does a bus_dmamap_load(), and this bug just caused busdma to split up some ATA DMA requests into more scatter/gather entries than truly necessary. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810221119.01902.jhb>