hi, i was asked to provide a summary of all problems, we ran into so far:
first issue: this is the first crash i encountered. it only happens on bigendian 64bit arches. http://pixel.global-banlist.de./bt.txt i applied the following patch to fix it: [[[ Index: agent/agent_registry.c =================================================================== --- agent/agent_registry.c.orig +++ agent/agent_registry.c @@ -1451,7 +1451,7 @@ lookup_cache *lookup_cache = NULL; netsnmp_subtree *myptr = NULL, *previous = NULL; int cmp = 1; - int ll_off = 0; + size_t ll_off = 0; if (subtree) { myptr = subtree; ]]] after this patch i ran into the problem described in the disman thread. i tried to solve it with this patch: [[[ Index: include/net-snmp/types.h =================================================================== --- include/net-snmp/types.h.orig +++ include/net-snmp/types.h @@ -144,7 +144,7 @@ */ typedef struct netsnmp_index_s { - int len; + size_t len; oid *oids; } netsnmp_index; ]]] robert said there is a better fix for this crash. http://sourceforge.net/mailarchive/message.php?msg_id=14669114 additional embedded perl is broken on ppc64 [[[ snmpd -f -d -r -U -p /tmp/snmp-test-37-18084/snmpd.pid -Lf /tmp/snmp-test-37-18084/snmpd.log -C -c /tmp/snmp-test-37-18084/snmpd.conf udp:8793 Can't parse: .1.3.6.1.4.1.8872.9999.9999 couldn't parse (reg name: hello) registered_perl_agent_ok NET-SNMP version 5.3.0.1 ]]] i think robert fixed that with the oid parsing patch. oid-names2.patch doesnt help either. while debugging this oid parsing issue he discovered that that ifTable support seems to be broken: 16:27:48 < rstory> it appears to be broken for big-endian where sizeof(netsnmp_index.len) != sizeof(size_t)... thats it from my side hope this helps darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
