From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 02:19:09 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F94FB04 for ; Mon, 31 Dec 2012 02:19:09 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id BDFD78FC08 for ; Mon, 31 Dec 2012 02:19:08 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qBV2J7t2080933 for ; Sun, 30 Dec 2012 19:19:07 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qBV2J5Hj085005; Sun, 30 Dec 2012 19:19:05 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: BeagleBone swap problems From: Ian Lepore To: Brett Wynkoop In-Reply-To: <20121230210922.3db468ed@ivory.wynn.com> References: <20121230210922.3db468ed@ivory.wynn.com> Content-Type: text/plain; charset="us-ascii" Date: Sun, 30 Dec 2012 19:19:05 -0700 Message-ID: <1356920345.54953.107.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2012 02:19:09 -0000 On Sun, 2012-12-30 at 21:09 -0500, Brett Wynkoop wrote: > Greeting- > > It looks like something in head is giving swapping a problem. I am > swapping on a file /usr/swap/0 since the system runs out of memory > trying to build the kernel. > > This happened trying to rebuild the kernel. > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 > > The system is non-responsive and I guess I will have to drop to the > debugger and reset. You shouldn't run out of memory building a kernel on a board with 256mb. Did you define MALLOC_PRODUCTION in make.conf when you built world? If not, then all your binaries are using way more memory than they need to. -- Ian