[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] domU does not see the pci nic - pci passthrough


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Marco Strullato" <marco.strullato@xxxxxxxxx>
  • Date: Mon, 3 Dec 2007 16:39:01 +0100
  • Delivery-date: Mon, 03 Dec 2007 07:39:52 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type; b=rRzmR9nl4EYtgf12siTyoZkUu8u9RYzO0z0AYdzjuyr9+RE4gbmKaxDIAcXkzUzxlp2LAGjG9r2oxSQhOqa/U4QMOkvLgbedpogEmVT6J+eluR46BpUrrWbaHwXb61pKnXKp6HY0ZdvQCBeTzf8klenth7EhylccuaWAegi1DZs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi all!
I want to assign a physical network card  (e100) to a domU:
I think  Dom0 is ok but domU does not recognize the pci nic.

into DomU I don't know wath should I see: I have nothing in dmesg nor in messages...

Into Dom0 I have

this modules.conf:
options pciback hide=(0000:03: 08.0)
install e100 /sbin/modprobe pciback; /sbin/modprobe --ignore-install e100

This is dmesg:
pciback 0000:03:08.0: seizing device
ACPI: PCI Interrupt 0000:03:08.0[A] -> GSI 20 (level, low) -> IRQ 21
ACPI: PCI interrupt for device 0000:03:08.0 disabled
tg3.c:v3.65-rh (November 20, 2006)
ACPI: PCI Interrupt 0000:03:09.0[A] -> GSI 21 (level, low) -> IRQ 22
eth0: Tigon3 [partno(BCM95703A30U_HYB) rev 1100 PHY(5703)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:10:18:24:d2:a6
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[763f0000] dma_mask[64-bit]
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation

this is the lspci line:
03:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)

this is the content of the dir /lrwxrwxrwx 1 root root    0 Dec  3 16:07 0000:03:08.0 -> ../../../../devices/pci0000:00/0000:00:1e.0/0000:03:08.0
--w------- 1 root root 4096 Dec  3 16:07 bind
lrwxrwxrwx 1 root root    0 Dec  3 16:07 module -> ../../../../module/pciback
--w------- 1 root root 4096 Dec  3 16:07 new_id
--w------- 1 root root 4096 Dec  3 16:07 new_slot
-rw------- 1 root root 4096 Dec  3 16:07 permissive
-rw------- 1 root root 4096 Dec  3 16:07 quirks
--w------- 1 root root 4096 Dec  3 16:07 remove_slot
-r-------- 1 root root 4096 Dec  3 16:07 slots
--w------- 1 root root 4096 Dec  3 16:07 unbindsys/bus/pci/drivers/pciback/

This is the domU confguration file:
name = "VMTEST"
memory = "256"
disk = [ 'phy:/dev/VolGroup00/VMTEST,xvda,w', ]
vif = [ 'mac=00:16:3e:21:33:b2, bridge=xenbr0', ]
uuid = "a1532b7c-5aa4-3eb5-a150-930402abd72f"
bootloader="/usr/bin/pygrub"
vcpus=2
on_reboot   = 'restart'
on_crash    = 'restart'
pci = ['03.08.0']


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.