Bug 562376
Summary: | snmpd logs error messages | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Bryan Mason <bmason> | ||||
Component: | net-snmp | Assignee: | Jan Safranek <jsafrane> | ||||
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.4 | CC: | bkurt, james.leddy, jwest, ksrot, ndevos, rvokal, tumeya | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-07-21 09:09:57 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: | 590060 | ||||||
Attachments: |
|
Description
Bryan Mason
2010-02-06 09:15:05 UTC
Created attachment 389265 [details]
Proposed patch
This patch has been proposed by a customer.
I've tried to reproduce the issue with fake /proc and stats, but I have failed miserably... Could you please post content of /proc/net/dev/snmp, /proc/net/dev/snmp6 and /proc/net/dev_snmp6/* at the time the error occurs? The best would be strace -ttt -s 9999 of snmpd when the error is printed + few minutes before and after the error - I can see there what actually snmpd reads from /proc there. It seems it's quite hard to fulfill all the conditions to get to the "looks like a 64bit wrap, but prev!=new" error :(. Your patch won't probably work on 32bit Solaris, which provides OutTransmit statistics, so more clever approach is needed here - and I'd appreciate reproducer for that. Please note, I first found this BZ as it describes the exact same error message I see. But it was diagnosed to be a problem in the bnx2 driver which is actually Bug 542826. Maybe some others noticed the same or similar, possibly with other drivers? This is just a heads up that these messages might be caused by broken drivers, as discussed in Bug 539443 :) I understand that checking HCOutTransmits for 32bit overflow does not make much sense, since it is computed. I've fixed it differently upstream SVN rev. 19908 (just don't check the calculated counters at all) and I'll port it back to RHEL5. Still, I'd like to have a reproducer. 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/RHBA-2011-1076.html 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/RHBA-2011-1076.html This comment was flagged as spam, view the edit history to see the original text if required. |