Re: X86_64 + VIA + 4g problems

From: Dieter Stüken
Date: Wed Jan 04 2006 - 05:26:01 EST


Andi Kleen wrote:
[can you please not always drop me from cc with each reply?]

sorry, I thought the other way around: it would be annoying
to get each mail twice...

I just found a mailing list "discuss@xxxxxxxxxx". Would it be
better to turn over there, instead of polluting linux.kernel
by this?

But swiotlb=force works well!

This means your PCI bridge doesn't support addresses >4GB.

The pci-gart.c patch seems to disable dma.

Only DMA for addresses >4GB.

If your torture test involves more than 64MB of IO in flight
you might also need to increase the bounce buffer area
with swiotlb=128M or somesuch.

I'm about to understand whats going on. So should I use the
dma patch INSTEAD of "swiotlb=force"? I'll try that tonight.

When you not compile in the SKGE network driver does everything else work?

I may test it again, but all seemed to work without any patch or
swiotlb settings when running without the SKGE network driver.

So, how does this work, if my PCI bridge generally fails above 4G?

Problems arise not until I enable/use the network driver.
Does the dma-patch disable DMA for all PCI devices or only
for those which cause problems (like my SKGE)?

Dieter.
--
Dieter Stüken, con terra GmbH, Münster
stueken@xxxxxxxxxxx
http://www.conterra.de/
(0)251-7474-501
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/