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-users

[Xen-users] Re: Xen4.0.1 cannot VTD hide device

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Xen4.0.1 cannot VTD hide device
From: 王宾 <binqbu2002@xxxxxxxxx>
Date: Wed, 23 Mar 2011 16:29:33 +0800
Cc: ken.mingyuan@xxxxxxxxxxx
Delivery-date: Wed, 23 Mar 2011 01:30:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=bm/mWpShSn5cm5aNeoYjtAkLMVSa6Tco2cEoCIk1I94=; b=uUA+JVmYpumEWf7TCmkXr1Es5ShT4SmavR/J8IO2r8bWWKB18uPsHfInuiak5nVXN/ Xd+Id5/W4ePK/nI6ax+nmS5VRtCSwvJVep41/bAwqKnmBL35ZKzk7aBI5m1LmS2Z7+V2 pU5gXPJ/I3N05a0af2l1+0LvL70zpeMClzyXc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=aM1f1BduSTknlp84tQWyV+GCW0ZGmzMepk9DWYZGgKs4FEKK+4I+2jmIIu1qCubyFX QAIKBJgFmU+2HDL8t7cy6eJLS+gRFVcu5tAsk0udxDgf03C4gXlep2RisWbv4nOYQijl c2lRmOlN+D3RqQLh/MvEzu4qwMn4T3J8lFkKs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik5fuAP3XMMre9Sj-WY7VV6z+YutLziQ2u40L87@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTik5fuAP3XMMre9Sj-WY7VV6z+YutLziQ2u40L87@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello:
 
  My problem has been solved ,I have a mistake of pci-stup

 first,i haven't install libpci-devel or pciutils-devel,so when i search xend.log in /var/log/xen/ ,I found this:

[2011-03-23 10:30:59 4914] DEBUG (image:508) signalDeviceModel: orig_state is None, retrying

I have found this reason is: the config_passthough is not set,so that when assigning  device,The device model express error about pci-ins  which cannot  be recognized by HVM . so it say"Error: Timed out waiting for device model action"

The right way is :

reset Domain0 config by  updating this " 
CONFIG_XEN_PCI_PASSTHROUGH=y
CONFIG_XEN_PCIDEV_BACKEND_PASS=y

"
and recompile。then the problem can be solved.


2011/3/22 王宾 <binqbu2002@xxxxxxxxx>
My Dear:

  I have a VTD problem on Xen4.0.1.of course,I hide a PCI device,which is audio  device:00:1b.0.
my grub config is this:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda2
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-194.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.18-194.el5.img
title Xen Dom0, kernel 2.6.32.12
    root (hd0,0)
    kernel /xen-4.0.1.gz iommu=1
    module /vmlinuz-2.6.32.12 root=LABEL=/ ro xen-pciback.hide=(00:1b.0)
    module /initrd-2.6.32.12.img

and  I  reboot to xen4.0.1 and update the HVM config by adding
"pci = [ '00:1b.0' ]"
however,when i excute
#xend start
#xm create winxp
I found  that it gave the following information:
[root@localhost xen]# xm create winxp
Using config file "./winxp".
Error: Timed out waiting for device model action
[root@localhost xen]#
What this problem is?


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>