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

Re: [Xen-users] Failed to assign PCI NIC to pciback

To: "Bao, Chunjie" <cbao@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Failed to assign PCI NIC to pciback
From: Peter Müller <peter.mueller@xxxxxxxxxxx>
Date: Mon, 03 Aug 2009 15:54:08 +0200
Authentication-results: mail.servator.de; sender-id=softfail header.from=peter.mueller@xxxxxxxxxxx; auth=pass (PLAIN); spf=softfail smtp.mfrom=peter.mueller@xxxxxxxxxxx
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 03 Aug 2009 06:55:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9C56B6AEEB2D60488B29B880DF7E53BE2D142EEE@xxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=6EB68A3C
Organization: Servator Consulting GmbH
References: <9C56B6AEEB2D60488B29B880DF7E53BE2D142EEE@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)
Hi,

why don't you add pciback.hide as boot option like this (without double quotes and system-specific options like root2fstype, which belong to my Univention Corporate Server)?

"module  /vmlinuz-2.6.26-ucs18-xen-amd64 root=/dev/mapper/ucs-root ro root2fstype=ext3 splash=silent console=tty0 fbcon=map:2 pciback.hide=(01:06.0)(01:08.0)"


I'm running Debian Etch with Xen and pciback in this config since some month and encountered no problems with it.

Greetings Peter

Bao, Chunjie schrieb:

I’m running XEN 3.2.0 on a Dell PowerEdge with 3 NIC cards(1 broadcom and 2 intel e1000). Each NIC card has two ports on it.  To Assign 5 of the 6 NIC ports to domU, I add three lines to the /etc/modprobe.conf :

 

options pciback hide=(0c:00.1)(0c:00.0)(0a:00.1)(0a:00.0)(07:00.0)

install bnx2 /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install bnx2

install e1000 /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install e1000

 

This seems always work, but, some times when I restart my server I found some of the domU failed to startup.  This is the erro log in xend.log:

 

Traceback (most recent call last):

          File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 420, in start

            XendTask.log_progress(31, 60, self._initDomain)

           File "/usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress

             retval = func(*args, **kwds)

          File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1764, in _initDomain

            raise exn

VmError: pci: PCI Backend does not own device 0000:0a:00.0

See the pciback.hide kernel command-line parameter or

bind your slot/device to the PCI backend using sysfs

 

This is the output of “lspci | grep Ethernet”

03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)

07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)

0a:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)

0a:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)

0c:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)

0c:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)

 

 

It seems the pciback failed to grab the NIC port(0a:00.1) and e1000 driver has probed the NIC port before pciback. But I cannot find anything wrong with the modprobe.conf.   Does anybody has some suggestion on this?   Thanks in advance!

 

 

--Jerry



Protected by Websense Hosted Email Security — www.websense.com


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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>