From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 14 17:31:18 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D357016A4CE for ; Wed, 14 Jan 2004 17:31:18 -0800 (PST) Received: from wattres.Watt.COM (wattres.watt.com [66.93.133.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7234F43D5F for ; Wed, 14 Jan 2004 17:31:17 -0800 (PST) (envelope-from steve@Watt.COM) Received: (from steve@localhost) by wattres.Watt.COM (8.12.9/8.12.9) id i0F1VE54020740; Wed, 14 Jan 2004 17:31:14 -0800 (PST) (envelope-from steve) Message-Id: <200401150131.i0F1VE54020740@wattres.Watt.COM> From: steve@Watt.COM (Steve Watt) Date: Wed, 14 Jan 2004 17:31:14 -0800 In-Reply-To: Brooks Davis "Re: kernel environment between reboots, diskless" (Jan 14, 13:24) X-Mailer: Mail User's Shell (7.2.6 beta(5) jp(8) 11/23/00) To: Brooks Davis , Steve Watt cc: hackers@freebsd.org Subject: Re: kernel environment between reboots, diskless X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 01:31:18 -0000 On Jan 14, 13:24, Brooks Davis wrote: } On Wed, Jan 14, 2004 at 01:16:01PM -0800, Steve Watt wrote: } > On Jan 14, 13:11, Brooks Davis wrote: } > } On Wed, Jan 14, 2004 at 12:55:49PM -0800, Steve Watt wrote: } > } > I'm working on a dataless system that will be booting and rooting } > } > from flash for some environmental chamber (thermal) tests, and } > } > logging the results to an NFS server outside the chamber. } > } } > } I've got to ask, if you're in an NFS environment, why boot from flash at } > } all? Why not PXE boot or use etherboot? } > } > I'm attempting to minimize reboot cycle time, since part of the test } > suite involves 50 reboots per card, and with 5 cards in the system, } > a minute extra boot time is suddenly four hours. } } Hmm, that might be an issue. If your network is reliable (and you } configure your switches so you don't get screwed by spanning tree), PXE } boots are quite fast, probably not more then a few seconds longer then } booting from local media (possiably less since you could disabling BIOS } probing of the media which takes forever.) It's going to be an isolated net, so it shouldn't be a problem on this part. } > But I'll admit to not having gathered the data on that one, so I'll } > give it a closer look. If I PXE or etherboot, how would the kernel } > environment get populated then? } } From the server. The advantage of this is that it would be easy to } script changes on the server as opposed to changes on the flash card. } You also don't need to worry about wearing out the server's disks. Ah! I see how that works. Only catch is, I'm getting a strange result when trying diskless boots. I've got the DHCP server configured as suggested in pxeboot(8), and I see the loader get started. It grabs (over NFS) loader.rc, loader.4th, and support.4th. I see the start word get executed, but adding .( message ) cr in various places, it seems like it's getting to the end of start, but not coming back to the loader.rc code. And most of my Forth knowledge is from working with PostScript 15 years ago, which doesn't help a lot. :P Anyone want to hazard a guess? I feel like I'm falling deeper into that maze of twisty little passages. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8" / 37N 20' 14.9" Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices...