From owner-freebsd-questions Sat Oct 5 11:26:59 2002 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 C488C37B401 for ; Sat, 5 Oct 2002 11:26:57 -0700 (PDT) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28E4A43E42 for ; Sat, 5 Oct 2002 11:26:57 -0700 (PDT) (envelope-from nkinkade@dsl-only.net) Received: from sub21-156.member.dsl-only.net (freebsd.localhost.localdomain [127.0.0.1]) by sub21-156.member.dsl-only.net (8.12.5/8.12.4) with SMTP id g95IZ9hg038780 for ; Sat, 5 Oct 2002 11:35:09 -0700 (PDT) (envelope-from nkinkade@dsl-only.net) Date: Sat, 5 Oct 2002 11:35:04 -0700 From: Nathan Kinkade To: freebsd-questions@freebsd.org Subject: Re: compile kernel - copy it to another machine? Message-Id: <20021005113504.267380da.nkinkade@dsl-only.net> In-Reply-To: <20021005132311.U15428-100000@serv1.wallnet.com> References: <017f01c26c92$fb61a260$24475292@east.frontiercorp.com> <20021005132311.U15428-100000@serv1.wallnet.com> X-Mailer: Sylpheed version 0.7.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 5 Oct 2002 13:29:21 -0400 (EDT) Tim Kellers wrote: > I have several custom kernel source files that I compile on my fastest > machine and "make installkernel" on my slower desktop and server > machines. > > Granted, the kernel files are bigger than normal --I keep many options > that are not specifically required in the sourcfe files that I don't > need; it just keeps me a bit more sane to only change machine specific > options. > I have all of /usr/src exported from the machine I use to compile and > I > have the exported /usr/src mounted on the machine on which I want to > install. > > I use the same method to "make buildworld," too. It's very helpful > when upgrading the 18 odd workstations we have in our computer labs, > too. > > I know there may be pitfalls in this type of mass install but, so far, > I've been bitten by very few bugs. > > > Tim Kellers > CPE/NJIT What sort of pitfalls could be expected? The reason this issue has come up for me is I've been working on getting a diskless workstation going. The diskless workstation will boot off NICs boot-ROM and will load the kernel compiled on my faster machine, but as soon as the kernel finishes loading the machine just reboots. I can't find documentation anywhere that speaks of problems associated with compiling on one machine and then distributing that kernel to other, possibly heterogenous, machines. It appears that the `make' process somehow factors in machine specific information, exclusive of that in the kernel config file. Is this accurate? Nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message