From owner-freebsd-current@FreeBSD.ORG Thu Apr 5 22:22:29 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1C7416A404 for ; Thu, 5 Apr 2007 22:22:29 +0000 (UTC) (envelope-from jclark@metricsystems.com) Received: from server300.snhdns.com (server300.snhdns.com [204.15.192.210]) by mx1.freebsd.org (Postfix) with ESMTP id B62ED13C459 for ; Thu, 5 Apr 2007 22:22:29 +0000 (UTC) (envelope-from jclark@metricsystems.com) Received: from ip67-89-211-170.z211-89-67.customer.algx.net ([67.89.211.170] helo=[192.168.0.94]) by server300.snhdns.com with esmtpa (Exim 4.63) (envelope-from ) id 1HZaLR-0007D0-3j; Thu, 05 Apr 2007 18:22:17 -0400 Message-ID: <46157721.90707@metricsystems.com> Date: Thu, 05 Apr 2007 15:24:33 -0700 From: John Clark Organization: Metric Systems, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Vladimir Botka References: <46144FC6.3050801@metricsystems.com> <20070405080212.2d7d1c8d@srv> In-Reply-To: <20070405080212.2d7d1c8d@srv> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server300.snhdns.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - metricsystems.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-current@freebsd.org Subject: Re: Strange NFS root booting behavior. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2007 22:22:30 -0000 Vladimir Botka schrieb: > > Hello, > > try the script /usr/share/examples/diskless/clone_root to create copy > of the root. The procedure in > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-diskless.html > works for me. Just an idea but did you compile the diskless kernel with > "options BOOTP_NFSROOT" ? Well, I checked, and no those options are there. However, I was able to 'boot' to a working system on one piece of hardware, but not on another. While there could be a hardware problem, the place where it fails is not in a 'hardware intensive' place, such as initing the PCI bus, accessing i/o devices, but just after the initial rc script starts up. I've enabled the debug option in 'rc.initdiskless, and it gets to the point of remounting '/' as read/write. Now of course in a multiple client setup this would not be good, but in a single client, while it may not be the best thing to do, it shouldn't halt the init process and go to the /bin/sh mode... And any attempt to 'ls /', or 'ls /bin' cause a 'bad file descriptor' message. I'm at the moment recompiling the world on the working setup, and have put into a DISKLESS conf file the appropriate options, but I don't think that is the ultimate problem in this case. John Clark.