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] PCI Passthrough with kernel.org domU kernel

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] PCI Passthrough with kernel.org domU kernel
From: DeadManMoving <djckel@xxxxxxxxx>
Date: Mon, 25 Oct 2010 11:46:26 -0400
Cc: DeadManMoving <sequel@xxxxxxxxxxxx>, djckel@xxxxxxxxx
Delivery-date: Mon, 25 Oct 2010 09:19:35 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=U2kRjHxMU9XVMdIODNkw4uRtfpMDXthN7+U2RXk/JY0=; b=lzO8NQzx9hpH1YbYpGaaJ6DH+65v2qRBSY6S5c4lERB/EWYC0o7UxaHMxrITtOOEHF kU59jLdMtD/Rrhr94chztmg6zYdf18dlwKbYCfQMRkYgf+w/v6OoZcJmQ183b3ufMWik jP8+VZl68puVlxrmjtjxCRc/lI+DtVE44/fOI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=RNCOA5u5SdzjWg3LRhjPctCFQkSXpTqCv4RaGD16OGva1HDwjTiei3zAbvG6xqfib7 PyOY7y84KxcJH9Ml1VRwUIKDIf/lBi2S+wMgNvYEJkdNt3LDtfEFyZeMQ1Wgz/lwvGRO AahaQlYHyxvQJuOyEJpRd77k3oc06Z8t7hnoM=
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
Hi list,

i'd like to know if PCI Passthrough is suppose to work with kernel.org
kernel linux-2.6.36-rc8.

I'm using linux-2.6.34-xen-r4 from gentoo as kernel for dom0.

>From what i've seen on the list, it should but, i'm not able to get it
work.

However, i'm able to get it work if i also use linux-2.6.34-xen-r4 from
gentoo as kernel for domU.



Here's the relevant kernel config section for my dom0 kernel :


# Linux kernel version: 2.6.34-xen-r4
CONFIG_X86_64_XEN=y
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
# CONFIG_IOMMU_API is not set
CONFIG_X86_XEN_MCE=y
CONFIG_XEN_PCIDEV_FRONTEND=y
# CONFIG_XEN_PCIDEV_FE_DEBUG is not set
CONFIG_XEN=y
CONFIG_XEN_INTERFACE_VERSION=0x00030207
# XEN
CONFIG_XEN_PRIVILEGED_GUEST=y
# CONFIG_XEN_UNPRIVILEGED_GUEST is not set
CONFIG_XEN_PRIVCMD=y
CONFIG_XEN_XENBUS_DEV=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_BLKDEV_TAP=y
CONFIG_XEN_BLKDEV_TAP2=y
CONFIG_XEN_BLKBACK_PAGEMAP=y
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_XEN_NETDEV_TX_SHIFT=8
# CONFIG_XEN_NETDEV_PIPELINED_TRANSMITTER is not set
CONFIG_XEN_NETDEV_LOOPBACK=y
CONFIG_XEN_PCIDEV_BACKEND=y
# CONFIG_XEN_PCIDEV_BACKEND_VPCI is not set
CONFIG_XEN_PCIDEV_BACKEND_PASS=y
# 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_TPMDEV_BACKEND is not set
CONFIG_XEN_SCSI_BACKEND=y
CONFIG_XEN_USB_BACKEND=y
# CONFIG_XEN_BLKDEV_FRONTEND is not set
# CONFIG_XEN_NETDEV_FRONTEND is not set
# CONFIG_XEN_SCSI_FRONTEND is not set
# CONFIG_XEN_USB_FRONTEND is not set
CONFIG_XEN_GRANT_DEV=y
# CONFIG_XEN_FRAMEBUFFER is not set
CONFIG_XEN_DISABLE_SERIAL=y
CONFIG_XEN_SYSFS=y
CONFIG_XEN_NR_GUEST_DEVICES=256
# CONFIG_XEN_COMPAT_030002_AND_LATER is not set
CONFIG_XEN_COMPAT_030004_AND_LATER=y
# CONFIG_XEN_COMPAT_030100_AND_LATER is not set
# CONFIG_XEN_COMPAT_030200_AND_LATER is not set
# CONFIG_XEN_COMPAT_030300_AND_LATER is not set
# CONFIG_XEN_COMPAT_030400_AND_LATER is not set
# CONFIG_XEN_COMPAT_040000_AND_LATER is not set
# CONFIG_XEN_COMPAT_LATEST_ONLY is not set
CONFIG_XEN_COMPAT=0x030004
CONFIG_XEN_SMPBOOT=y
CONFIG_XEN_DEVMEM=y
# Xen driver support
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
# CONFIG_IOMMU_STRESS is not set



