[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.