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] Dedicate PCI Devices to DomU?

To: "Ahamed K, Rafiq (STSD)" <rafiq.ahamed@xxxxxx>
Subject: Re: [Xen-devel] Dedicate PCI Devices to DomU?
From: Jon Mason <jdmason@xxxxxxxxxx>
Date: Mon, 7 Aug 2006 17:24:32 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 07 Aug 2006 15:25:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <051D8EDA5FB1C3488002AB2F0A939CFC20325F@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Mail-followup-to: "Ahamed K, Rafiq (STSD)" <rafiq.ahamed@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <051D8EDA5FB1C3488002AB2F0A939CFC20325F@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Fri, Aug 04, 2006 at 02:26:41PM -0400, Ahamed K, Rafiq (STSD) wrote:
> I am trying to dedicate a number of  PCI ports to DomU and no success!
> 
>  
> 
> The PCI devices I am trying to dedicate are QLogic 23xx cards!
> 
>  
> 
> I am using SUSE 10.1 with latest xen-unstable!
> 
>  
> 
> I have followed all the instructions given in latest xen 3.0 manual.
> 
>  
> 
> Like building the backend support in Dom0
> 
> Building the frontend support in DomU
> 
> Using the pciback.hide=(xx:xx.x) in Dom0 command line (and it
> successfully hides the devices!)
> 
>  
> 
> Later while I try to load the driver in Dom1 it doesn't load and seems
> to miss some of pci libraries..I am guessing this is due to stripped
> down version of DomU build by xen-unstable. This is what it throws!
> 
> 
> 
> qla2xxx: Unknown symbol fc_attach_transport
> 
> qla2xxx: Unknown symbol pci_set_consistent_dma_mask
> 
> qla2xxx: Unknown symbol pci_enable_device
> 
> qla2xxx: Unknown symbol fc_remote_port_add
> 
> qla2xxx: Unknown symbol fc_remove_host
> 
> qla2xxx: Unknown symbol pci_request_regions
> 
> qla2xxx: Unknown symbol pci_bus_write_config_byte
> 
> qla2xxx: Unknown symbol fc_remote_port_delete
> 
> qla2xxx: Unknown symbol pci_bus_read_config_dword
> 
> qla2xxx: Unknown symbol pci_bus_read_config_word
> 
> qla2xxx: Unknown symbol fc_release_transport
> 
> qla2xxx: Unknown symbol pci_set_mwi
> 
> qla2xxx: Unknown symbol pci_find_capability
> 
> qla2xxx: Unknown symbol fc_remote_port_rolechg
> 
> qla2xxx: Unknown symbol pci_bus_write_config_dword
> 
> qla2xxx: Unknown symbol pci_set_master
> 
> qla2xxx: Unknown symbol pci_bus_write_config_word
> 
> qla2xxx: Unknown symbol pci_release_regions
> 
> qla2xxx: Unknown symbol scsi_is_fc_rport
> 
> qla2xxx: Unknown symbol pci_disable_device
> 
>  
> 
> I have attached the logs of Dom1 and Dom0. Can anyone please tell me if
> anything is missing?

This looks to me like you setup everything to be a module and didn't
copy them over to your domU.  Can you send your domU .config to confirm
this?

Thanks,
Jon
> 
>  
> 
> Note: with xen 2.0 I was able to load at least partially the Qlogic
> driver on Dom1. It used to crash after a while!
> 
>  
> 
> Thanks,
> 
> Rafiq
> 
>  
> 



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


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

<Prev in Thread] Current Thread [Next in Thread>