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

Re: [Xen-users] PCI passthrough to Windows XP



> -----Original Message-----
> From: Ian Campbell [mailto:Ian.Campbell@xxxxxxxxxx]


> You seem to still be missing the "=" after the xen-pciback.hide.

I fixed that. I was adding the wrong thing to GRUB_CMDLINE_LINUX.

GRUB_CMDLINE_LINUX="xen-pciback.hide=(05:00.0)(06:04.0)"

Followed by an update-grub and a reboot and

#xm pci-list-assignable-devices 

Shows the two "devices". That is progress, but I still cannot boot my virtual 
machine with

pci = ['05:00.0', '06:04.0'] 

in the .cfg file

> 
> > At this point I am still not sure that the Debain Squeeze kernel
> > supports xen-pciback or if I need to load a module. I also do not
> know
> > if I should be using xen-pciback or just pciback (I have been trying
> > everything with both).
> 
> I don't have a Squeeze box handy to check.
> 

I get nothing with either

#find /lib/modules/$(uname -r) -name \*pciback\*

or

#grep PCIBACK /boot/config-$(uname -r)

If instead I go a little more general

#find / -name \*pciback\* 

/sys/bus/pci/drivers/pciback
/sys/bus/xen-backend/drivers/pciback
/sys/module/xen_pciback
/sys/module/xen_pciback/drivers/pci:pciback
/sys/module/xen_pciback/drivers/xen-backend:pciback

#grep PCI /boot/config-$(uname -r)

CONFIG_PCI_QUIRKS=y
CONFIG_XEN_DOM0_PCI=y
# CONFIG_XEN_PCI_PASSTHROUGH is not set
CONFIG_ACPI_PCI_SLOT=m
# Bus options (PCI etc.)
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_XEN=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI_PCIE=m
CONFIG_PCIEAER=y
# CONFIG_PCIE_ECRC is not set
CONFIG_PCIEAER_INJECT=m
CONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not set
CONFIG_PCI_MSI=y
CONFIG_PCI_LEGACY=y
# CONFIG_PCI_DEBUG is not set
CONFIG_PCI_STUB=m
CONFIG_XEN_PCIDEV_FRONTEND=y
CONFIG_PCI_IOV=y
CONFIG_HOTPLUG_PCI=m
CONFIG_HOTPLUG_PCI_FAKE=m
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
CONFIG_HOTPLUG_PCI_CPCI=y
CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m
CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m
CONFIG_HOTPLUG_PCI_SHPC=m
CONFIG_CAN_EMS_PCI=m
CONFIG_CAN_KVASER_PCI=m
CONFIG_MTD_PCI=m
# PCI IDE chipsets support
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_PATA_CMD640_PCI is not set
CONFIG_ARCNET_COM20020_PCI=m
CONFIG_NET_PCI=y
CONFIG_B44_PCI_AUTOSELECT=y
CONFIG_B44_PCICORE_AUTOSELECT=y
CONFIG_B44_PCI=y
CONFIG_NE2K_PCI=m
CONFIG_TMSPCI=m
CONFIG_PCI_ATMEL=m
CONFIG_P54_PCI=m
CONFIG_HOSTAP_PCI=m
CONFIG_B43_PCI_AUTOSELECT=y
CONFIG_B43_PCICORE_AUTOSELECT=y
CONFIG_B43LEGACY_PCI_AUTOSELECT=y
CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
CONFIG_RT2400PCI=m
CONFIG_RT2500PCI=m
CONFIG_RT61PCI=m
CONFIG_RT2X00_LIB_PCI=m
CONFIG_PCI_HERMES=m
CONFIG_PCI200SYN=m
CONFIG_DSCC4_PCISYNC=y
CONFIG_DSCC4_PCI_RST=y
CONFIG_MISDN_HFCPCI=m
CONFIG_HISAX_TELESPCI=y
CONFIG_HISAX_FRITZPCI=y
CONFIG_HISAX_HFC_PCI=y
CONFIG_HISAX_ENTERNOW_PCI=y
CONFIG_HISAX_FRITZ_PCIPNP=m
CONFIG_ISDN_DRV_AVMB1_B1PCI=m
CONFIG_ISDN_DRV_AVMB1_B1PCIV4=y
CONFIG_ISDN_DRV_AVMB1_T1PCI=m
CONFIG_ISDN_DIVAS_BRIPCI=y
CONFIG_ISDN_DIVAS_PRIPCI=y
CONFIG_SERIO_PCIPS2=m
CONFIG_SERIAL_8250_PCI=y
# PCI-based Watchdog Cards
CONFIG_PCIPCWATCHDOG=m
CONFIG_WDTPCI=m
CONFIG_SSB_PCIHOST_POSSIBLE=y
CONFIG_SSB_PCIHOST=y
CONFIG_SSB_B43_PCI_BRIDGE=y
CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
CONFIG_SSB_DRIVER_PCICORE=y
CONFIG_RADIO_GEMTEK_PCI=m
# Supported SAA7146 based PCI Adapters
CONFIG_TTPCI_EEPROM=m
CONFIG_DVB_B2C2_FLEXCOP_PCI=m
CONFIG_FB_MB862XX_PCI_GDC=y
CONFIG_SND_PCI=y
CONFIG_SND_CMIPCI=m
CONFIG_SND_YMFPCI=m
CONFIG_MMC_SDHCI_PCI=m
CONFIG_UIO_PCI_GENERIC=m
CONFIG_XEN_PCIDEV_BACKEND=y
CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
# CONFIG_XEN_PCIDEV_BACKEND_PASS is not set
# CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
# CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set
# CONFIG_XEN_PCIDEV_BE_DEBUG is not set
CONFIG_XEN_PLATFORM_PCI=y
CONFIG_BRCM80211_PCI=y
CONFIG_COMEDI_PCI_DRIVERS=m
# CONFIG_ALTERA_PCIE_CHDMA is not set
CONFIG_VIRTIO_PCI=m

I am a little worried about the line

# CONFIG_XEN_PCI_PASSTHROUGH is not set
 
> You could also just try modprobe pciback ; modprobe xen-pciback and see
> what it loads.

#modprobe pciback

FATAL: Module pciback not found.

#modprobe xen-pciback

FATAL: MODULE xen_pciback not found.


Note it converted xen-pciback to xen_pciback. I also tried

#modprobe xen_pciback

FATAL: MODULE xen_pciback not found.

#modprobe pci-stub

It appears pci-stub works

This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, copy 
or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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