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] domU does not see the pci nic - pci passthrough

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] domU does not see the pci nic - pci passthrough
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=s7zEuIAuXTr2g8POKeK3uMLXj9qHaHpD4n78oMNiKHY=; b=ubu7GbBGtINqg+AW9Kt3wiaNK0Bmeti6PMwryZ+VQkc8/pQxWDDloDXTQMsOj/udZxERNWNfTK8guGAgktO+Vs4WJHvT2nQsKZ1V7pa10hRaxxLzEZFZ9sowVVTPslR8uW2sbX5hj6uJi5YawLotijl66gBEgfhlrln0uqwM5UU=
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=
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 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
<Prev in Thread] Current Thread [Next in Thread>