From owner-freebsd-questions Sun Nov 23 02:11:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA02623 for questions-outgoing; Sun, 23 Nov 1997 02:11:34 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA02618 for ; Sun, 23 Nov 1997 02:11:30 -0800 (PST) (envelope-from nadav@barcode.co.il) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id MAA14477; Sun, 23 Nov 1997 12:11:26 +0200 (IST) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma014475; Sun Nov 23 12:11:14 1997 Message-ID: <3478010D.14B4@barcode.co.il> Date: Sun, 23 Nov 1997 12:10:21 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.6 sun4u) MIME-Version: 1.0 To: Rob Miracle CC: freebsd-questions@FreeBSD.ORG Subject: Re: Odd error message References: <199711211814.NAA20364@Central.KeyWest.MPGN.COM> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Rob Miracle wrote: > > I did a netstat -a and got the following message: > > netstat: kvm_read: Bad address > > The netstat I had done one minute earlier was fine and the one I did 2 > seconds later was fine, but this one was odd. What does this mean? netstat traverses some data structures in the kernel without locking them. This means that it may follow a pointer while the kernel is updating its structures, causing it to attempt to access non-existent data. This is what you get as result. One way to lessen the chance of this happening is running netstat -n, which will execute faster with less chance of the structures changing on the fly. Other than that, just hope to be lucky next time... > > Thanks > Rob > > -- > Rob Miracle > Tantalus Inc. > Be patient or be a patient. -- Anton Devious Nadav