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

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



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

 


Rackspace

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