Re: aic7xxx DMA overflow error

2018-10-13 Thread tedheadster
> it seems like we do for some reason never actually enable swiotlb > for 32-bit x86. Before my commit the block bounce buffering papered > over that for networking, Please try this patch: > > diff --git a/arch/x86/kernel/pci-swiotlb.c b/arch/x86/kernel/pci-swiotlb.c > index

Re: aic7xxx DMA overflow error

2018-10-13 Thread Christoph Hellwig
On Sat, Oct 13, 2018 at 10:09:52AM -0400, tedheadster wrote: > Christoph, > here is all of the newly patched dmesg output. I also added > 'aic7xxx.a9c7xxx=verbose' for extra information. Hi Matthew, it seems like we do for some reason never actually enable swiotlb for 32-bit x86. Before my

Re: aic7xxx DMA overflow error

2018-10-13 Thread tedheadster
Christoph, here is all of the newly patched dmesg output. I also added 'aic7xxx.a9c7xxx=verbose' for extra information. Matthew [0.00] Linux version 4.18.12.pentium4-xeon-christoph+ (root@pentium4) (gcc version 5.4.0 (Gentoo 5.4.0-r4 p1.8, pie-0.6.5)) #525 SMP PREEMPT Sat Oct 13

Re: aic7xxx DMA overflow error

2018-10-13 Thread Christoph Hellwig
Hi Ted, thanks for the dmesg. This shows your HBA doesn't even support the odd 39-bit addressing. Now the real question is why we don't use swiotlb. For that I'd like to see the whole dmesg from the very beinning if you have it. Also it seems this boot didn't have the WARN_ON_ONCE I sent you

Re: aic7xxx DMA overflow error

2018-10-12 Thread tedheadster
> That isn't a limit, just a reporting clause - the real check is this > line a little above: > > if (unlikely(dev && !dma_capable(dev, dma_addr, size))) { > > which is purely based on the dma mask. So for some reason we must > be in 32-bit only mode for the dma-mask, and not actually

Re: aic7xxx DMA overflow error

2018-10-09 Thread Christoph Hellwig
On Mon, Oct 01, 2018 at 04:57:39PM -0400, tedheadster wrote: > Christoph, > I was able to bisect this to your patch "scsi: reduce use of block > bounce buffers". I am getting the error on a 32-bit Dell PowerEdge > 6650. It has the aic7xxx integrated onto the motherboard. > > Again, here is the

Re: aic7xxx DMA overflow error

2018-10-01 Thread tedheadster
Christoph, I was able to bisect this to your patch "scsi: reduce use of block bounce buffers". I am getting the error on a 32-bit Dell PowerEdge 6650. It has the aic7xxx integrated onto the motherboard. Again, here is the error: aic7xxx :00:03.0: dma_direct_map_sg: overflow

Re: aic7xxx DMA overflow error

2018-10-01 Thread Christoph Hellwig
On Sun, Sep 30, 2018 at 07:28:50PM -0400, tedheadster wrote: > Hannes, > I'm getting the following error in a custom configured 4.18 32-bit > x86 kernel supporting PAE, with 16GiB physical memory. It loops > infinitely on the error. > > aic7xxx :00:03.0: dma_direct_map_sg: overflow >