From owner-freebsd-stable@FreeBSD.ORG Tue Nov 15 13:59:06 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 D6CDB16A41F for ; Tue, 15 Nov 2005 13:59:06 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C7D43D46 for ; Tue, 15 Nov 2005 13:59:05 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (netwva@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id jAFDx3VR081673 for ; Tue, 15 Nov 2005 14:59:04 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id jAFDx3kx081672; Tue, 15 Nov 2005 14:59:03 +0100 (CET) (envelope-from olli) Date: Tue, 15 Nov 2005 14:59:03 +0100 (CET) Message-Id: <200511151359.jAFDx3kx081672@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <20051115063859.48741.qmail@web36205.mail.mud.yahoo.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.11-STABLE (i386)) Cc: Subject: Re: Swapfile problem in 6? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG 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 13:59:07 -0000 Rob wrote: > Kris Kennaway wrote: > > 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. > > Thanks, but for now, I cannot compile a new kernel, > because the kernel compilation terminates with > insufficient swap space error. Apparently 32 MB is > not enough for a new kernel compilation. Remove the "-pipe" option from CFLAGS and COPTFLAGS in your /etc/make.conf file. That will serialize compiler stages that normally run in parallel, so it'll require less memory. Also make sure that no processes run that you don't need, i.e. kill cron, usbd, sendmail, ntpd and whatever else you don't absolutely need. I don't know if those measures will enable you to compile the kernel with 32 Mbytes, but it's worth a try. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "C is quirky, flawed, and an enormous success." -- Dennis M. Ritchie.