Bug 199462
Summary: | mii-tool and ethtool inconsistent for tg3 devices | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Bryn M. Reeves <bmr> |
Component: | kernel | Assignee: | John W. Linville <linville> |
Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | jbaron |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-08-08 13:26:12 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: | 198694 |
Description
Bryn M. Reeves
2006-07-19 18:02:55 UTC
FYI, this problem was originally reported by the customerr on RHEL3. I have been able to reproduce the symptoms in RHEL4 and FC5 also. Hmmm...not sure what the right answer is here... The problem is caused by the fact that the mii-tool interface allows the user to directly pound on the hardware registers, while the ethtool interface believes it knows the state. So the ethtool handler doesn't query that actual hardware state. While it may seem obvious to make ethtool query the hardware, that kinda breaks the model pictured for the ethtool API (i.e. the driver should control the hardware w/o the user messing behind its back). The mii-tool and ethtool interfaces are fundamentally incompatible, with the mii-tool interface being now deprecated. Obviously, I advise that you do NOT use mii-tool with your device if at all possible. The "right" answer may be to disable mii-tool support in tg3 (and it sounds like e1000 as well). I'll mull this over... I don't see any reasonable way to fix this, given the nature of the two APIs. And, removing mii-tool support is out of the question because it breaks the RHEL support model and because there potentially are responsible uses for the API. So, the only reasonable disposition for this is WONTFIX. I'm sorry. Please avoid using mii-tool (in favor of ethool) whenever possible. |