From owner-freebsd-stable@FreeBSD.ORG Wed Feb 13 14:54:01 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 DB61116A418 for ; Wed, 13 Feb 2008 14:54:01 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 92E7013C459 for ; Wed, 13 Feb 2008 14:54:01 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m1DErrSA090050 for ; Wed, 13 Feb 2008 09:53:53 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id m1DErqO8071630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 13 Feb 2008 09:53:52 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200802131453.m1DErqO8071630@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 13 Feb 2008 09:54:05 -0500 To: freebsd-stable@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: AMD64 vs i386, ifstat and bsnmp 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: Wed, 13 Feb 2008 14:54:01 -0000 Couple of little things I noticed with a new RELENG_7 AMD64 box (as of yesterday) ifstat from the ports cannot seem to find interfaces for some reason ? It works fine on i386 [ns8]# ifstat -b ifstat: no interfaces to monitor! [ns8]# [ns8]# ifconfig em0: flags=8843 metric 0 mtu 1500 options=19b ether 00:15:17:50:40:28 inet xx.xx.128.107 netmask 0xfffffff0 broadcast 64.7.128.111 media: Ethernet 10baseT/UTP status: active em1: flags=8843 metric 0 mtu 1500 options=9b ether 00:15:17:50:40:29 inet 192.168.245.11 netmask 0xffffff00 broadcast 192.168.245.255 media: Ethernet autoselect (1000baseTX ) status: active pflog0: flags=141 metric 0 mtu 33160 lo0: flags=8049 metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff000000 [ns8]# snmpwalk -v1 -c xxxx ns8 .1.3.6.1.2.1.25.3.3.1 with ULE gives a bogus value HOST-RESOURCES-MIB::hrProcessorFrwID.3 = OID: SNMPv2-SMI::zeroDotZero HOST-RESOURCES-MIB::hrProcessorFrwID.8 = OID: SNMPv2-SMI::zeroDotZero HOST-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: 100 HOST-RESOURCES-MIB::hrProcessorLoad.8 = INTEGER: 100 vs using the BSD scheduler HOST-RESOURCES-MIB::hrProcessorFrwID.3 = OID: SNMPv2-SMI::zeroDotZero HOST-RESOURCES-MIB::hrProcessorFrwID.8 = OID: SNMPv2-SMI::zeroDotZero HOST-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: 0 HOST-RESOURCES-MIB::hrProcessorLoad.8 = INTEGER: 0 ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike