From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhuo Song" Subject: about sr-iov Date: Wed, 24 Nov 2010 21:16:50 +0800 Message-ID: <4ced1042.16958e0a.6a0f.ffffae66@mx.google.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0950053322==" Return-path: Content-Language: zh-cn List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: yu.zhao@intel.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0950053322== Content-Type: multipart/related; boundary="----=_NextPart_000_0006_01CB8C1C.EC2A7710" Content-Language: zh-cn This is a multi-part message in MIME format. ------=_NextPart_000_0006_01CB8C1C.EC2A7710 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0007_01CB8C1C.EC2A7710" ------=_NextPart_001_0007_01CB8C1C.EC2A7710 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 face Zhuo Song Gif me a visky, ginger ale on the side. ------=_NextPart_001_0007_01CB8C1C.EC2A7710 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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=3Dassign-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

3Dface

Zhuo Song

Gif me a visky, ginger ale on the side.

 

------=_NextPart_001_0007_01CB8C1C.EC2A7710-- ------=_NextPart_000_0006_01CB8C1C.EC2A7710 Content-Type: image/jpeg; name="image001.jpg" Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEAYABgAAD/4QAWRXhpZgAASUkqAAgAAAAAAAAAAAD/2wBDAAgGBgcGBQgH BwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/ 2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy MjIyMjIyMjIyMjL/wAARCAAfACIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQF BgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4 eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi 4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREA AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl 8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImK kpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP0 9fb3+Pn6/9oADAMBAAIRAxEAPwD3+oLy6jsrSW5l+5GuSB1PoB7k8VBquq22j2YubneVLhFVBksT /wDWBP4V574j8UXuphoYx5FnuyqD7zjtuP64H64zXTh8NKq0+hxYvGww8Wvtdj0XTNQg1XTbe/tz mKdA45BI9Qcdwcg+4q3Xj/hnxnJoDi2uGaXTyxYxgZdDg/cyRgE4yDx1xyTn07Q9ds/EOn/bLLzA gcxssi4ZWGD7joQeD3qa9CVKXkVhcXCvFNbmlRRRWB1nFfEa3uv7Otb+Eg29qzecN2CNxUKcd+eP Xn6157aeMLTTzIt7pwuyGV487SHwCCjbg2F+bdlQDlQDkdPd65+98EeGtQdWn0iAEf8APEtFn67C M11wxNqXs3/X5fmcM8GnX9stb7r/ACdn+KZ4RqHiG0v9ItrG2sCl3GyNPcFUGNqbdqlQCwbG87iS Cx6jGPUPhBaXcejXt5NkW88irCCTyVzuYdscgZHdSO1dFa/D/wAK2c/nRaPEzYIxM7yr/wB8uSP0 rpFVUUKqhVAwABgAVM66cORdf68/zLp4a1RT2tsv83ZfkhaKKK5jrP/Z ------=_NextPart_000_0006_01CB8C1C.EC2A7710-- --===============0950053322== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0950053322==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: about sr-iov Date: Wed, 24 Nov 2010 08:37:11 -0500 Message-ID: <20101124133711.GD7985@dumpdata.com> References: <4ced1042.16958e0a.6a0f.ffffae66@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4ced1042.16958e0a.6a0f.ffffae66@mx.google.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Zhuo Song Cc: yu.zhao@intel.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Nov 24, 2010 at 09:16:50PM +0800, Zhuo Song wrote: > Hi, > > > > I got a problem when prepared to pass-thru 82576 ethernet card with SR-IOV > support. To a PV guest? Or is this just when you were booting up the machine and tried to initialize the card? > > > > 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 > > face > > Zhuo Song > > Gif me a visky, ginger ale on the side. > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhang, Yang Z" Subject: RE: about sr-iov Date: Wed, 24 Nov 2010 22:26:21 +0800 Message-ID: <749B9D3DBF0F054390025D9EAFF47F223023AED5@shsmsx501.ccr.corp.intel.com> References: <4ced1042.16958e0a.6a0f.ffffae66@mx.google.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0532089339==" Return-path: In-Reply-To: <4ced1042.16958e0a.6a0f.ffffae66@mx.google.com> Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Zhuo Song , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============0532089339== Content-Language: en-US Content-Type: multipart/related; boundary="_004_749B9D3DBF0F054390025D9EAFF47F223023AED5shsmsx501ccrcor_"; type="multipart/alternative" --_004_749B9D3DBF0F054390025D9EAFF47F223023AED5shsmsx501ccrcor_ Content-Type: multipart/alternative; boundary="_000_749B9D3DBF0F054390025D9EAFF47F223023AED5shsmsx501ccrcor_" --_000_749B9D3DBF0F054390025D9EAFF47F223023AED5shsmsx501ccrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Try to add pci=3Dassign-busses in kernel cmd line. best regards yang From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists= .xensource.com] On Behalf Of Zhuo Song Sent: Wednesday, November 24, 2010 9:17 PM To: xen-devel@lists.xensource.com Cc: yu.zhao@intel.com 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 ca= rd, dmesg show some errors like: pci 0000:05:00.0: BAR 10: can't allocate mem resource [0xfbf00000-0xfbeffff= f] ... 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 thoug= ht BIOS got some problem to assign right memory for VFs and I tried to pass= *pci=3Dassign-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 [cid:image001.jpg@01CB8C26.9B4E0AA0] Zhuo Song Gif me a visky, ginger ale on the side. --_000_749B9D3DBF0F054390025D9EAFF47F223023AED5shsmsx501ccrcor_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Try to add =  pci=3Dassign-busses in kernel cmd line.

 =

 =

