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] pvops dom0 20090821 issue (msi)

To: Daniel Schroeder <sec@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] pvops dom0 20090821 issue (msi)
From: Qing He <qing.he@xxxxxxxxx>
Date: Mon, 24 Aug 2009 17:43:57 +0800
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 24 Aug 2009 02:39:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A8E6BDA.2080600@xxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4A8E6BDA.2080600@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
On Fri, 2009-08-21 at 17:41 +0800, Daniel Schroeder wrote:
> Hi Jeremy,
> 
> compilation[1] breaks with:
> 
> grep -i msi .config
> CONFIG_ARCH_SUPPORTS_MSI=y
> # CONFIG_PCI_MSI is not set
> 

Hi Daniel,

The attached patch should fix this,and also another compilation error
of missing domid_t decalaration in drivers/xen/pci.c introduced by
map_pirq physop calls.


> with msi configured it compiles...
> 
> grep -i msi .config
> CONFIG_ARCH_SUPPORTS_MSI=y
> CONFIG_PCI_MSI=y
> 
> may be its related, this compiled kernel is waiting forever at boot time
> during "starting xen control daemon"...three finger salute stalls after
> "unmounting network filesystems"...
> 
> if i add pci=nomsi system boots up and everything is fine :)

What userspace program are you using? I can't find these output
message ("xen control daemon") on my system. Do you get the {xen,kernel}
dmesg? That may help to identify the problem. And what's your environment?

Thanks,
Qing

> 
> -
> daniel
> 
> 
> 
> [1]
>  CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   SYMLINK include/asm -> include/asm-x86
>   CALL    scripts/checksyscalls.sh
>   CHK     include/linux/compile.h
>   CC      arch/x86/xen/pci.o
> arch/x86/xen/pci.c: In function 'xen_setup_msi_irqs':
> arch/x86/xen/pci.c:96: error: 'struct pci_dev' has no member named
> 'msi_list'
> arch/x86/xen/pci.c:96: error: 'struct pci_dev' has no member named
> 'msi_list'
> make[2]: *** [arch/x86/xen/pci.o] Error 1
> make[1]: *** [arch/x86/xen] Error 2
> make: *** [arch/x86] Error 2
> make: *** Waiting for unfinished jobs....
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Attachment: xen-msi-fix-build.patch
Description: Text Data

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