From: Keir Fraser Subject: Re: xen kernel 2.6.18 bug with a d-link DFE 580TX - pci hide Date: Sun, 26 Oct 2008 21:02:22 +0000 Message-ID: References: <4904C24F.4050308@isis-it.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4904C24F.4050308@isis-it.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Michael Kapp Cc: xen-dev , Frank Mundinger List-Id: xen-devel@lists.xenproject.org On 26/10/08 19:17, "Michael Kapp" wrote: >> The network card is only capable of 32-bit DMA. So for addresses above 4GB a >> bounce buffer is required (DMA to/from bounce buffer; then copy to/from >> proper high-memory buffer using host CPU). The swiotlb is basically a >> pre-allocated bounce-buffer area. Because it is pre-allocated it is a waste >> of memory if it isn't used and, since domUs do not normally perform real >> physical I/O directly, we therefore by default only create a swiotlb for >> dom0. You then have to override on the cmdline if this default doesn't >> actually work (as in this case). > > ...and why is it not possible (from the dom0 point of view) to detect > this behaviour while starting the domU, reading it's conf and stop the > boot process with a warning? IOMMU_BUG_ON() is supposed to printk a suitable warnign before actually crashing. Not sure why that didn't work for you. -- Keir