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

[Xen-users] Xen 4.1: Xen PCI Passthrough not working Centos 5.7



  I had follow very slow the wiki about Xen PCI Passthrough, I want to
give full USB access my domU Windows 7 in my xen machine running xen
4.1 from gitco on centos 5.7 x64.

  The wiki say that if we don't get any output from this command we
better stop until we get something.

   xm pci-list-assignable-devices

  I had not receive any output.

  I have try with 3 MoBo's, the one I got is one from the wiki:
http://wiki.xen.org/xenwiki/VTdHowTo

  ASUS M4A89TD Pro/USB3 BIOS 2001, I had check the bios updates and
looks like is the final, the last one is BETA.

   Well, I was thinking that this would be easy but I still cannot
make this work.

   At boot, I got the words we need:

   xm dmesg | grep AMD
(XEN) ACPI: SRAT C7E9F8B0, 00E8 (r1 AMD    FAM_F_10        2 AMD         1)
(XEN) ACPI: IVRS C7E9F9E0, 00C0 (r1  AMD     RD890S   202031 AMD         0)
(XEN) ACPI: SSDT C7E9FAA0, 088C (r1 A M I  POWERNOW        1 AMD         1)
(XEN) AMD-Vi: IOMMU 0 Enabled.

   Ok, Centos Kernel is not compile with PCIBACK module, them the
manual say that we need this module, I had follow 2 paths:

    A) Follow the step from
http://itknowledgeexchange.techtarget.com/linux-lotus-domino/centos-5-and-pciback-aka-hiding-pci-card-from-xen-dom0/
        didnt work.

    B) Steps from:
http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_as_module
        didn't work

    In both cases, I got this in my dmesg:

dmesg | grep pci
Bootdata ok (command line is ro root=/dev/VolGroup00/LogVol00
pci=nomsi guestdev=00:13.2 reassign_resources)
Kernel command line: ro root=/dev/VolGroup00/LogVol00 pci=nomsi
guestdev=00:13.2 reassign_resources
ACPI: bus type pci registered
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciback 0000:00:13.2: seizing device
pciback 0000:00:13.2: seizing device

dmesg | grep disable
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x84] disabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x85] disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 4 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 4 7 10 11 14 15) *0, disabled.
  PREFETCH window: disabled.
  MEM window: disabled.
  IO window: disabled.
  PREFETCH window: disabled.
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
audit: initializing netlink socket (disabled)
ACPI: PCI interrupt for device 0000:00:13.2 disabled
ACPI: PCI interrupt for device 0000:00:13.2 disabled
ACPI: PCI interrupt for device 0000:00:13.2 disabled

It suppose that this will hide the device from my dom0 but I always
see the device:

lspci | grep 00:13.2
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB
EHCI Controller

Every time I start my domU I got:

xm create /etc/xen/vm-darwin
Using config file "/etc/xen/vm-darwin".
Error: pci: 0000:00:13.2: non-page-aligned MMIO BAR found.

The wiki say that we add:  root=/dev/VolGroup00/LogVol00 pci=nomsi
guestdev=00:13.2 reassign_resources

Didn't work, I still got this message.

I have try in modprobe.conf:

options pciback hide=(00:13.2)
install ehci-hcd /sbin/modprobe pciback; /sbin/modprobe --first-time
--ignore-install ehci-hcd

and
options pciback hide=(00:13.2)
install ehci-hcd /sbin/modprobe pciback; /sbin/modprobe --first-time
--ignore-install ehci-hcd
install usb_storage /sbin/modprobe pciback; /sbin/modprobe
--first-time --ignore-install usb_storage

I found my USB id running udevmonitor.

Right now I had follow the wikis, read a lot of web pages and cannot
give the full control of the usb to my guest windows 7.

If someone could give some clues I will appreciated, thanks!!!

_______________________________________________
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®.