WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pciback for usb-controller and usb-storage on x86_64 end

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] pciback for usb-controller and usb-storage on x86_64 ends in Oops
From: Patrick Scharrenberg <pittipatti@xxxxxx>
Date: Thu, 02 Nov 2006 12:13:23 +0100
Cc: Xen-Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 02 Nov 2006 13:57:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C16F54E7.3B81%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C16F54E7.3B81%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)
Keir Fraser schrieb:
>> I tried xen-3.0.3 and latest unstable (12053:874cc0ff214d).
>> I use the fedora 2.6.18.1-xen0 since otherwise my sata-controller is not
>> detected.
>>
>> What can I do?
>>     
>
> Is dma_ops == NULL at that point? If not, what value does it have?
>   
It is indeed NULL at that point and as far as I can see it's an issue of
the fedora-kernel since there in arch/x86_64/mm/init-xen.c:mem_init()
"pci_iommu_alloc()" is called instead of "no_iommu_init()"!
I replaced pci_iommu_alloc() with the "pci_swiotlb_init()" /
"no_iommu_init()"-block from xen-unstable and now it works!

The fedora init-xen.c looks very different to the one on your repository
in many places, but I can't see if theses changes were intended or if
it's just an older revision in the fedora-tree.

Patrick

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel