From: Fasiha Ashraf Subject: strange ethtool output in xen environment Date: Thu, 12 Nov 2009 18:29:09 +0530 (IST) Message-ID: <514217.68029.qm@web94602.mail.in2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1089152670==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen Cc: xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1089152670== Content-Type: multipart/alternative; boundary="0-995286725-1258030749=:68029" --0-995286725-1258030749=:68029 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I want to check the speed like features of my Ethernet in dom0 and domUs. B= ut in virtualized environment it gives strange output why is that so? how t= o check it otherwise? Non-virtualized FC11 [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 =A0=A0=A0 Supports auto-negotiation: 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 =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) =A0=A0=A0 Link detected: yes Xen Dom0 [root@Server1-FC11 ~]# ethtool eth0 Settings for eth0: =A0=A0=A0 Link detected: yes [root@Server1-FC11 ~]# mii-tool eth0 SIOCGMIIPHY on 'eth0' failed: Operation not supported Xen DomU [root@F11-G1S1 /]# ethtool eth0 Settings for eth0: =A0=A0=A0 Link detected: yes Regards Fasiha Ashraf=0A=0A=0A The INTERNET now has a personality. YOURS! See = your Yahoo! Homepage. http://in.yahoo.com/ --0-995286725-1258030749=:68029 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I want to check the speed like features of my= Ethernet in dom0 and domUs. But in virtualized environment it gives strang= e output why is that so? how to check it otherwise?
Non-virtualized FC11
[root@fasi= ha home]# ethtool eth0
Settings for eth0:
    Supporte= d ports: [ TP ]
    Supported link modes:   10b= aseT/Half 10baseT/Full
         = ;            &n= bsp;      100baseT/Half 100baseT/Full
 &n= bsp;            &nbs= p;             = 1000baseT/Half 1000baseT/Full
    Supports auto-negotiat= ion: Yes
    Advertised link modes:  10baseT/Half 10base= T/Full
           &nb= sp;            =     100baseT/Half 100baseT/Full
     = ;            &n= bsp;          1000baseT/Half 1= 000baseT/Full
    Advertised auto-negotiation: Yes
&n= bsp;   Speed: 100Mb/s
    Duplex: Full
 = ;   Port: Twisted Pair
    PHYAD: 1
 &n= bsp;  Transceiver: internal
    Auto-negotiation: on=
    Supports Wake-on: g
    Wake-on: g=
    Current message level: 0x000000ff (255)
 &nb= sp;  Link detected: yes

Xen Dom0
[root@Server1-FC11 ~]# ethtool eth= 0
Settings for eth0:
    Link detected: yes
[root@S= erver1-FC11 ~]# mii-tool eth0
SIOCGMIIPHY on 'eth0' failed: Operation no= t supported

Xe= n DomU
[root@F11-G1S1 /]# ethtool eth0
Settings for eth0:
&= nbsp;   Link detected: yes

Regards
Fasiha Ashraf

=0A=0A=0A=0A
=0AThe INTERNET= now has a personality. YOURS! See your Yahoo! Homepage. --0-995286725-1258030749=:68029-- --===============1089152670== 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 --===============1089152670==--