Here's the relevant kernel config section for my domU kernel
linux-2.6.34-xen-r4 from gentoo (i have a working PCI Passthrough setup
with this one) :


# Linux kernel version: 2.6.34-xen-r4
CONFIG_X86_64_XEN=y
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
# CONFIG_IOMMU_API is not set
CONFIG_XEN_PCIDEV_FRONTEND=y
# CONFIG_XEN_PCIDEV_FE_DEBUG is not set
# CONFIG_NETXEN_NIC is not set
CONFIG_XEN=y
CONFIG_XEN_INTERFACE_VERSION=0x00030207
# XEN
# CONFIG_XEN_PRIVILEGED_GUEST is not set
CONFIG_XEN_UNPRIVILEGED_GUEST=y
CONFIG_XEN_PRIVCMD=y
CONFIG_XEN_XENBUS_DEV=y
# CONFIG_XEN_BACKEND is not set
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
# CONFIG_XEN_NETDEV_ACCEL_SFC_FRONTEND is not set
CONFIG_XEN_SCSI_FRONTEND=y
# CONFIG_XEN_USB_FRONTEND is not set
CONFIG_XEN_FRAMEBUFFER=y
CONFIG_XEN_KEYBOARD=y
CONFIG_XEN_DISABLE_SERIAL=y
CONFIG_XEN_SYSFS=y
CONFIG_XEN_NR_GUEST_DEVICES=16
# CONFIG_XEN_COMPAT_030002_AND_LATER is not set
CONFIG_XEN_COMPAT_030004_AND_LATER=y
# CONFIG_XEN_COMPAT_030100_AND_LATER is not set
# CONFIG_XEN_COMPAT_030200_AND_LATER is not set
# CONFIG_XEN_COMPAT_030300_AND_LATER is not set
# CONFIG_XEN_COMPAT_030400_AND_LATER is not set
# CONFIG_XEN_COMPAT_040000_AND_LATER is not set
# CONFIG_XEN_COMPAT_LATEST_ONLY is not set
CONFIG_XEN_COMPAT=0x030004
CONFIG_XEN_SMPBOOT=y
CONFIG_XEN_DEVMEM=y
# Xen driver support
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
# CONFIG_XEN_DEV_EVTCHN is not set
# CONFIG_IOMMU_STRESS is not set


And finally, here's the relevant kernel config section for my domU
kernel linux-2.6.36-rc8 (from kernel.org, which is not working for PCI
Passthrough) :

CONFIG_XEN=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=32
CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
CONFIG_GART_IOMMU=y
# CONFIG_CALGARY_IOMMU is not set
# CONFIG_AMD_IOMMU is not set
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
CONFIG_IOMMU_API=y
CONFIG_XEN_BLKDEV_FRONTEND=y
# CONFIG_NETXEN_NIC is not set
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
CONFIG_XEN_FBDEV_FRONTEND=y
# Xen driver support
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_PLATFORM_PCI=y
CONFIG_SWIOTLB_XEN=y
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_IOMMU_STRESS is not set


I have pulled Konrad kernel v2.6.36-rc7 from git and everything under
drivers/xen/ seem identical to what's under drivers/xen/ in kernel.org
linux-2.6.36-rc8.

Maybe the culprit is the dom0 kernel linux-2.6.34-xen-r4 from gentoo,
which cannot be compatible for PCI Passthrough with pvops upstream
kernel.org Linux 2.6.3x?


Any help or hints would be greatly appreciated.

Thanks and regards,

Tony Lapointe




P.S. : i've tried to sent this message to the list with my other mail
(the other one in Cc), but it never reach the list, why?!


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>