Date: Thu, 24 Apr 2008 07:23:21 -0500 From: Tim Stoddard <tim_stoddard@hotmail.com> To: Dan Nelson <dnelson@allantgroup.com>, <freebsd-stable@freebsd.org> Subject: RE: auto_nlist failed on cp_time at location 1 Message-ID: <BAY112-W14A4215BAA32EA926B6D3BFFE20@phx.gbl> In-Reply-To: <20080424013421.GF99910@dan.emsphone.com> References: <BAY112-W393CA2AD5ACD5E09A6AB17FFE30@phx.gbl> <20080424013421.GF99910@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I cannot get your patch to apply. Am I doing something wrong? -- Tim=20 #cp patch-cpu_nlist.c /usr/ports/net-mgmt/net-snmp/files/ #cd /usr/ports/net-mgmt/net-snmp #make clean =3D=3D=3D> Cleaning for net-snmp-5.4.1_2 #make You may use the following build options: WITH_TKMIB=3Dyes Install a graphical Perl/Tk/SNMP based mib browser WITHOUT_DUMMY_VALUES=3Dyes Provide 'placeholder' dummy values where the necessary information is not available. WITHOUT_PERL=3Dyes Do not install the perl modules along with the re= st of the net-snmp toolkit. WITHOUT_IPV6=3Dyes Disable IPv6. DEFAULT_SNMP_VERSION=3D"3" Default version of SNMP to use. NET_SNMP_SYS_CONTACT=3D"nobody@nowhere.invalid" Default system contact. NET_SNMP_SYS_LOCATION=3D"somewhere" Default system location. NET_SNMP_LOGFILE=3D"/var/log/snmpd.log" Default log file location for snmpd. NET_SNMP_PERSISTENTDIR=3D"/var/net-snmp" Default directory for persistent data storage. NET_SNMP_MIB_MODULES=3D"host disman/event-mib smux mibII/mta_sendmail mibII= /tcpTable ucd-snmp/diskio" Optional mib modules that can be built into the agent =3D=3D=3D> Vulnerability check disabled, database not found =3D=3D=3D> Extracting for net-snmp-5.4.1_2 =3D> MD5 Checksum OK for net-snmp-5.4.1.tar.gz. =3D> SHA256 Checksum OK for net-snmp-5.4.1.tar.gz. =3D=3D=3D> net-snmp-5.4.1_2 depends on file: /usr/local/bin/perl5.8.8 - f= ound =3D=3D=3D> Patching for net-snmp-5.4.1_2 =3D=3D=3D> net-snmp-5.4.1_2 depends on file: /usr/local/bin/perl5.8.8 - f= ound =3D=3D=3D> Applying extra patch /usr/ports/net-mgmt/net-snmp/files/extra-p= atch-local:Makefile.in =3D=3D=3D> 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 =3D> Patch patch-cpu_nlist.c failed to apply cleanly. =3D> 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: dnelson@allantgroup.com > To: tim_stoddard@hotmail.com > CC: freebsd-stable@freebsd.org > Subject: Re: auto_nlist failed on cp_time at location 1 >=20 > 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.=20 > > I am sure my libkvm is in sync with my kernel. I do not know what else > > to look at. =20 >=20 > You got bit by=20 >=20 > 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 >=20 > , 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. >=20 > --=20 > Dan Nelson > dnelson@allantgroup.com _________________________________________________________________ Make i'm yours.=A0 Create a custom banner to support your cause. http://im.live.com/Messenger/IM/Contribute/Default.aspx?source=3DTXT_TAGHM_= MSN_Make_IM_Yours=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY112-W14A4215BAA32EA926B6D3BFFE20>