Results 1 to 1 of 1
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 ...
- 11-11-2011 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 6
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.
I had not receive any output.xm pci-list-assignable-devices
I have try with 3 MoBo's, the one I got is one from the wiki:
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:
Ok, Centos Kernel is not compile with PCIBACK module, them the manual say that we need this module, I had follow 2 paths: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.
A) Follow the step in how to create initrd with picback support, I cannot post URL yet.
didnt work.
B) Steps from:
wiki xensource com / xenwiki Assign_hardware_to_DomU_with_PCIBack_as_module / Assign hardware to DomU with PCIBack as module - Xen Wiki
NOTE: I cannot post URL's yet.
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 deviceIt suppose that this will hide the device from my dom0 but I always see the 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
Every time I start my domU I got:lspci | grep 00:13.2
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB
EHCI Controller
The wiki say that we add: root=/dev/VolGroup00/LogVol00 pci=nomsi guestdev=00:13.2 reassign_resourcesxm create /etc/xen/vm-darwin
Using config file "/etc/xen/vm-darwin".
Error: pci: 0000:00:13.2: non-page-aligned MMIO BAR found.
Didn't work, I still got this message.
I have try in modprobe.conf:
andoptions pciback hide=(00:13.2)
install ehci-hcd /sbin/modprobe pciback; /sbin/modprobe --first-time
--ignore-install ehci-hcd
I found my USB id running udevmonitor.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
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!!!


Reply With Quote