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-devel

[Xen-devel] Support for PCI Express under Xen 3

To: "Xen Devel List" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Support for PCI Express under Xen 3
From: "Adit Ranadive" <adit.262@xxxxxxxxx>
Date: Thu, 7 Dec 2006 01:05:17 -0500
Delivery-date: Wed, 06 Dec 2006 22:05:14 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gsYi9g2GESmUiKIRwOUI7M5+IHB4vjDhxpHsBHefBCagXz1ct/l+WQdCyleQjau6BtsDZXOh0AeZb44l286mvmqc1kote61IVzAY7ON0jKxkJgYIn1+pjTofkRchYgOusGpag378Y0m+z2vr3Xlc5w+hkYtdi33W1Cd5C925K2Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Does Xen3 support creation of a pci back end for a PCI express bus?
I have tried to create domUs on a machine with PCI express but during
the creation it says "System does not support PCI".
Is there any special config/bridge to make PCI express work under xen?
Also, PCI express works under dom0 and this is the lspci command output in dom0:

00:00.0 Host bridge: Intel Corporation 955X Express Memory Controller Hub
00:01.0 PCI bridge: Intel Corporation 955X Express PCI Express Root Port
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 1 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI
Express Port 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI
Express Port 6 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2
EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC
Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family)
Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV41GL [Quadro
FX 1400] (rev a2)
02:00.0 InfiniBand: Mellanox Technologies MT25208 InfiniHost III Ex
(Tavor compatibility mode) (rev a0)
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
Gigabit Ethernet PCI Express (rev 01)
05:02.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)


Here is the entire output when the domU is created:

Using config file "/root/Desktop/ramdisk_novifixp".
Started domain vm2
Bootdata ok (command line is
ip=199.77.129.74:1.2.3.4:199.77.129.1:255.255.255.0:vm2:eth0:off
root=/dev/ram0 selinux=0 xencons=ttyS console=ttyS0)
Linux version 2.6.16-rc3-xen0 (root@xxxxxxxxxxxxxxxxxxxxx) (gcc
version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 Wed Nov 29 22:23:46 EST
2006
No mptable found.
Built 1 zonelists
Kernel command line:
ip=199.77.129.74:1.2.3.4:199.77.129.1:255.255.255.0:vm2:eth0:off
root=/dev/ram0 selinux=0 xencons=ttyS console=ttyS0
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 65536 bytes)
Xen reported: 3191.998 MHz processor.
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Software IO TLB disabled
Memory: 246256k/270336k available (3533k kernel code, 23732k reserved,
1383k data, 300k init)
Calibrating delay using timer specific routine.. 7982.62 BogoMIPS (lpj=15965259)
Mount-cache hash table entries: 256
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU:               Intel(R) Pentium(R) D CPU 3.20GHz stepping 04
checking if image is initramfs...it isn't (bad gzip magic numbers);
looks like an initrd
Freeing initrd memory: 4096k freed
DMI 2.3 present.
Grant table initialized
NET: Registered protocol family 16
PCI: setting up Xen PCI frontend stub
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
xen_mem: Initialising balloon driver.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
rtc: IRQ 8 is not free.
i8042.c: No controller found.
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?)
Failed to obtain physical IRQ 6
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
HP CISS Driver (v 2.6.10)
Intel(R) PRO/1000 Network Driver - version 6.3.9-k2
Copyright (c) 1999-2005 Intel Corporation.
pcnet32.c:v1.31c 01.Nov.2005 tsbogend@xxxxxxxxxxxxxxxx
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx>
Xen virtual console successfully installed as ttyS0
Event-channel device installed.
blkif_init: reqs=64, pages=704, mmap_vstart=0xffff88000f400000
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Adaptec aacraid driver (1.1-4 Nov 29 2006 22:22:17)
3ware Storage Controller device driver for Linux v1.26.02.001.
Fusion MPT base driver 3.03.07
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.03.07
usbmon: debugfs is not available
USB Universal Host Controller Interface driver v2.3
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: multipath personality registered for level -4
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@xxxxxxxxxx
device-mapper: dm-multipath version 1.0.4 loaded
device-mapper: dm-round-robin version 1.0.0 loaded
device-mapper: dm-emc version 0.0.3 loaded
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
IP-Config: Complete:
     device=eth0, addr=199.77.129.74, mask=255.255.255.0, gw=199.77.129.1,
    host=vm2, domain=, nis-domain=(none),
    bootserver=1.2.3.4, rootserver=1.2.3.4, rootpath=
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 4096KiB [1 disk] into ram disk... done.
EXT2-fs warning: maximal mount count reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
cat: */class: No such file or directory
cat: */vendor: No such file or directory
cat: */device: No such file or directory
cat: */subsystem_vendor: No such file or directory
cat: */subsystem_device: No such file or directory
arguments (pci) env (PCI_SLOT_NAME=:.
USER=root
selinux=0
DEBUG=yes
ACTION=add
PCI_SLOT=0:0.0
OLDPWD=/sys/bus/pci/devices
HOME=/
TERM=linux
PCI_SUBSYS_ID=:
PCI_CLASS=
PCI_ID=:
PATH=/bin:/sbin:/usr/sbin:/usr/bin
SHELL=/bin/sh
PWD=/etc/hotplug)
invoke /etc/hotplug/pci.agent ()
Bad PCI agent invocation

Thanks,
Adit

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Support for PCI Express under Xen 3, Adit Ranadive <=