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