From:
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Zhuo Song
Sent: Wednesday, November 24, 2010 9:17 PM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: yu.zhao@xxxxxxxxx
Subject: [Xen-devel] about sr-iov
 
 
 
Hi,
 
I got a problem when
prepared to pass-thru 82576 ethernet card with SR-IOV support. 
 
The 82576 card is
build-in on the board. When loading igb driver for the card, dmesg show some
errors like:
 
pci 0000:05:00.0: BAR
10: can't allocate mem resource [0xfbf00000-0xfbefffff]
…
igb 0000:05:00.0: not
enough MMIO resources for SR-IOV
igb 0000:05:00.0:
Failed to initialize SR-IOV virtualization
 
Some system
information from DMI as below:
 
XEN 4.0.0, DOM0
kernel 2.6.32, igb driver 2.2.9
 
System Information
       
Manufacturer: HP
       
Product Name: ProLiant DL160 G6  
 
BIOS Information
       
Vendor: HP
       
Version: O33
       
Release Date: 06/10/2009
       
Address: 0xF0000
       
Runtime Size: 64 kB
       
ROM Size: 2048 kB
       
BIOS Revision: 8.15
 
LAN option rom, the
version is intel agent boot GE 1.3.24, PXE2.1
 
Processor Information
       
Socket Designation: Proc 2
       
Type: Central Processor
       
Family: Xeon
       
Manufacturer:
Intel            
       
Signature: Type 0, Family 6, Model 26, Stepping 5
Version: Intel(R) Xeon(R)
CPU           E5504  @
2.00GHz
 
The same igb driver
works well on a dell server with 82576 adapter. I thought BIOS got some problem
to assign right memory for VFs and I tried to pass *pci=assign-busses*
to kernel, but it still failed. Does the 82576 card SR-IOV need a BIOS enable
and a *REBOOT* to make the function active?  Can anyone just give
me some ideas? Thanks.
 
Best Regards

Zhuo Song
Gif me a visky, ginger ale on the side.