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

Re: [Xen-devel] Re: [Xen-users] wiki page on 10G SRIOV



The EEPROM was corrupted . I Programmed the EEPROM.
Â
Now it is working fine.
Â
Thank You.

On Tue, Jul 20, 2010 at 2:00 AM, Pasi KÃrkkÃinen <pasik@xxxxxx> wrote:
On Mon, Jul 19, 2010 at 02:59:52PM -0700, kishore kumar wrote:
> Â ÂI am using Ethernet Server Adapater X520 - DA2 (E10G42BTDA) Card.
> Â ÂFor the Device Id 0x10FB, I was able to see all the 64 Virtual Functions,
> Â Âwhen I run lspci command.
> Â ÂBut when the Device ID started showing 0x10D8, I cannot see any Virtual
> Â ÂFunctions, when I run lspci command.
>

So the question is what happened? How/when did it change device ID?
Did you flash/upgrade the firmware?

-- Pasi

> Â ÂOn Mon, Jul 19, 2010 at 2:35 PM, Rose, Gregory V
> Â Â<[1]gregory.v.rose@xxxxxxxxx> wrote:
>
> Â Â ÂIf you have an 82599EB that is using 10D8h for the Virtual Function
> Â Â ÂDevice ID then the adapter is a very old, preproduction version or else
> Â Â Âthe correct EEPROM image has been over-written with an invalid image.Ã
> Â Â ÂThe correct Device ID value for an 82599EB virtual function is 10EDh.
>
> Â Â ÂÃ
>
> Â Â Â- Greg
>
> Â Â ÂÃ
>
> Â Â ÂFrom: [2]xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Â Â Â[mailto:[3]xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Byrne,
> Â Â ÂJohn (HP Labs)
> Â Â ÂSent: Monday, July 19, 2010 2:22 PM
> Â Â ÂTo: kishore kumar
> Â Â ÂCc: [4]xen-devel@xxxxxxxxxxxxxxxxxxx; wangalalei;
> Â Â Â[5]xen-users@xxxxxxxxxxxxxxxxxxx
> Â Â ÂSubject: RE: [Xen-devel] Re: [Xen-users] wiki page on 10G SRIOV
>
> Â Â ÂÃ
>
> Â Â ÂIÃ**m a bit confused with your device IDs. The 10fb device is the PCI id
> Â Â Âfor the physical NIC; the 10d8 device is the SRIOV Virtual Function
> Â Â Âdevice created by the driver. Ã With the latest xen-unstable, I have
> Â Â Âsuccessfully used this NIC to create and assign the VF devices to HVM
> Â Â Âguests. The ixgbevf driver, which binds to the VF devices, expects
> Â Â Âdevice id 0x10ed. I simply assumed that the driver was not quite up to
> Â Â Âdate and tweaked things to work. Ã So, if you are just a bit confused,
> Â Â Âthe following might help.
>
> Â Â ÂÃ
>
> Â Â ÂI added the following in my modprobe.d directory to create four VF
> Â Â Âdevices (ixgbe.conf, attached):
>
> Â Â ÂÃ
>
> Â Â Âoptions ixgbe max_vfs=4
>
> Â Â ÂÃ
>
> Â Â ÂSo, on my machine, I can see the physical NIC and the 4 VFs created.
>
> Â Â ÂÃ
>
> Â Â Âlspci Ã**n | grep 0a:
>
> Â Â Â0a:00.0 0200: 8086:10fb (rev 01)
>
> Â Â Â0a:10.0 0200: 8086:10d8 (rev 01)
>
> Â Â Â0a:10.2 0200: 8086:10d8 (rev 01)
>
> Â Â Â0a:10.4 0200: 8086:10d8 (rev 01)
>
> Â Â Â0a:10.6 0200: 8086:10d8 (rev 01)
>
> Â Â ÂÃ
>
> Â Â ÂI added the ixgbevf driver to both my dom0 and domUs. While it is a
> Â Â Âsimple tweak to add the device id to the driver, I decided to play with
> Â Â Âmodprobe instead and added the following to my modprobe.d directory in
> Â Â Âboth dom0 and domU (ixgbvevf.conf, attached):
>
> Â Â ÂÃ
>
> Â Â Âinstall ixgbevf /sbin/modprobe --ignore-install ixgbevf; echo "0x8086
> Â Â Â0x10d8" >/
>
> Â Â Âsys/bus/pci/drivers/ixgbevf/new_id
>
> Â Â ÂÃ
>
>   ÂIf you are working with HVM guests, there has to be a patch to à qemu as
> Â Â Âwell. (Attached) Ã You also have to add Ã**(pci-passthrough-strict-check
> Â Â Âno)Ã** to your xend-config.sxp. (I donÃ**t think you need the
> Â Â Âxend-config change for PV guests.)
>
> Â Â ÂÃ
>
> Â Â ÂThen it is simply a matter of adding the VF PCI devices to your domU
> Â Â Âconfigurations and configuring the ixgbevf devices in the guests.
>
> Â Â ÂÃ
>
> Â Â ÂBoth the ixgbe and ixgbevf drivers will generate random MAC addresses
>   Âfor the devices. Whatà ÂI wanted to do was to set the MAC addresses for
> Â Â Âthe VF devices in dom0 and then my guestsÃ** networking configuration
> Â Â Âwas much easier. The physical NIC must be up. It doesnÃ**t have to have
> Â Â Âan IP address, but if it isnÃ**t up the MAC address set in dom0 will be
> Â Â Âlost. IÃ**ve attached my dom0 rc.local where I set the MAC addresses and
> Â Â Âassign the devices to pciback.
>
> Â Â ÂÃ
>
> Â Â ÂI canÃ**t swear that this is the best way to do this, but this did work.
>
> Â Â ÂÃ
>
> Â Â ÂJohn Byrne
>
> Â Â ÂÃ
>
> Â Â ÂÃ
>
> Â Â ÂFrom: [6]xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Â Â Â[mailto:[7]xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of kishore
> Â Â Âkumar
> Â Â ÂSent: Monday, July 19, 2010 10:16 AM
> Â Â ÂTo: Pasi KÃârkkÃâinen; [8]xen-devel@xxxxxxxxxxxxxxxxxxx
> Â Â ÂCc: wangalalei; [9]xen-users@xxxxxxxxxxxxxxxxxxx
> Â Â ÂSubject: [Xen-devel] Re: [Xen-users] wiki page on 10G SRIOV
>
> Â Â ÂÃ
>
> Â Â ÂHello Everyone,
>
> Â Â ÂÃ
>
> Â Â ÂI am facing a strange issue with my 10G 82599 PCIe device.
>
> Â Â ÂÃ
>
> Â Â ÂThe Device Id has to be 0x10FB for SRIOV to function properly, But all
> Â Â Âof sudden the Device IDÃ started showing me as 0x10D8, and because of
> Â Â Âthis the SRIOV feature is not working and I cannot assign the Virtual
>   ÂFunction toà Âmy guest.
>
> Â Â ÂÃ
>
> Â Â ÂWhen I did lspci command it is showing me as Intel Corporation Unknown
> Â Â Âdevice 10d8 (rev 01).Ã ÂPreviously it was showing me Intel Corporation
> Â Â Â82599EB Gigabit Networking with 10FB, and I was able to assign the
> Â Â ÂVirtual Function to my guest.
>
> Â Â ÂÃ
>
> Â Â ÂI googled and found out that the device ID 0x10D8 is a 82599
> Â Â ÂUnprogrammed device.
>
> Â Â ÂÃ
>
> Â Â ÂCan any one please let me know what is happening here and how to recover
> Â Â Âback from this?
>
> Â Â ÂI am totally blocked for 2 days because of this issue.
>
> Â Â ÂÃ
>
> Â Â ÂThank You.
>
> Â Â ÂOn Fri, Jul 16, 2010 at 1:05 AM, Pasi KÃârkkÃâinen <[10]pasik@xxxxxx>
> Â Â Âwrote:
>
> Â Â ÂOn Fri, Jul 16, 2010 at 02:17:30AM +0000, wangalalei wrote:
> Â Â Â> Ã ÂÃ hi all:
> Â Â Â>
> Â Â Â> Ã ÂÃ ÂÃ Âi read intel 82576 card datasheet,and finding it saying that
> Â Â Âthe 82576
> Â Â Â> Ã ÂÃ can set the vf's bandwidth,
> Â Â Â> Ã ÂÃ but when i test this card,i can not find any parameter to it
> Â Â Â> Ã ÂÃ ÂÃ Âany one else notice this problem? or anyone knows whether the
> Â Â Â82576
> Â Â Â> Ã ÂÃ card can control its vf's bandwidth?
> Â Â Â>
>
> Â Â ÂI think bandwidth management is a work-in-progress by Intel..
>
> Â Â Â-- Pasi
>
> Â Â Â> Ã ÂÃ alaleiwang
> Â Â Â>
> Â Â Â> Ã
> Â Â ÂÃ --------------------------------------------------------------------------
> Â Â Â>
> Â Â Â> Ã ÂÃ Date: Thu, 15 Jul 2010 18:35:57 -0700
> Â Â Â> Ã ÂÃ Subject: Re: [Xen-users] wiki page on 10G SRIOV
> Â Â Â> Ã ÂÃ From: [11]bodkekumar@xxxxxxxxx
> Â Â Â> Ã ÂÃ To: [12]pasik@xxxxxx
> Â Â Â> Ã ÂÃ CC: [13]xen-users@xxxxxxxxxxxxxxxxxxx
> Â Â Â>
> Â Â Â> Ã ÂÃ Yeah, I configured 64 Virtual Functions in DOM-0 Ã and passthru 1
> Â Â ÂVF to
> Â Â Â> Ã ÂÃ assign it to the guest. Ã It worked for me.
> Â Â Â>
> Â Â Â> Ã ÂÃ I assign static IP to my guest and tried to ping the remote
> Â Â Âmachine. It
> Â Â Â> Ã ÂÃ worked for me.
> Â Â Â>
> Â Â Â> Ã ÂÃ But I am wondering that ping to DOM-0 from guest makes any sense
> Â Â Âhere?
> Â Â Â> Ã ÂÃ Can you let me know on this? Ã ping worked though from guest to
> Â Â ÂDOM-0 as
> Â Â Â> Ã ÂÃ well.
> Â Â Â>
>
> Â Â Â> Ã ÂÃ On Thu, Jul 15, 2010 at 1:11 PM, Pasi KÃ*Ã*ÂrkkÃ*Ã*Âinen
> Â Â Â<[1][14]pasik@xxxxxx>
>
> Â Â Â> Ã ÂÃ wrote:
> Â Â Â>
> Â Â Â> Ã ÂÃ ÂÃ On Thu, Jun 24, 2010 at 10:56:28AM -0700, kishore kumar wrote:
> Â Â Â> Ã ÂÃ ÂÃ > Ã ÂÃ Hi All,
> Â Â Â> Ã ÂÃ ÂÃ >
> Â Â Â> Ã ÂÃ ÂÃ > Ã ÂÃ Can any one please let me know if there is a WIKI page
> Â Â Âwhich talks
> Â Â Â> Ã ÂÃ ÂÃ about
> Â Â Â> Ã ÂÃ ÂÃ > Ã ÂÃ how to configure SRIOV in Xen and use Physical
>   ÂFunctions à and
> Â Â Â> Ã ÂÃ ÂÃ Virtual
> Â Â Â> Ã ÂÃ ÂÃ > Ã ÂÃ Functions ?
> Â Â Â> Ã ÂÃ ÂÃ >
> Â Â Â> Ã ÂÃ ÂÃ > Ã ÂÃ I searched xen wiki, but could not find.
> Â Â Â> Ã ÂÃ ÂÃ >
> Â Â Â>
> Â Â Â> Ã ÂÃ ÂÃ Each virtual function should be a separate PCI device, so you
> Â Â Âcan
> Â Â Â> Ã ÂÃ ÂÃ passthru
> Â Â Â> Ã ÂÃ ÂÃ them like any other normal PCI device.
> Â Â Â>
> Â Â Â> Ã ÂÃ ÂÃ Did you get it to work?
> Â Â Â> Ã ÂÃ ÂÃ -- Pasi
> Â Â Â>
>
> Â Â Â> Ã
> Â Â ÂÃ --------------------------------------------------------------------------
> Â Â Â>
> Â Â Â> Ã ÂÃ ÃÅ**ÃÂÃ*ÂÃÂ+ÃÅ**ÃÂÃÅÃÂ+ÃÂ*ÃÂÃÂÃÂÃÂ
>   ÂÃÅ*ÃÂÃÅà *ÃÅÃ*ÃÂÃÅ*ÃÅÃÂ*ÃÂÃÅÃÅÃÅ,ÃÅ**ÃÅ*ÃÂMSNÃÂÃÅÃÂÃâÃ* ÃÅ**ÃÂÃÂ*!
>   Â> à Âà [2]ÃÂÃÂ*ÃÂ*ÃÂÃâÃÅ*ÃÅÃ*Ã*ÃÂÃ**
>
> Â Â Â>
> Â Â Â> References
> Â Â Â>
> Â Â Â> Ã ÂÃ Visible links
> Â Â Â> Ã ÂÃ 1. mailto:[15]pasik@xxxxxx
>
> Â Â Â> Ã ÂÃ 2. [16]http://3g.msn.cn/
>
> Â Â ÂÃ
>
> References
>
> Â ÂVisible links
> Â Â1. mailto:gregory.v.rose@xxxxxxxxx
> Â Â2. mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Â Â3. mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Â Â4. mailto:xen-devel@xxxxxxxxxxxxxxxxxxx
> Â Â5. mailto:xen-users@xxxxxxxxxxxxxxxxxxx
> Â Â6. mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Â Â7. mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Â Â8. mailto:xen-devel@xxxxxxxxxxxxxxxxxxx
> Â Â9. mailto:xen-users@xxxxxxxxxxxxxxxxxxx
> Â 10. mailto:pasik@xxxxxx
> Â 11. mailto:bodkekumar@xxxxxxxxx
> Â 12. mailto:pasik@xxxxxx
> Â 13. mailto:xen-users@xxxxxxxxxxxxxxxxxxx
> Â 14. mailto:pasik@xxxxxx
> Â 15. mailto:pasik@xxxxxx
> Â 16. http://3g.msn.cn/

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


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

 


Rackspace

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