From owner-freebsd-geom@FreeBSD.ORG Thu Jun 1 14:06:57 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF62B16AA91 for ; Thu, 1 Jun 2006 14:06:57 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75B9843D46 for ; Thu, 1 Jun 2006 14:06:57 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k51E6tJg077524; Thu, 1 Jun 2006 09:06:55 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <447EF485.7040101@centtech.com> Date: Thu, 01 Jun 2006 09:07:01 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: James Snow References: <20060601133750.GA80106@teardrop.org> <20060601135235.GB80106@teardrop.org> In-Reply-To: <20060601135235.GB80106@teardrop.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1504/Wed May 31 14:59:14 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@freebsd.org Subject: Re: graid3: FAILURE - out of memory in start X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 14:07:00 -0000 James Snow wrote: > On Thu, Jun 01, 2006 at 09:37:50AM -0400, James Snow wrote: >> Is there any debugging information I can enable to help >> solve this? > > Digging through sysctl -a it would seem that kern.geom.raid3.debug is a > good place to start. Anything else I should try? > > > -Snow Not sure, but a quick grep of the src tree turns up these: dev/ata/ata-disk.c: device_printf(dev, "FAILURE - out of memory in start\n"); dev/pst/pst-raid.c: printf("pst: out of memory in start\n"); A snippet from ata-disk.c: [..snip..] static void ad_strategy(struct bio *bp) { device_t dev = bp->bio_disk->d_drv1; struct ata_device *atadev = device_get_softc(dev); struct ata_request *request; if (!(request = ata_alloc_request())) { device_printf(dev, "FAILURE - out of memory in start\n"); biofinish(bp, NULL, ENOMEM); return; } [..snip..] Which ata_alloc_request is defined in ata-all.h as: #define ata_alloc_request() uma_zalloc(ata_request_zone, M_NOWAIT | M_ZERO) So... man 9 uma_zalloc might help? You are certain you didn't run out of memory, or some other resource? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------