Skip to contentSkip to conversation

strange ethtool output in xen environment

DISCUSSION Fasiha Ashraf 2 participants 3 messages Nov 12, 2009 – Nov 13, 2009

lore
Share & tools
lore
#0 lore raw

I want to check the speed like features of my Ethernet in dom0 and domUs. But in virtualized environment it gives strange output why is that so? how to check it otherwise? Non-virtualized FC11
[root@fasiha home]# ethtool eth0
Settings for eth0:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Half 1000baseT/Full
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Half 1000baseT/Full
    Advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 1
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: g
    Wake-on: g
    Current message level: 0x000000ff (255)
    Link detected: yes

Xen Dom0
[root@Server1-FC11 ~]# ethtool eth0
Settings for eth0:
    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:
    Link detected: yes

Regards
Fasiha Ashraf

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#1 lore raw
Quoted 26 lines · Fasiha Ashraf

I want to check the speed like features of my Ethernet in dom0 and domUs.
But in virtualized environment it gives strange output why is that so? how to check it otherwise?
Non-virtualized FC11
[root@fasiha home]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Current message level: 0x000000ff (255)
Link detected: yes

Quoted 5 lines

Xen Dom0
[root@Server1-FC11 ~]# ethtool eth0
Settings for eth0:
Link detected: yes

eth0 is bridge interface. peth0 is the physical interface.

[root@Server1-FC11 ~]# mii-tool eth0

Quoted 7 lines

SIOCGMIIPHY on 'eth0' failed: Operation not supported

Xen DomU
[root@F11-G1S1 /]# ethtool eth0
Settings for eth0:
Link detected: yes

You are using para-VM, use HVM to see a emulated device and the link speed.

Quoted 7 lines

Regards
Fasiha Ashraf
------------------------------
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage<http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Ok thanks. In case of paravirt guests, are they using the same link(interface) as my dom0?

Regards,
Fasiha Ashraf

--- On Fri, 13/11/09, Satish Chowdhury <[email protected]> wrote:

From: Satish Chowdhury <[email protected]>
Subject: Re: [Xen-devel] strange ethtool output in xen environment
To: "Fasiha Ashraf" <[email protected]>
Cc: "xen" <[email protected]>, [email protected]
Date: Friday, 13 November, 2009, 11:27 AM

On Thu, Nov 12, 2009 at 6:29 PM, Fasiha Ashraf <[email protected]> wrote:

I want to check the speed like features of my Ethernet in dom0 and domUs. But in virtualized environment it gives strange output why is that so? how to check it otherwise? Non-virtualized FC11

[root@fasiha home]# ethtool eth0
Settings for eth0:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full

    Supports auto-negotiation:
Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised auto-negotiation: Yes

    Speed: 100Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 1
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: g
    Wake-on: g
    Current message level: 0x000000ff (255)

    Link detected: yes

Xen Dom0
[root@Server1-FC11 ~]# ethtool eth0
Settings for eth0:
    Link detected: yes

eth0 is bridge interface.  peth0 is the physical interface.

[root@Server1-FC11 ~]# mii-tool eth0

SIOCGMIIPHY on 'eth0' failed: Operation not supported

Xen DomU
[root@F11-G1S1 /]# ethtool eth0
Settings for eth0:
    Link detected: yes

You are using para-VM, use HVM to see a emulated  device and the link speed.

Regards
Fasiha Ashraf

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
_______________________________________________

Xen-devel mailing list

[email protected]

http://lists.xensource.com/xen-devel

-----Inline Attachment Follows-----

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users