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 Mapping of e1000 Dual-Port Adapter to DomU

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] PCI Mapping of e1000 Dual-Port Adapter to DomU
From: "Severin Wiedemann" <wiedemann@xxxxxxxxxx>
Date: Fri, 16 Nov 2007 16:27:48 +0100
Delivery-date: Fri, 16 Nov 2007 07:28:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Keywords: disclaimer
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
Thread-index: AcgoZT49B29AixPZRtumtN7rPCK2pw==
Thread-topic: PCI Mapping of e1000 Dual-Port Adapter to DomU
Hello,

I´m trying to map one network interface of a Dual-Port e1000 Server
Adapter
to a DomU (firewall). In Dom0 the adaper is seen with lspci as:

06:00.0 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN
Controller Copper (rev 01)
06:00.1 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN
Controller Copper (rev 01)

My goal is to map only 06:00.1 to DomU so I used this script before the
startup of xendomains:

#!/bin/bash
/sbin/modprobe pciback
SLOT=0000:06:00.1
# Unbind a PCI network card from its network driver
echo -n $SLOT > /sys/bus/pci/drivers/e1000/unbind
# And now bind it to the PCI Backend
echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot
echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind

I can see that after executing the script above the adapter is bind to
pciback correctly.

When I start the DomU I can´t see the Adapter with lspci.

I use XEN 3.1.0 with Kernel 2.6.18 (Source-Package) under Debian Etch.
The frontend-Driver is compiled into the
Kernel and the pciback-Driver is compiled as Module. I use the same
Kernel/initrd for Dom0/DomU.

Is it possible that I have to use a single e1000 Card to map it to DomU
and that it is not
possible to map only one Interface of the Dual-Card to DomU?

Thanks for any hints on this topic !

   Severin Wiedemann
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/

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

<Prev in Thread] Current Thread [Next in Thread>