I cannot get your patch to apply. Am I doing something wrong? -- Tim
#cp patch-cpu_nlist.c /usr/ports/net-mgmt/net-snmp/files/ #cd /usr/ports/net-mgmt/net-snmp #make clean ===> Cleaning for net-snmp-5.4.1_2 #make You may use the following build options: WITH_TKMIB=yes Install a graphical Perl/Tk/SNMP based mib browser WITHOUT_DUMMY_VALUES=yes Provide 'placeholder' dummy values where the necessary information is not available. WITHOUT_PERL=yes Do not install the perl modules along with the rest of the net-snmp toolkit. WITHOUT_IPV6=yes Disable IPv6. DEFAULT_SNMP_VERSION="3" Default version of SNMP to use. NET_SNMP_SYS_CONTACT="[EMAIL PROTECTED]" Default system contact. NET_SNMP_SYS_LOCATION="somewhere" Default system location. NET_SNMP_LOGFILE="/var/log/snmpd.log" Default log file location for snmpd. NET_SNMP_PERSISTENTDIR="/var/net-snmp" Default directory for persistent data storage. NET_SNMP_MIB_MODULES="host disman/event-mib smux mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio" Optional mib modules that can be built into the agent ===> Vulnerability check disabled, database not found ===> Extracting for net-snmp-5.4.1_2 => MD5 Checksum OK for net-snmp-5.4.1.tar.gz. => SHA256 Checksum OK for net-snmp-5.4.1.tar.gz. ===> net-snmp-5.4.1_2 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for net-snmp-5.4.1_2 ===> net-snmp-5.4.1_2 depends on file: /usr/local/bin/perl5.8.8 - found ===> Applying extra patch /usr/ports/net-mgmt/net-snmp/files/extra-patch-local:Makefile.in ===> Applying FreeBSD patches for net-snmp-5.4.1_2 4 out of 4 hunks failed--saving rejects to agent/mibgroup/hardware/cpu/cpu_nlist.c.rej => Patch patch-cpu_nlist.c failed to apply cleanly. => Patch(es) patch-Makefile.in patch-callback.c applied cleanly. *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp. > Date: Wed, 23 Apr 2008 20:34:21 -0500 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: freebsd-stable@freebsd.org > Subject: Re: auto_nlist failed on cp_time at location 1 > > In the last episode (Apr 23), Tim Stoddard said: > > I just upgraded from FreeBSD 6.2 -> > > 6.3 (using source tree). I then recompiled my net-snmp port binaries (using > > portupgrade). I am now get error message in my logs every five secs. > > I am sure my libkvm is in sync with my kernel. I do not know what else > > to look at. > > You got bit by > > revision 1.178.2.5 > date: 2008/04/09 19:47:20; author: peter; state: Exp; lines: +68 -5 > MFC: record per-cpu stats for %user/%nice/%system/%idle > > , which removed the kernel variable that net-snmp uses to track CPU > usage. Try this patch (put it in /usr/ports/net-mgmt/net-snmp/files and > rebuild net-snmp). I've sent it to the net-snmp port maintainer so > hopefully it will be committed soon. > > -- > Dan Nelson > [EMAIL PROTECTED] _________________________________________________________________ Make i'm yours. Create a custom banner to support your cause. http://im.live.com/Messenger/IM/Contribute/Default.aspx?source=TXT_TAGHM_MSN_Make_IM_Yours_______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"