From owner-freebsd-stable@FreeBSD.ORG Thu Apr 24 15:18:59 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 80990106564A for ; Thu, 24 Apr 2008 15:18:59 +0000 (UTC) (envelope-from tim_stoddard@hotmail.com) Received: from bay0-omc2-s29.bay0.hotmail.com (bay0-omc2-s29.bay0.hotmail.com [65.54.246.165]) by mx1.freebsd.org (Postfix) with ESMTP id 828148FC19 for ; Thu, 24 Apr 2008 15:18:59 +0000 (UTC) (envelope-from tim_stoddard@hotmail.com) Received: from BAY112-W46 ([64.4.26.146]) by bay0-omc2-s29.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Apr 2008 08:18:58 -0700 Message-ID: X-Originating-IP: [144.167.1.123] From: Tim Stoddard To: Dan Nelson , Date: Thu, 24 Apr 2008 10:18:58 -0500 Importance: Normal In-Reply-To: References: <20080424013421.GF99910@dan.emsphone.com> MIME-Version: 1.0 X-OriginalArrivalTime: 24 Apr 2008 15:18:58.0671 (UTC) FILETIME=[84C3BFF0:01C8A61E] 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 15:18:59 -0000 I applied your patch by hand and recompiled/reinstalled net-snmp, however I= am still seeing the same error just on a different memory address now. =20 Apr 24 10:16:41 shaggy snmpd[73273]: kvm_read(*, 1, 0xbf7fe830, 20) =3D -1:= kvm_read: Bad address Apr 24 10:16:41 shaggy snmpd[73273]: auto_nlist failed on cp_time at locati= on 1 Apr 24 10:16:46 shaggy snmpd[73273]: kvm_read(*, 1, 0xbf7fe830, 20) =3D -1:= kvm_read: Bad address Apr 24 10:16:46 shaggy snmpd[73273]: auto_nlist failed on cp_time at locati= on 1 Apr 24 10:16:51 shaggy snmpd[73273]: kvm_read(*, 1, 0xbf7fe830, 20) =3D -1:= kvm_read: Bad address Apr 24 10:16:51 shaggy snmpd[73273]: auto_nlist failed on cp_time at locati= on 1 -- Tim Stoddard > From: tim_stoddard@hotmail.com > To: dnelson@allantgroup.com; freebsd-stable@freebsd.org > Date: Thu, 24 Apr 2008 07:23:21 -0500 > CC:=20 > Subject: RE: auto_nlist failed on cp_time at location 1 >=20 > I cannot get your patch to apply. Am I doing something wrong? >=20 > -- > Tim=20 >=20 >=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 >=20 > You may use the following build options: >=20 > WITH_TKMIB=3Dyes Install a graphical Perl/Tk/SNMP based mib browse= r > 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 = rest > of the net-snmp toolkit. > WITHOUT_IPV6=3Dyes Disable IPv6. >=20 > 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 mib= II/tcpTable ucd-snmp/diskio" > Optional mib modules that can be built into the > agent >=20 > =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 -= found > =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 -= found > =3D=3D=3D> Applying extra patch /usr/ports/net-mgmt/net-snmp/files/extra= -patch-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/cp= u_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 >=20 > Stop in /usr/ports/net-mgmt/net-snmp. >=20 >=20 >=20 > > 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 el= se > > > 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 >=20 > _________________________________________________________________ > Make i'm yours. Create a custom banner to support your cause. > http://im.live.com/Messenger/IM/Contribute/Default.aspx?source=3DTXT_TAGH= M_MSN_Make_IM_Yours_______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" _________________________________________________________________ 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=