From owner-freebsd-questions@FreeBSD.ORG Mon Aug 22 14:32:50 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 567F216A41F for ; Mon, 22 Aug 2005 14:32:50 +0000 (GMT) (envelope-from mcgovern@spoon.beta.com) Received: from spoon.beta.com (spoon.beta.com [199.165.180.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D667743D46 for ; Mon, 22 Aug 2005 14:32:49 +0000 (GMT) (envelope-from mcgovern@spoon.beta.com) Received: from spoon.beta.com (localhost.beta.com [127.0.0.1]) by spoon.beta.com (8.13.3/8.13.3) with ESMTP id j7MEWbKp028237; Mon, 22 Aug 2005 10:32:37 -0400 (EDT) (envelope-from mcgovern@spoon.beta.com) Message-Id: <200508221432.j7MEWbKp028237@spoon.beta.com> To: Dan Nelson In-reply-to: Your message of "Thu, 18 Aug 2005 22:25:54 CDT." <20050819032554.GD60291@dan.emsphone.com> Date: Mon, 22 Aug 2005 10:32:37 -0400 From: "Brian J. McGovern" X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on spoon.beta.com Cc: "Brian J. McGovern" , questions@freebsd.org, mcgovern@spoon.beta.com Subject: Re: bootparamd doesn't allow parameters? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 14:32:50 -0000 Dan, > In the last episode (Aug 18), Brian J. McGovern said: > > I'm in the process of trying to set up a Solaris jumpstart > > server in a lab, and I decided for chuckles to do it with FreeBSD. > > > > The problem I'm running in to is that apparently, the Sun bootparamd > > allows you to pass parameters as fields, for instance, as a couple of > > sample fields out of the Solaris-generated /etc/bootparams (note: > > entry is clearly not complete, but I didn't want to distract).... > > > > testserver rootopts=:rsize=32768 term=:vt100 > > > > However, if I move this directly in to FreeBSD's /etc/bootparams, it > > will complain that it can not answer the request for "rootopts" from > > the Sun box. > > > > Is there something I'm missing? the man page seems to allude to > > the fact that all entries should be in the format of > > :. Or, am I going to have to look at finding > > another bootparamd than the stock one? > > The code silently fails if any host field doesn't resolve to a valid IP > address. Try the attached diff, which lets your example line work for > me. bootparamd is now passing the values back to the Sun box. I can't demonstrate that the Sun box is making use of them (although NFS transfer rates are up this morning, which may be an indication). Thanks for the quick patch. Now, its back to figuring out why it can't find my rules.ok file and automate the install :) -Brian