Bug 649248

Summary: ethtool: Provide a default implementation of ethtool_ops::get_drvinfo
Product: Red Hat Enterprise Linux 6 Reporter: Laszlo Ersek <lersek>
Component: kernelAssignee: Laszlo Ersek <lersek>
Status: CLOSED ERRATA QA Contact: Boris Ranto <branto>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: branto, dtian
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-2.6.32-83.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-23 20:28:18 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:

Description Laszlo Ersek 2010-11-03 10:37:13 UTC
Description of problem:

virtio guest, kvm host:

    # uname -r
    2.6.32-80.el6.x86_64

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

pv guest, xen host:

    # uname -r
    2.6.32-80.el6.x86_64

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

pv on hvm guest (with vif = [ "...,type=netfront" ]), xen host:

    # uname -r
    2.6.32-80.el6.x86_64

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

"ethtool -i" should print the driver name and the bus info.

This bug for RHEL6 is similar to bugs 647187/647196 (netfront/virtio_net) for RHEL4 and to bugs 643292/645646 (netfront/virtio_net) for RHEL5. For RHEL6 only a common bug is submitted, because the fix is a commonly effective backport of the following upstream patch ("ethtool.c" part):

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=01414802054c382072b6cb9a1bdc6e243c74b2d5#patch17

Comment 1 RHEL Program Management 2010-11-03 11:50:03 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 2 Aristeu Rozanski 2010-11-17 19:47:24 UTC
Patch(es) available on kernel-2.6.32-83.el6

Comment 8 errata-xmlrpc 2011-05-23 20:28:18 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-0542.html