best regard= s

yang

 =

From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xenso= urce.com] On Behalf Of Zhuo Song
Sent: Wednesday, November 24, 2010 9:17 PM
To: xen-devel@lists.xensource.com
Cc: yu.zhao@intel.com
Subject: [Xen-devel] about sr-iov

 

Hi,

 =

I got a pro= blem when prepared to pass-thru 82576 ethernet card with SR-IOV support. <= /span>

 =

The 82576 c= ard 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 Info= rmation

  = ;      Manufacturer: HP

  = ;      Product Name: ProLiant DL160 G6 

 =

BIOS Inform= ation

  = ;      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 I= nformation

  = ;      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 ig= b driver works well on a dell server with 82576 adapter. I thought BIOS got some pro= blem to assign right memory for VFs and I tried to pass *pci=3Dassign-busses<= /b>* to kernel, but it still failed. Does the 82576 card SR-IOV need a BIOS enab= le and a *REBOOT* to make the function active?  Can anyone just gi= ve me some ideas? Thanks.

 =

Best Regards

3Dface

Zhuo Song

Gif me a visky, ginger ale on the side.

 

--_000_749B9D3DBF0F054390025D9EAFF47F223023AED5shsmsx501ccrcor_-- --_004_749B9D3DBF0F054390025D9EAFF47F223023AED5shsmsx501ccrcor_ Content-Type: image/jpeg; name="image001.jpg" Content-Description: image001.jpg Content-Disposition: inline; filename="image001.jpg"; size=1068; creation-date="Wed, 24 Nov 2010 22:26:22 GMT"; modification-date="Wed, 24 Nov 2010 22:26:22 GMT" Content-ID: Content-Transfer-Encoding: base64 /9j/4AAQSkZJRgABAQEAYABgAAD/4QAWRXhpZgAASUkqAAgAAAAAAAAAAAD/2wBDAAgGBgcGBQgH BwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/ 2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy MjIyMjIyMjIyMjL/wAARCAAfACIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQF BgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4 eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi 4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREA AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl 8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImK kpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP0 9fb3+Pn6/9oADAMBAAIRAxEAPwD3+oLy6jsrSW5l+5GuSB1PoB7k8VBquq22j2YubneVLhFVBksT /wDWBP4V574j8UXuphoYx5FnuyqD7zjtuP64H64zXTh8NKq0+hxYvGww8Wvtdj0XTNQg1XTbe/tz mKdA45BI9Qcdwcg+4q3Xj/hnxnJoDi2uGaXTyxYxgZdDg/cyRgE4yDx1xyTn07Q9ds/EOn/bLLzA gcxssi4ZWGD7joQeD3qa9CVKXkVhcXCvFNbmlRRRWB1nFfEa3uv7Otb+Eg29qzecN2CNxUKcd+eP Xn6157aeMLTTzIt7pwuyGV487SHwCCjbg2F+bdlQDlQDkdPd65+98EeGtQdWn0iAEf8APEtFn67C M11wxNqXs3/X5fmcM8GnX9stb7r/ACdn+KZ4RqHiG0v9ItrG2sCl3GyNPcFUGNqbdqlQCwbG87iS Cx6jGPUPhBaXcejXt5NkW88irCCTyVzuYdscgZHdSO1dFa/D/wAK2c/nRaPEzYIxM7yr/wB8uSP0 rpFVUUKqhVAwABgAVM66cORdf68/zLp4a1RT2tsv83ZfkhaKKK5jrP/Z --_004_749B9D3DBF0F054390025D9EAFF47F223023AED5shsmsx501ccrcor_-- --===============0532089339== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0532089339==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Johnson Subject: Re: about sr-iov Date: Wed, 24 Nov 2010 16:27:31 +0000 (UTC) Message-ID: References: <4ced1042.16958e0a.6a0f.ffffae66@mx.google.com> <20101124133711.GD7985@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Konrad Rzeszutek Wilk oracle.com> writes: > > On Wed, Nov 24, 2010 at 09:16:50PM +0800, Zhuo Song wrote: > > Hi, > > I got a problem when prepared to pass-thru 82576 ethernet card with SR-IOV > > support. > It sounds like the HP system does have VT-d enabled or it does not support SR- IOV in the BIOS. I would check the HP support site or give them a call. Take a look at either of these sites below for more information on SR-IOV. http://www.youtube.com/watch?v=hRHsk8Nycdg http://community.citrix.com/display/ocb/2010/09/14/Citrix+Provisioning+Server+G ets+Virtual+with+SR-IOV http://communities.intel.com/community/wired/blog/2010/03/01/setting-up-red- hat-54-xen-for-sr-iov-using-the-intel-82576-gbe Brian Johnson LAN Access Division - Intel Corp 10Gb Ethernet and Virtualization Technologies From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhuo Song" Subject: RE: about sr-iov Date: Thu, 25 Nov 2010 15:43:01 +0800 Message-ID: <4cee138b.2af98e0a.7e74.2069@mx.google.com> References: <4ced1042.16958e0a.6a0f.ffffae66@mx.google.com> <749B9D3DBF0F054390025D9EAFF47F223023AED5@shsmsx501.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0427558898==" Return-path: In-Reply-To: <749B9D3DBF0F054390025D9EAFF47F223023AED5@shsmsx501.ccr.corp.intel.com> Content-Language: zh-cn List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "'Zhang, Yang Z'" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0427558898== Content-Type: multipart/related; boundary="----=_NextPart_000_0015_01CB8CB7.74004670" Content-Language: zh-cn This is a multi-part message in MIME format. ------=_NextPart_000_0015_01CB8CB7.74004670 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0016_01CB8CB7.74004670" ------=_NextPart_001_0016_01CB8CB7.74004670 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hi yang, Thanks for your advice. =20 But I have tired that you said just like my old description, = unfortunately, it still failed. I will double check it again. =20 Best Regards face Zhuo Song Gif me a visky, ginger ale on the side. =20 =B7=A2=BC=FE=C8=CB: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] =B4=FA=B1=ED Zhang, Yang = Z =B7=A2=CB=CD=CA=B1=BC=E4: 2010=C4=EA11=D4=C224=C8=D5 22:26 =CA=D5=BC=FE=C8=CB: Zhuo Song; xen-devel@lists.xensource.com =D6=F7=CC=E2: RE: [Xen-devel] about sr-iov =20 Try to add pci=3Dassign-busses in kernel cmd line. =20 =20 best regards yang =20 From: xen-devel-bounces@lists.xensource.com = [mailto:xen-devel-bounces@lists. xensource.com] On Behalf Of Zhuo Song Sent: Wednesday, November 24, 2010 9:17 PM To: xen-devel@lists.xensource.com Cc: yu.zhao@intel.com Subject: [Xen-devel] about sr-iov =20 Hi, =20 I got a problem when prepared to pass-thru 82576 ethernet card with = SR-IOV support.=20 =20 The 82576 card is build-in on the board. When loading igb driver for the card, dmesg show some errors like: =20 pci 0000:05:00.0: BAR 10: can't allocate mem resource [0xfbf00000-0xfbefffff] =A1=AD igb 0000:05:00.0: not enough MMIO resources for SR-IOV igb 0000:05:00.0: Failed to initialize SR-IOV virtualization =20 Some system information from DMI as below: =20 XEN 4.0.0, DOM0 kernel 2.6.32, igb driver 2.2.9 =20 System Information Manufacturer: HP Product Name: ProLiant DL160 G6 =20 =20 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 =20 LAN option rom, the version is intel agent boot GE 1.3.24, PXE2.1 =20 Processor Information Socket Designation: Proc 2 Type: Central Processor Family: Xeon Manufacturer: Intel =20 Signature: Type 0, Family 6, Model 26, Stepping 5 Version: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz =20 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=3Dassign-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. =20 Best Regards face Zhuo Song Gif me a visky, ginger ale on the side. =20 ------=_NextPart_001_0016_01CB8CB7.74004670 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Hi = yang,

