svn commit: r184135 - head/sys/dev/ata

John Baldwin jhb at freebsd.org
Wed Oct 22 16:07:56 UTC 2008


On Wednesday 22 October 2008 05:43:59 am Alexander Leidinger wrote:
> Quoting John Baldwin <jhb at 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


More information about the svn-src-head mailing list