|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] XEN 3.3 - pci in domU does not work
Hi,
I installed xen 3.3 on a gentoo x86_64 system. I'm trying to
passthrough a pci isdn card to one domU. When I start the domU I
receive this error:
> xm create -c /etc/xen/gentoo-samba pci=0a:02.0
> Using config file "/etc/xen/gentoo-samba".
> Error: unsupported format character ':' (0x3a) at index 6
So I tried to replace the ':' character with an '.' . Then the domU
starts but there is no pci device.
Any ideas?
Thanks in advance for any help.
Here is my system config and xen setup:
grub:
> module /kernel_2.6.21-xen0 root=/dev/sda3 pciback.permissive
> pciback.hide=(0a:02.0) max_loop=16
uname -a:
> Linux lpxen 2.6.21-xen #2 SMP Thu Sep 25 18:15:23 CEST 2008 x86_64 Intel(R)
> Xeon(R) CPU E3113 @ 3.00GHz GenuineIntel GNU/Linux
domU config:
>general
>name = "SERVER";
>memory = 1024;
># booting
>kernel = "/boot/kernel_2.6.21-xenU";
># virtual harddisk
>disk = [
>'phy:/dev/vg0/gentoo-samba,sda1,w','phy:/dev/vg0/gentoo-samba_swap,sda2,w','phy:/dev/vg2/gentoo-samba_home,sdb1,w'
> ];
>root = "/dev/sda1 ro";
># virtual network
>vif = [ "mac=aa:00:fd:51:34:c1" ];
>dhcp = "dhcp";
ls -l /sys/bus/pci/drivers/pciback/
>
> total 0
> lrwxrwxrwx 1 root root 0 Sep 26 17:31 0000:0a:02.0 ->
> ../../../../devices/pci0000:00/0000:00:1c.0/0000:09:00.0/0000:0a:02.0
> --w------- 1 root root 4096 Sep 26 17:31 bind
> lrwxrwxrwx 1 root root 0 Sep 26 17:31 module -> ../../../../module/pciback
> --w------- 1 root root 4096 Sep 26 17:31 new_id
> --w------- 1 root root 4096 Sep 26 17:31 new_slot
> -rw------- 1 root root 4096 Sep 26 17:31 permissive
> -rw------- 1 root root 4096 Sep 26 17:31 quirks
> --w------- 1 root root 4096 Sep 26 17:31 remove_slot
> -r-------- 1 root root 4096 Sep 26 17:31 slots
> --w------- 1 root root 4096 Sep 26 17:31 unbind
dom0 kernelconfig:
>lpxen ~ # less /usr/src/linux/_dom0/.config |grep XEN
>CONFIG_X86_64_XEN=y
>CONFIG_X86_XEN_GENAPIC=y
>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=0x00030205
># 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_NETDEV_BACKEND=y
># 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_BE_DEBUG=y
># CONFIG_XEN_TPMDEV_BACKEND is not set
># CONFIG_XEN_BLKDEV_FRONTEND is not set
># CONFIG_XEN_NETDEV_FRONTEND is not set
>CONFIG_XEN_SCRUB_PAGES=y
>CONFIG_XEN_DISABLE_SERIAL=y
>CONFIG_XEN_SYSFS=y
>CONFIG_XEN_COMPAT_030002_AND_LATER=y
># CONFIG_XEN_COMPAT_030004_AND_LATER is not set
># CONFIG_XEN_COMPAT_LATEST_ONLY is not set
>CONFIG_XEN_COMPAT=0x030002
>CONFIG_XEN_SMPBOOT=y
domU kernelconfig:
>CONFIG_X86_64_XEN=y
>CONFIG_X86_XEN_GENAPIC=y
>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=0x00030205
># 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_SCRUB_PAGES=y
>CONFIG_XEN_DISABLE_SERIAL=y
>CONFIG_XEN_SYSFS=y
># CONFIG_XEN_COMPAT_030002_AND_LATER is not set
># CONFIG_XEN_COMPAT_030004_AND_LATER is not set
>CONFIG_XEN_COMPAT_LATEST_ONLY=y
>CONFIG_XEN_COMPAT=0xffffff
lspci -pa shows me for the isdn card in dom0:
>0a:02.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH
>Fritz!PCI v2.0 >ISDN (rev 01)
> Subsystem: AVM Audiovisuelles MKTG & Computer System GmbH Fritz!PCI
> v2.0 ISDN
> Flags: medium devsel, IRQ 5
> Memory at dfcfffe0 (32-bit, non-prefetchable) [disabled]
> I/O ports at ece0 [disabled]
> Capabilities: [40] Power Management version 2
> Kernel driver in use: pciback
and lspci for the rest:
>00:00.0 Host bridge: Intel Corporation Memory Controller Hub (rev 90)
>00:02.0 PCI bridge: Intel Corporation PCI Express x8 Port 2-3 (rev 90)
>00:03.0 PCI bridge: Intel Corporation PCI Express x4 Port 3 (rev 90)
>00:04.0 PCI bridge: Intel Corporation PCI Express x4 Port 4 (rev 90)
>00:05.0 PCI bridge: Intel Corporation PCI Express x4 Port 5 (rev 90)
>00:06.0 PCI bridge: Intel Corporation PCI Express x8 Port 6-7 (rev 90)
>00:07.0 PCI bridge: Intel Corporation PCI Express x4 Port 7 (rev 90)
>00:10.0 Host bridge: Intel Corporation FSB Registers (rev 90)
>00:10.1 Host bridge: Intel Corporation FSB Registers (rev 90)
>00:10.2 Host bridge: Intel Corporation FSB Registers (rev 90)
>00:11.0 Host bridge: Intel Corporation Reserved Registers (rev 90)
>00:13.0 Host bridge: Intel Corporation Reserved Registers (rev 90)
>00:15.0 Host bridge: Intel Corporation DDR Channel 0 Registers (rev 90)
>00:16.0 Host bridge: Intel Corporation DDR Channel 1 Registers (rev 90)
>00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 02)
>00:1c.4 PCI bridge: Intel Corporation PCI Express Port 5 (rev 02)
>00:1c.5 PCI bridge: Intel Corporation PCI Express Port 6 (rev 02)
>00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 02)
>00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 02)
>00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 02)
>00:1d.3 USB Controller: Intel Corporation USB UHCI Controller #6 (rev 02)
>00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 02)
>00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
>00:1f.0 ISA bridge: Intel Corporation LPC Interface Controller (rev 02)
>00:1f.2 IDE interface: Intel Corporation 4 port SATA IDE Controller (rev 02)
>00:1f.5 IDE interface: Intel Corporation 2 port SATA IDE Controller (rev 02)
>01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5722 Gigabit
>Ethernet PCI Express
>02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5722 Gigabit
>Ethernet PCI Express
>09:00.0 PCI bridge: Intel Corporation 6702PXH PCI Express-to-PCI Bridge A (rev
>09)
>0a:02.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH
>Fritz!PCI v2.0 ISDN (rev 01)
>0b:07.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-users] XEN 3.3 - pci in domU does not work,
christian <=
|
|
|
|
|