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.
Responsible Changed From-To: freebsd-ports-bugs->kuriyama Over to maintainer.
State Changed From-To: open->closed I've fixed in net-snmp-5.1_2. Please try with it.
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
State Changed From-To: closed->open Grr, not yet fixed.
I committed a PR which includes various fixes. Could you please testing with new one?
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!
State Changed From-To: open->closed Seems to be fixed in recent changes.