From owner-freebsd-stable@FreeBSD.ORG Thu Apr 24 12:23:21 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 605491065673 for ; Thu, 24 Apr 2008 12:23:21 +0000 (UTC) (envelope-from tim_stoddard@hotmail.com) Received: from bay0-omc2-s13.bay0.hotmail.com (bay0-omc2-s13.bay0.hotmail.com [65.54.246.149]) by mx1.freebsd.org (Postfix) with ESMTP id 68BB78FC0C for ; Thu, 24 Apr 2008 12:23:21 +0000 (UTC) (envelope-from tim_stoddard@hotmail.com) Received: from BAY112-W14 ([64.4.26.114]) by bay0-omc2-s13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Apr 2008 05:23:21 -0700 Message-ID: X-Originating-IP: [144.167.1.123] From: Tim Stoddard To: Dan Nelson , Date: Thu, 24 Apr 2008 07:23:21 -0500 Importance: Normal In-Reply-To: <20080424013421.GF99910@dan.emsphone.com> References: <20080424013421.GF99910@dan.emsphone.com> MIME-Version: 1.0 X-OriginalArrivalTime: 24 Apr 2008 12:23:21.0187 (UTC) FILETIME=[FBEF4B30:01C8A605] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RE: auto_nlist failed on cp_time at location 1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2008 12:23:21 -0000 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=