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

[Xen-users] PCI Mapping of e1000 Dual-Port Adapter to DomU


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Severin Wiedemann" <wiedemann@xxxxxxxxxx>
  • Date: Fri, 16 Nov 2007 12:45:19 +0100
  • Delivery-date: Mon, 19 Nov 2007 10:07:32 -0800
  • Keywords: disclaimer
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcgoRimh2hq6IYzWRJqMzm9+8c0IyA==
  • 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


 


Rackspace

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