From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Kapp Subject: Re: xen kernel 2.6.18 bug with a d-link DFE 580TX - pci hide Date: Sun, 26 Oct 2008 09:40:35 +0100 Message-ID: <49042D03.3040301@isis-it.de> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040407040402020402040705" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-dev , Frank Mundinger List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040407040402020402040705 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Keir Fraser wrote: > On 25/10/08 21:05, "Michael Kapp" wrote: > >> ----------- [cut here ] --------- [please bite here ] --------- >> Kernel BUG at arch/x86_64/kernel/../../i386/kernel/pci-dma-xen.c:377 > > What's at line 377 in that source file in your kernel source tree? See attachment of the specific part from pci-dma-xen.c. > -- Keir Regards, Michael --------------040407040402020402040705 Content-Type: text/plain; name="pci-dma-xen.c.sources.xen.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pci-dma-xen.c.sources.xen.txt" 362 dma_addr_t 363 dma_map_single(struct device *dev, void *ptr, size_t size, 364 enum dma_data_direction direction) 365 { 366 dma_addr_t dma; 367 368 if (direction == DMA_NONE) 369 BUG(); 370 WARN_ON(size == 0); 371 372 if (swiotlb) { 373 dma = swiotlb_map_single(dev, ptr, size, direction); 374 } else { 375 dma = gnttab_dma_map_page(virt_to_page(ptr)) + 376 offset_in_page(ptr); 377 IOMMU_BUG_ON(range_straddles_page_boundary(__pa(ptr), size)); 378 IOMMU_BUG_ON(address_needs_mapping(dev, dma)); 379 } 380 381 flush_write_buffers(); 382 return dma; 383 } --------------040407040402020402040705 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040407040402020402040705--