From owner-freebsd-stable@FreeBSD.ORG Tue Nov 15 02:13:12 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5E4616A41F for ; Tue, 15 Nov 2005 02:13:12 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F05A43D45 for ; Tue, 15 Nov 2005 02:13:12 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 4FFA51A3C25; Mon, 14 Nov 2005 18:13:12 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7D58F512B0; Mon, 14 Nov 2005 21:13:11 -0500 (EST) Date: Mon, 14 Nov 2005 21:13:11 -0500 From: Kris Kennaway To: Rob Message-ID: <20051115021311.GA1260@xor.obsecurity.org> References: <20051115015801.GA84919@xor.obsecurity.org> <20051115020827.83656.qmail@web36214.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <20051115020827.83656.qmail@web36214.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: Swapfile problem in 6? (was: 6.0: during kernel compilation, 'kernel linking' freezes PC) 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: Tue, 15 Nov 2005 02:13:12 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 14, 2005 at 06:08:27PM -0800, Rob wrote: > I left it overnight twice for performing this > 'kernel linking' stage. In both cases the machine > remained dead. > Without the swapfile, this 'kernel linking' stage > completes in just about less than a minute. >=20 > So I think it's not my impatience, but there is > another problem with my swapfile or with 6 :). Since you can compile a kernel without it, add DDB, WITNESS and INVARIANTS support, then trigger the deadlock with the swapfile, break to DDB and examine the state of the machine. See the chapter on kernel debugging in the developers handbook for more instructions. Kris --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDeUQ2Wry0BWjoQKURAjEAAKCPeHMl/h0NzoeUGsDX4i5FSX3WLgCg89/D 6LJg++mW+m8ZtNwyBspCf8A= =hGym -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--