Thanks = for your advice.

 

But I = have tired that you said just like my old description, unfortunately, it still failed. I = will double check it again.

 

Best Regards

3Dface

Zhuo Song

Gif me a visky, ginger ale on the side.

 

=B7=A2=BC=FE=C8=CB: = xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] =B4=FA=B1=ED = Zhang, Yang Z
=B7=A2=CB=CD=CA=B1=BC= =E4: = 2010=C4=EA11=D4=C224=C8=D5 22:26
=CA=D5=BC=FE=C8=CB: Zhuo Song; xen-devel@lists.xensource.com
=D6=F7=CC=E2: = RE: [Xen-devel] about sr-iov

 

Try to = add  pci=3Dassign-busses in kernel cmd line.

 

 

best = regards

yang

 

From:= xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Zhuo = Song
Sent: Wednesday, November 24, 2010 9:17 PM
To: xen-devel@lists.xensource.com
Cc: yu.zhao@intel.com
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]

=A1=AD

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=3Dassign-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

3Dface

Zhuo Song

Gif me a visky, ginger ale on the side.

 

------=_NextPart_001_0016_01CB8CB7.74004670-- ------=_NextPart_000_0015_01CB8CB7.74004670 Content-Type: image/jpeg; name="image001.jpg" Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEAYABgAAD/4QAWRXhpZgAASUkqAAgAAAAAAAAAAAD/2wBDAAgGBgcGBQgH BwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/ 2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy MjIyMjIyMjIyMjL/wAARCAAfACIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQF BgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4 eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi 4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREA AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl 8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImK kpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP0 9fb3+Pn6/9oADAMBAAIRAxEAPwD3+oLy6jsrSW5l+5GuSB1PoB7k8VBquq22j2YubneVLhFVBksT /wDWBP4V574j8UXuphoYx5FnuyqD7zjtuP64H64zXTh8NKq0+hxYvGww8Wvtdj0XTNQg1XTbe/tz mKdA45BI9Qcdwcg+4q3Xj/hnxnJoDi2uGaXTyxYxgZdDg/cyRgE4yDx1xyTn07Q9ds/EOn/bLLzA gcxssi4ZWGD7joQeD3qa9CVKXkVhcXCvFNbmlRRRWB1nFfEa3uv7Otb+Eg29qzecN2CNxUKcd+eP Xn6157aeMLTTzIt7pwuyGV487SHwCCjbg2F+bdlQDlQDkdPd65+98EeGtQdWn0iAEf8APEtFn67C M11wxNqXs3/X5fmcM8GnX9stb7r/ACdn+KZ4RqHiG0v9ItrG2sCl3GyNPcFUGNqbdqlQCwbG87iS Cx6jGPUPhBaXcejXt5NkW88irCCTyVzuYdscgZHdSO1dFa/D/wAK2c/nRaPEzYIxM7yr/wB8uSP0 rpFVUUKqhVAwABgAVM66cORdf68/zLp4a1RT2tsv83ZfkhaKKK5jrP/Z ------=_NextPart_000_0015_01CB8CB7.74004670-- --===============0427558898== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0427558898==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhuo Song" Subject: RE: about sr-iov Date: Thu, 25 Nov 2010 15:49:06 +0800 Message-ID: <4cee14f7.05d08e0a.71f4.1ff2@mx.google.com> References: <4ced1042.16958e0a.6a0f.ffffae66@mx.google.com> <20101124133711.GD7985@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20101124133711.GD7985@dumpdata.com> Content-Language: zh-cn List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: 'Konrad Rzeszutek Wilk' Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Konrad, Just when dom0 loading the igb driver and I had not created any guest. Best Regards Zhuo Song Gif me a visky, ginger ale on the side. On Wed, Nov 24, 2010 at 09:16:50PM +0800, Zhuo Song wrote: > Hi, > > > > I got a problem when prepared to pass-thru 82576 ethernet card with SR-IOV > support. To a PV guest? Or is this just when you were booting up the machine and tried to initialize the card? > > > > 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 > > face > > Zhuo Song > > Gif me a visky, ginger ale on the side. > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhuo Song" Subject: RE: Re: about sr-iov Date: Thu, 25 Nov 2010 16:05:19 +0800 Message-ID: <4cee18c4.0ecf8e0a.3f35.2106@mx.google.com> References: <4ced1042.16958e0a.6a0f.ffffae66@mx.google.com> <20101124133711.GD7985@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: zh-cn List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: 'Brian Johnson' , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Brian, Thanks for your information and I'd like to give them a call. But I also concern that why it still failed when I tried to make os kernel do allocation for the pci buses. It seems very interesting if it could be a work around for the BIOS with no sr-iov enabled. Best Regards Zhuo Song Gif me a visky, ginger ale on the side. Konrad Rzeszutek Wilk oracle.com> writes: > > On Wed, Nov 24, 2010 at 09:16:50PM +0800, Zhuo Song wrote: > > Hi, > > I got a problem when prepared to pass-thru 82576 ethernet card with SR-IOV > > support. > It sounds like the HP system does have VT-d enabled or it does not support SR- IOV in the BIOS. I would check the HP support site or give them a call. Take a look at either of these sites below for more information on SR-IOV. http://www.youtube.com/watch?v=hRHsk8Nycdg http://community.citrix.com/display/ocb/2010/09/14/Citrix+Provisioning+Serve r+G ets+Virtual+with+SR-IOV http://communities.intel.com/community/wired/blog/2010/03/01/setting-up-red- hat-54-xen-for-sr-iov-using-the-intel-82576-gbe Brian Johnson LAN Access Division - Intel Corp 10Gb Ethernet and Virtualization Technologies _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel