From: Fasiha Ashraf Subject: Re: [Xen-devel] strange ethtool output in xen environment Date: Fri, 13 Nov 2009 14:14:12 +0530 (IST) Message-ID: <359232.16198.qm@web94607.mail.in2.yahoo.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0875620938==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Satish Chowdhury Cc: xen , xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0875620938== Content-Type: multipart/alternative; boundary="0-1582304387-1258101852=:16198" --0-1582304387-1258101852=:16198 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Ok thanks. In case of paravirt guests, are they using the same link(interfa= ce) as my dom0? Regards, Fasiha Ashraf --- On Fri, 13/11/09, Satish Chowdhury wrote: From: Satish Chowdhury Subject: Re: [Xen-devel] strange ethtool output in xen environment To: "Fasiha Ashraf" Cc: "xen" , xen-users@lists.xensource.com Date: Friday, 13 November, 2009, 11:27 AM On Thu, Nov 12, 2009 at 6:29 PM, Fasiha Ashraf wrote: =0A=0A=0A=0AI want to check the speed like features of my Ethernet in dom0 = and domUs. But in virtualized environment it gives strange output why is th= at so? how to check it otherwise? Non-virtualized FC11 =0A=0A[root@fasiha home]# ethtool eth0 Settings for eth0: =A0=A0=A0 Supported ports: [ TP ] =A0=A0=A0 Supported link modes:=A0=A0 10baseT/Half 10baseT/Full=20 =A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 100baseT/Half 100baseT/Full=20 =A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 1000baseT/Half 1000baseT/Full=20 =0A=0A=A0=A0=A0 Supports auto-negotiation:=0A Yes =A0=A0=A0 Advertised link modes:=A0 10baseT/Half 10baseT/Full=20 =A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 100baseT/Half 100baseT/Full=20 =A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 1000baseT/Half 1000baseT/Full=20 =A0=A0=A0 Advertised auto-negotiation: Yes =0A=0A=A0=A0=A0 Speed: 100Mb/s =A0=A0=A0 Duplex: Full =A0=A0=A0 Port: Twisted Pair =A0=A0=A0 PHYAD: 1 =A0=A0=A0 Transceiver: internal =A0=A0=A0 Auto-negotiation: on =A0=A0=A0 Supports Wake-on: g =A0=A0=A0 Wake-on: g =A0=A0=A0 Current message level: 0x000000ff (255) =0A=0A=A0=A0=A0 Link detected: yes Xen Dom0 [root@Server1-FC11 ~]# ethtool eth0 Settings for eth0: =A0=A0=A0 Link detected: yes =0A=0A eth0 is bridge interface.=A0 peth0 is the physical interface. =0A=0A[root@Server1-FC11 ~]# mii-tool eth0 =0A=0ASIOCGMIIPHY on 'eth0' failed: Operation not supported Xen DomU [root@F11-G1S1 /]# ethtool eth0 Settings for eth0: =A0=A0=A0 Link detected: yes =0A=0AYou are using para-VM, use HVM to see a emulated=A0 device and the li= nk speed. =0A=0A=0A=0A Regards Fasiha Ashraf =0A=0A=0A=0A =0AThe INTERNET now has a personality. YOURS! See your Y= ahoo! Homepage. _______________________________________________ =0AXen-devel mailing list =0AXen-devel@lists.xensource.com =0Ahttp://lists.xensource.com/xen-devel =0A =0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A The INTERNET now has a personality. YOURS! See your Yahoo! H= omepage. http://in.yahoo.com/ --0-1582304387-1258101852=:16198 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Ok thanks. In case of paravirt guests, are th= ey using the same link(interface) as my dom0?

Regards,
Fasiha Ash= raf

--- On Fri, 13/11/09, Satish Chowdhury <satish.chowdhur= y@oneconvergence.com> wrote:

Fro= m: Satish Chowdhury <satish.chowdhury@oneconvergence.com>
Subject:= Re: [Xen-devel] strange ethtool output in xen environment
To: "Fasiha A= shraf" <feehapk@yahoo.co.in>
Cc: "xen" <xen-devel@lists.xensour= ce.com>, xen-users@lists.xensource.com
Date: Friday, 13 November, 200= 9, 11:27 AM



On Thu, Nov 12, 2009 at 6:29 PM, Fasiha Ashraf <feehapk@yahoo.co.in><= /span> wrote:
= =0A=0A=0A=0AI want to ch= eck the speed like features of my Ethernet in dom0 and domUs. But in virtua= lized environment it gives strange output why is that so? how to check it o= therwise?
Non-virt= ualized FC11
=0A=0A[root@fasiha home]# ethtool eth0
Settings f= or eth0:
    Supported ports: [ TP ]
   = ; Supported link modes:   10baseT/Half 10baseT/Full
 &nb= sp;             = ;             1= 00baseT/Half 100baseT/Full
        &= nbsp;           &nbs= p;       1000baseT/Half 1000baseT/Full
= =0A=0A    Supports auto-negotiation:=0A Yes
  &= nbsp; Advertised link modes:  10baseT/Half 10baseT/Full
 &nbs= p;             =              10= 0baseT/Half 100baseT/Full
        &n= bsp;            = ;       1000baseT/Half 1000baseT/Full
&nb= sp;   Advertised auto-negotiation: Yes
=0A=0A   = ; Speed: 100Mb/s
    Duplex: Full
    P= ort: Twisted Pair
    PHYAD: 1
    Tran= sceiver: internal
    Auto-negotiation: on
  = ;  Supports Wake-on: g
    Wake-on: g
  = ;  Current message level: 0x000000ff (255)
=0A=0A   = Link detected: yes

Xen Dom0
[root@Server1-FC11 ~]# ethtool eth0
Settings fo= r eth0:
    Link detected: yes
=0A=0A

eth0 is bridge interface.  peth0 is the= physical interface.

= =0A=0A
[root@Server1-FC11 ~]# mii-tool eth0
=0A=0ASIOCGMIIPHY on 'eth0' failed= : Operation not supported

Xen DomU
[root@F11-G1S1 /]# ethtool eth0
Settings = for eth0:
    Link detected: yes
=0A=0A
You are using para-VM, use HVM to see a emulat= ed  device and the link speed.
=0A=0A
=0A=0A
Regards
Fasiha Ashraf=

=0A=0A=0A=0A
=0AThe INTERNET now has a personality. YOURS! See your Yahoo! Homepage.

__________________________= _____________________
=0AXen-devel mailing list
=0AXen-devel@lists.xensour= ce.com
=0Ahttp://lists.xensource.com/xen-devel
=0A

=0A

-----Inline Attachment Follows-----
____________________________________________= ___
Xen-devel mailing list
Xen-devel= @lists.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A=0A=0A
= =0AThe INTERNET now has a personality. YOURS! See your Yahoo!= Homepage. --0-1582304387-1258101852=:16198-- --===============0875620938== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============0875620938==--