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 help!

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] PCI passthrough help!
From: hyyang <hawyuan@xxxxxxxxx>
Date: Tue, 23 Oct 2007 17:26:06 -0700
Delivery-date: Tue, 23 Oct 2007 17:26:58 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=jNGSh6g1tb+W8Kua7Zd4Psva0zT8F27/k1H2iI/cp+U=; b=jQ75FbXRAn7zH+wJwV5DFCXQ4gmKhYl8Alh1BEdUjutUOCyeLIvbVXt2Y74iVZMzOwNX4pryQQicOLd23IcX1UibVWLOdXCaYxmNNc3VW+/N9x58IMfsufGJmAA3Q0CsqTOXt838Av30HcPP5U6VwOXdNyijQdirZHshj/XWe8k=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=mDMhMDHYvGKFSwpchZ7wuk531/OCkLHTAwhhm2fWHLTX84zG5CavQXZajQhUIud8s9f/Gz1i85MxEhFmt83/mh+x2Qw1sG76iuxrpVehVImCWX3uN+8RBfxhXH3BP/FmlO6nTC09Mm3bXq3vmVm8Cg0r/zjVE4FyqCbKBffyyqA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
 
I am testing the PCI passthrough feature by using xen-unstable and Intel DQ35JO motherboard.
The passthrough seems not working. The PCI devices I want to hide still shows up in lspci. The HVM
creation failed with the following message:
 
VmError: Fail to assign device(0:1a.7): maybe VT-d is not enabled, or the device is not exist, or it has already been assigned to other domain
 
I have complied the PCI backend driver into Dom0 kernel and also turn on the PCI backend debug option.
The VT-d option in BIOS is enabled.
 
Following are my grub.config, hvm, and pciback debug output.
 
In grub.config:
 
title Xen 3.2 unstable
        root (hd0,0)
        kernel /boot/xen-3.2.gz console=vga
        module /boot/vmlinuz-2.6.18.8-xen ro root=LABEL=/ rhgb quiet pciback.permissive pciback.hide=(00:1a.7)(00:1d.7 )
        module /boot/initrd-2.6.18.8-xen.img
 
In hvm file I add:
 
     pci = ['00:1a.7']
 
Here is the dmesg | grep pciback:
 
Bootdata ok (command line is ro root=LABEL=/ rhgb quiet pciback.permissive pciback.hide=(00:1a.7)(00:1d.7))
Kernel command line: ro root=LABEL=/ rhgb quiet pciback.permissive pciback.hide=(00:1a.7)(00:1d.7)
Unknown boot option `pciback.permissive': ignoring
pciback: wants to seize 0000:00:1a.7
pciback: wants to seize 0000:00:1d.7
pciback 0000:00:00.0: probing...
pciback 0000:00:02.0: probing...
pciback 0000:00:02.1: probing...
pciback 0000:00:03.0: probing...
pciback 0000:00:03.2: probing...
pciback 0000:00:03.3: probing...
pciback 0000:00:19.0: probing...
pciback 0000:00:1a.0: probing...
pciback 0000:00:1a.1: probing...
pciback 0000:00:1a.2: probing...
pciback 0000:00: 1a.7: probing...
pciback 0000:00:1a.7: seizing device
pciback 0000:00:1a.7: pcistub_device_alloc
pciback 0000:00:1a.7: deferring initialization
pciback 0000:00:1b.0: probing...
pciback 0000:00:1c.0: probing...
pciback 0000:00:1c.1: probing...
pciback 0000:00:1c.2: probing...
pciback 0000:00:1c.3: probing...
pciback 0000:00:1c.4: probing...
pciback 0000:00:1d.0: probing...
pciback 0000:00:1d.1: probing...
pciback 0000:00: 1d.2: probing...
pciback 0000:00:1d.7: probing...
pciback 0000:00:1d.7: seizing device
pciback 0000:00:1d.7: pcistub_device_alloc
pciback 0000:00:1d.7: deferring initialization
pciback 0000:00:1e.0: probing...
pciback 0000:00:1f.0: probing...
pciback 0000:00:1f.2: probing...
pciback 0000:00:1f.3: probing...
pciback 0000:00:1f.5: probing...
pciback 0000:03:00.0: probing...
pciback 0000:06:03.0: probing...
pciback: pcistub_init_devices_late
pciback 0000:00:1d.7: initializing...
pciback 0000:00:1d.7: initializing config
pciback 0000:00:1d.7: initializing virtual configuration space
pciback 0000:00:1d.7: added config field at offset 0x04
pciback 0000:00: 1d.7: added config field at offset 0x3c
pciback 0000:00:1d.7: added config field at offset 0x3d
pciback 0000:00:1d.7: added config field at offset 0x0c
pciback 0000:00:1d.7: added config field at offset 0x0d
pciback 0000:00: 1d.7: added config field at offset 0x0f
pciback 0000:00:1d.7: added config field at offset 0x10
pciback 0000:00:1d.7: added config field at offset 0x14
pciback 0000:00:1d.7: added config field at offset 0x18
pciback 0000:00: 1d.7: added config field at offset 0x1c
pciback 0000:00:1d.7: added config field at offset 0x20
pciback 0000:00:1d.7: added config field at offset 0x24
pciback 0000:00:1d.7: added config field at offset 0x30
pciback 0000:00: 1d.7: Found capability 0x1 at 0x50
pciback 0000:00:1d.7: added config field at offset 0x50
pciback 0000:00:1d.7: added config field at offset 0x52
pciback 0000:00:1d.7: added config field at offset 0x54
pciback 0000:00: 1d.7: added config field at offset 0x56
pciback 0000:00:1d.7: added config field at offset 0x57
pciback 0000:00:1d.7: enabling device
pciback 0000:00:1d.7: reset device
pciback 0000:00:1a.7: initializing...
pciback 0000:00:1a.7: initializing config
pciback 0000:00:1a.7: initializing virtual configuration space
pciback 0000:00:1a.7: added config field at offset 0x04
pciback 0000:00:1a.7: added config field at offset 0x3c
pciback 0000:00:1a.7: added config field at offset 0x3d
pciback 0000:00:1a.7: added config field at offset 0x0c
pciback 0000:00:1a.7: added config field at offset 0x0d
pciback 0000:00:1a.7: added config field at offset 0x0f
pciback 0000:00:1a.7: added config field at offset 0x10
pciback 0000:00:1a.7: added config field at offset 0x14
pciback 0000:00:1a.7: added config field at offset 0x18
pciback 0000:00:1a.7: added config field at offset 0x1c
pciback 0000:00:1a.7: added config field at offset 0x20
pciback 0000:00:1a.7: added config field at offset 0x24
pciback 0000:00:1a.7: added config field at offset 0x30
pciback 0000:00:1a.7: Found capability 0x1 at 0x50
pciback 0000:00:1a.7: added config field at offset 0x50
pciback 0000:00:1a.7: added config field at offset 0x52
pciback 0000:00:1a.7: added config field at offset 0x54
pciback 0000:00:1a.7: added config field at offset 0x56
pciback 0000:00:1a.7: added config field at offset 0x57
pciback 0000:00:1a.7: enabling device
pciback 0000:00:1a.7: reset device
 
 
 
 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>