Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2005 00:05:19 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-stable@freebsd.org
Subject:    Re: netstat fails with memory allocation error and error in kvm_read
Message-ID:  <200501060005.25343.max@love2party.net>
In-Reply-To: <20050105172615.CF820C32C@brugere.aub.dk>
References:  <20050105172615.CF820C32C@brugere.aub.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart5785812.cLcgL6yYMP
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 05 January 2005 18:26, J. Martin Petersen wrote:
> > I just got another "netstat: kvm_read: Bad address".
> > vm.kvm_free was 675278848 two seconds earlier and a couple of
> > seconds later (and also currently).
>
> We just had another hard hang, and this time I managed to break to the
> debugger on the serial console. I got this stack trace
> <http://www.aub.dk/~jmp/fw/trace>, which seems to indicate that pf is
> messing up somehow.

This looks like pf.c, rev. 1.25 (HEAD) 1.18.2.6 (RELENG_5) and is an endles=
s=20
loop, not a deadlock. I hope you can verify that updating to these revision=
s=20
solves the issue. Please get back to me if not. Thanks in advance.

> I of course didn't have the ddb man or the handbook section on kernel
> debugging at hand, so I've just printed it for the next time it happens.
>
> Both 'show witness' and 'show locks' came up empty. What's the most
> effective way to hunt down these deadlocks with the online kernel debugge=
r?


=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart5785812.cLcgL6yYMP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBB3HK1XyyEoT62BG0RArIkAJ9XgvRyfMYY1YKWCzkFpYO6YQwTiQCfS8VD
ccnevkC8e2nBAdXtESUAiTU=
=YXFW
-----END PGP SIGNATURE-----

--nextPart5785812.cLcgL6yYMP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501060005.25343.max>