Bug 63026 - kvm_read & auto_nlist errors with net-mgmt/net-snmp
Summary: kvm_read & auto_nlist errors with net-mgmt/net-snmp
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jun Kuriyama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 16:20 UTC by Antoine Jacoutot
Modified: 2004-03-11 23:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Jacoutot 2004-02-18 16:20:20 UTC

When using an smtp client to get the following MIBs:
memTotalReal
memAvailReal
memCached

The FreeBSD net-snmp server issues the following errors in the log file:
snmpd: kvm_read(*, 65726168, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
snmpd: auto_nlist failed on nswdev at location 65726168

The values are retrieved anyway but this error is strange.
kernel+world+net-snmpd have been rebuilt to make sure everything was up-to-date.

How-To-Repeat: 

Run net-snmp server on FreeBSD-5.2.1-RC2 and do an snmpwalk on the mem* MIBs.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-02-19 08:28:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer.
Comment 2 Jun Kuriyama freebsd_committer freebsd_triage 2004-02-29 12:27:33 UTC
State Changed
From-To: open->closed

I've fixed in net-snmp-5.1_2.  Please try with it.
Comment 3 Antoine Jacoutot 2004-02-29 23:11:11 UTC
Well, I just tried it and I still have the same error :(
It looks like this bug should be re-opened.
Thanks for looking into this.

Regards,

Antoine
Comment 4 Jun Kuriyama freebsd_committer freebsd_triage 2004-02-29 23:25:58 UTC
State Changed
From-To: closed->open

Grr, not yet fixed.
Comment 5 Jun Kuriyama freebsd_committer freebsd_triage 2004-03-10 13:42:17 UTC
I committed a PR which includes various fixes.

Could you please testing with new one?
Comment 6 SoD 2004-03-10 14:40:24 UTC
Mar 10 16:35:02 new snmpd: kvm_read(*, 0, 0xbfbfda9c, 4) = -1: kvm_read: Bad address 
Mar 10 16:35:02 new kernel: Mar 10 16:35:02 new snmpd: kvm_read(*, 0, 0xbfbfda9c, 4) = -1: kvm_read: Bad address 
Mar 10 16:35:02 new snmpd: auto_nlist failed on nswdev at location 0 
Mar 10 16:35:02 new kernel: Mar 10 16:35:02 new snmpd: auto_nlist failed on nswdev at location 0 

This is on 5.2.1-RELEASE-p1, net-snmp net-snmp-5.1_2 build from ports.

-- 
// Beware..i might reply!
Comment 7 Jun Kuriyama freebsd_committer freebsd_triage 2004-03-11 23:24:00 UTC
State Changed
From-To: open->closed

Seems to be fixed in recent changes.