Bug 216640

Summary: link speed shows Not Available under Devices option in gnome-nettool
Product: Red Hat Enterprise Linux 5 Reporter: Giribabu Bikki <giribabu_bikki>
Component: gnome-nettoolAssignee: Dan Williams <dcbw>
Status: CLOSED CURRENTRELEASE QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3CC: ctatman, cward, dcbw, ddumas, dmair, jdonohue, jfeeney, llim, rkhan, syeghiay, tao, wwlinuxengineering
Target Milestone: ---Keywords: OtherQA
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-15 01:23:27 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:    
Bug Blocks: 223278, 574519, 743405    
Attachments:
Description Flags
Changes done to mii.h and util-mii.c none

Description Giribabu Bikki 2006-11-21 10:11:24 UTC
Description of problem:gnome-nettool shows unknown link spped in Devices option


Version-Release number of selected component (if applicable):2.16.0


How reproducible:


Steps to Reproduce:
1. install RHEL5-beta2
2. install gnome-nettool rpm
3. run gnome-nettool command from terminal
4. observe link speed says 'Not Available' under devices tab for any up ethernet   
   links 
  
Actual results:link speed says not available


Expected results: it should show correct link speed


Additional info:

Comment 1 Samuel Benjamin 2006-11-29 13:20:51 UTC
Dell has requested this fix to be included in 5.0 and it is on their weekly
status watch list. RH Engineering attention requested.

Comment 2 RHEL Program Management 2006-11-29 13:30:20 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Matthias Clasen 2006-11-29 18:36:42 UTC
My quick run in gdb seems to indicate that 

        if (ioctl (sock, SIOCGMIIPHY, &ifr) < 0) {

in mii_get_basic returns something other than ENODEV so that we treat the
device as a wireless device, That seems to happen for both lo and eth0 here.
 

Comment 4 Samuel Benjamin 2006-12-06 19:45:52 UTC
On Dell's weekly watch list. Need engineering update on fix. Thanks.

Comment 5 Giribabu Bikki 2006-12-07 06:28:32 UTC
SIOCGMIIPHY finally defined as SIOCDEVPRIVATE in mii.h of gnome-nettool and the
ioctl on SIOCDEVPRIVATE retriving from 0x89f0 instead of 0x8947. I tried with
ioctl on 0x8947 and my link speed is showing up as 100BaseT4

Comment 6 Matthias Clasen 2006-12-07 17:39:30 UTC
Re Comment #4: no update on a fix available, sorry. With the information in
comment #5 it appears we may just need to copy uptodate ioctl numbers from 
/usr/include/linux/sockios.h.

I'll ask Chris to investigate when he is back.

Comment 8 Amit Bhutani 2006-12-20 10:05:01 UTC
Mathias/Chris- Any update on this one ? Since you have a good idea on what the
fix is, can one of you post patch and attempt to incorporate in RHEL5.0 ??

Comment 9 Larry Troan 2007-01-03 22:10:44 UTC
NOT A BLOCKER:
Per telecon with Sue Denham (RH), Larry Troan (RH), John Hull (Dell) and Dale
Kaisner (Dell) on 1/02/07, Dell does NOT view this bug as a BLOCKER for RHEL5 GA.



Comment 10 Larry Troan 2007-01-18 14:11:13 UTC
Setting 5.1 flag=? and resetting 5.1 flag.

Comment 11 Narendra K 2007-02-28 14:06:45 UTC
Any  update on the patch mentioned in the comment #6 ?

Comment 12 RHEL Program Management 2007-05-10 17:28:51 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 14 Narendra K 2007-06-08 06:55:23 UTC
Created attachment 156553 [details]
Changes done to mii.h and util-mii.c

Patch for review.

Comment 17 Larry Troan 2007-07-26 12:11:01 UTC
On Thu, 2007-07-26 at 10:26 +0530, Charles_Rose wrote:
Yes, it is fine to move this to RHEL 5.2.
> 
> Thanks,
> Charles
> +91-80-280-77147

Removing 5.1 flag and setting 5.2 flag to ?.
This is a bug so not setting Feature Tracker bug "Dell5.2FB."
Raising priority for 5.2.

Comment 21 Narendra K 2007-11-06 11:30:02 UTC
The patch has been accepted upstream. Pls refer to the bugzilla BZ 451925 on 
gnome bugzilla below.
         http://bugzilla.gnome.org/show_bug.cgi?id=451925 and 
         http://svn.gnome.org/viewvc/gnome-nettool/trunk/src/ Rev 687 which 
fixes the BZ 451925.
          

Comment 25 RHEL Program Management 2008-09-19 21:53:09 UTC
This bugzilla was reviewed by QE as a non-FasTrack request.
It has since been proposed for FasTrack. The qa_ack has 
been reset. QE needs to re-review this bugzilla for FasTrack.

Comment 41 Dan Williams 2013-07-15 01:23:27 UTC
This should be fixed in the latest release of Red Hat Enterprise Linux 6; if it's not, please re-open so we can prioritize and schedule it.  Thanks!