Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 647187

Summary: [netfront] ethtool -i should return proper information for netfront device
Product: Red Hat Enterprise Linux 4 Reporter: Laszlo Ersek <lersek>
Component: kernel-xenAssignee: Laszlo Ersek <lersek>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 4.9CC: ddutile, drjones, leiwang, mjenner, mkhusid, mshao, xen-maint, yuzhang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 643292 Environment:
Last Closed: 2011-02-16 16:05:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 643292    
Bug Blocks: 514490    
Attachments:
Description Flags
provide get_drvinfo() for xennet/xen-vnif none

Description Laszlo Ersek 2010-10-27 14:00:06 UTC
+++ This bug was initially created as a clone of Bug #643292 +++

Description of problem:
Currently, ethtool -i returns an error for the netfront device.

Version-Release number of selected component (if applicable):
    # uname -r
    2.6.9-89.ELxenU

    # uname -r
    2.6.9-89.ELsmp

How reproducible:
Always. 

Steps to Reproduce:
1. In a RHEL4 XEN PV guest, 

    # ethtool -i eth0
    Cannot get driver information: Operation not supported

2. In a RHEL4 XEN HVM guest, with >>vif = [ "...,type=netfront" ]<<

    # ethtool -i eth0
    Cannot get driver information: Operation not supported

Comment 1 Laszlo Ersek 2010-10-27 14:06:05 UTC
Created attachment 455984 [details]
provide get_drvinfo() for xennet/xen-vnif

Tested as a XEN PV guest:

    # uname -r
    2.6.9-90.ELrhel4.netfront.drvinfo.v2xenU

    # ethtool -i eth0
    driver: xennet
    version: 
    firmware-version: 
    bus-info: vif-0

Tested as a XEN HVM guest, with >>vif = [ "...,type=netfront" ]<<

    # uname -r
    2.6.9-90.ELrhel4.netfront.drvinfo.v2smp

    # ethtool -i eth0
    driver: xen-vnif
    version: 
    firmware-version: 
    bus-info: vif-0

Comment 2 Vivek Goyal 2010-12-14 13:53:44 UTC
Committed in 93.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/

Comment 4 Yufang Zhang 2011-01-07 03:12:39 UTC
QA verified this bug with -94 kernel-xenU packages:

On a RHEL4.9 PV guest,
# uname -r
2.6.9-94.ELxenU

# ethtool -i eth0
driver: xennet
version: 
firmware-version: 
bus-info: vif-0

Change this bug to VERIFIED.

Comment 5 Yufang Zhang 2011-01-07 03:47:49 UTC
An update:

On a RHEL4.9 HVM guest with netfront network card:

# uname -r
2.6.9-94.EL

# ethtool -i eth0
driver: xen-vnif
version: 
firmware-version: 
bus-info: vif-0

Comment 6 errata-xmlrpc 2011-02-16 16:05:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0263.html