From owner-freebsd-stable@FreeBSD.ORG Tue Jun 2 10:31:14 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 614B11065672; Tue, 2 Jun 2009 10:31:14 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:2:2d29:0:1::]) by mx1.freebsd.org (Postfix) with ESMTP id E31C08FC17; Tue, 2 Jun 2009 10:31:13 +0000 (UTC) (envelope-from hlh@restart.be) Received: from restart.be (avoriaz.tunnel.bel [IPv6:2001:41d0:2:2d29:1:ffff::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "avoriaz.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id F2C104E79; Tue, 2 Jun 2009 12:31:12 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:2:2d29:1:2::]) (authenticated bits=0) by restart.be (8.14.3/8.14.3) with ESMTP id n52AV9Fw024619; Tue, 2 Jun 2009 12:31:10 +0200 (CEST) (envelope-from hlh@restart.be) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1243938672; bh=zJaiGhDEaUyTO2eTkdbEZtUFw90XV05BJ3f/PRZVlQQ=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=EASE1eGqYPXDOeno0kwO98xe6dGXP+Q1qdPV4nuZ8APUYuRihks8XdbNjqe16O8Km EwiPLvc+8Wb+STe4u5KjQ== DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:content-type: content-transfer-encoding:x-scanned-by; b=vwA6yqNp9ytl34WLyxCWmZgwLPTDA/1KgfbRt8k1hYn2CLrDdqb0t8VRQHgEwGCKU sQjT0xfsZ0vvWcnORENMg== Message-ID: <4A24FF6E.7020209@restart.be> Date: Tue, 02 Jun 2009 12:31:10 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Thunderbird 2.0.0.21 (X11/20090412) MIME-Version: 1.0 To: Doug Rabson References: <4A23ABF2.3070601@restart.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on IPv6:2001:41d0:2:2d29:1:1:: Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: /boot/loader can't load kernel if too many pool/devices 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, 02 Jun 2009 10:31:14 -0000 Doug Rabson wrote: > > On 1 Jun 2009, at 11:22, Henri Hennebert wrote: > >> Hello, >> >> During my tests (succesful) to directly boot from ZFS (with zfsboot >> and gptzfsboot) I encounter the error "can't boot 'kernel'" if too >> many devices/pools are connected to the machine. In my case: >> >> 2 SAS disks with 2 pools >> 2 SATA disks with 2 pools >> 1 USB key with one pool >> >> `heap` command: >> >> Active Allocations: 171/173 >> 536576 bytes reserved 527800 bytes allocated >> >> `ls` command: >> >> open '/' failed: too many open files >> >> If I reboot without the USB key all is OK. >> >> If I reboot from the USB key after disconnecting 2 disks all is OK. >> >> By the way, the /boot/loader in 7.2-STABLE don't work, complains about >> forth not found. >> >> The previous tests were made with 7.2-STABLE (May 31) with >> /boot/loader from 8.0-CURRENT. > > I recently increased the number of file descriptors available for > /boot/loader. Could you rebuild and try again please. Make sure you > rebuild libstand.a as well as /boot/loader. > OK - I can boot with the USB key and 4 disks Thanks Henri