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] Xen 4.1: Xen PCI Passthrough not working Centos 5.7

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 4.1: Xen PCI Passthrough not working Centos 5.7
From: Periko Support <pheriko.support@xxxxxxxxx>
Date: Thu, 10 Nov 2011 23:36:34 -0800
Delivery-date: Thu, 10 Nov 2011 23:38:01 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=waB6NKduA0K2TamvmeHuwWiDH5PNNHZQYsR7McWmJCw=; b=W2X8pSg5x0MWhZJpRY7YNbPIQKhW8VJ9zgHa/FcJtXopwvI/GGM9SfWDiKJGxZULd3 eLi46zwoTXGcFvmOfc9ABrrhvDkyWSWcGvVXDj7H5ApA5FD94dT/vE2k6J2skO5Ld0gd 29dxeTlee+YLfRQeWHgjbzO/4nqHy8If7+BW4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
  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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen 4.1: Xen PCI Passthrough not working Centos 5.7, Periko Support <=