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 5 product line. The current stable release is 5.10. 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 507932

Summary: [RHEL 5.4] sky2: /proc/net/dev statistics are broken
Product: Red Hat Enterprise Linux 5 Reporter: Flavio Leitner <fleitner>
Component: kernelAssignee: Flavio Leitner <fleitner>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: high    
Version: 5.4CC: averma, dzickus, emcnabb, mgahagan, nhorman, tao
Target Milestone: rcKeywords: Regression, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 08:21:58 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:
Attachments:
Description Flags
patch adding sky2_get_stats() none

Description Flavio Leitner 2009-06-24 18:48:51 UTC
Description of problem:

[root@localhost ~]# cat /proc/net/dev
Inter-|   Receive                                                | 
Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes   
packets errs drop fifo colls carrier compressed
    lo:    3920      48    0    0    0     0          0         0     3920
     48    0    0    0     0       0          0
  eth1: No statistics available.
  eth0: 1767414    6684    0    0    0     0          0         0    16060
     53    0    0    0     0       0          0
  sit0:       0       0    0    0    0     0          0         0        0
      0    0    0    0     0       0          0
[root@localhost ~]#

Kernel: 2.6.18-152.el5

The patch below introduced this problem:
---
  commit b4f307a628db4939237fc6c53cacc5a5800373ba
  Author: Neil Horman <nhorman>
  Date:   Wed Feb 11 16:32:33 2009 -0500

    [net] sky2: update driver for RHEL-5.4
    
    Message-id: 20090211213233.GI9114.redhat.com
    O-Subject: [RHEL 5.4 PATCH] sky2: update to latest upstream driver (bz 48471
    Bugzilla: 484712
    RH-Acked-by: David Miller <davem>
    RH-Acked-by: Thomas Graf <tgraf>
    RH-Acked-by: Andy Gospodarek <gospo>
    
    Hey all-
        Update of the sky2 driver to the latest revision to support new hardware
    
    Brew build:
    https://brewweb.devel.redhat.com/taskinfo?taskID=1691744
    
    resolves bz 484712
---

I'll attach the patch fixing this problem.

Comment 1 Flavio Leitner 2009-06-24 19:10:10 UTC
Created attachment 349299 [details]
patch adding sky2_get_stats() 

Testing feedback: https://bugzilla.redhat.com/show_bug.cgi?id=501050#c45

Comment 2 Flavio Leitner 2009-06-24 19:21:33 UTC
Patch posted: 
http://post-office.corp.redhat.com/archives/rhkernel-list/2009-June/msg00762.html
Flavio

Comment 5 Neil Horman 2009-06-24 20:06:33 UTC

*** This bug has been marked as a duplicate of bug 503080 ***

Comment 8 RHEL Program Management 2009-06-29 20:53:34 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 10 Don Zickus 2009-07-07 15:05:41 UTC
in kernel-2.6.18-157.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Please do NOT transition this bugzilla state to VERIFIED until our QE team
has sent specific instructions indicating when to do so.  However feel free
to provide a comment indicating that this fix has been verified.

Comment 14 errata-xmlrpc 2009-09-02 08:21:58 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-2009-1243.html