From owner-freebsd-amd64@FreeBSD.ORG Mon Oct 27 16:45:26 2003 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7F6C16A513 for ; Mon, 27 Oct 2003 16:45:20 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDB42445CB for ; Mon, 27 Oct 2003 16:40:00 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id B39572A7EA; Mon, 27 Oct 2003 16:40:00 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Adriaan de Groot In-Reply-To: <200310272055.54288.adridg@cs.kun.nl> Date: Mon, 27 Oct 2003 16:40:00 -0800 From: Peter Wemm Message-Id: <20031028004000.B39572A7EA@canning.wemm.org> cc: amd64@freebsd.org Subject: Re: bootstrapping X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 00:45:26 -0000 Adriaan de Groot wrote: > So, while I'm waiting for my K8V to be RMA'ed, I'm thinking about how to go > about integrating this amd64 box into my network and getting it running. I > gather there's no really working cvsup, and David's snapshot build from way > back is (a) from wayback (b) unstable under load. cvsup works for for text mode. Just dont try using the GUI. Personally, I've installed about 6 or 7 amd64 systems over the last two weeks. I've taken 5.1-RELEASE cdrom, built a new kernel, rebooted with that, and then done a buildworld/installworld/mergemaster. It might be possible to upgrade in-place from an i386 release to amd64, but I have never tried it. I expect it would be rather exciting since we try and do things like run #!/bin/sh in scripts in the middle of installworld. So, if /bin/sh becomes an amd64 binary while you're running your i386 kernel, it will not work very well. > I've got several running systems, both -STABLE and -CURRENT, with cvsupped > /usr/src's. The /usr/src's are NFS exported, and I've got a spare cheap-ass > NIC (yes, an RTL 8029). Supposing I boot a 4-STABLE drive with rl(4) in place > in an amd64 box - what do I need to do to get it up to speed (heck, let's > make it a 5-CURRENT drive, since we've got the 4-to-5 upgrade otherwise as > well). > > - do I need to cvsup anything special? extra branches? are all the sources fo r > all the architectures normally in a /usr/src/sys? Start with a working amd64 system, and do whatever it takes to update to a -current kernel. If that means using rsync from another box, tar, cp -r over nfs, whatever, then thats what is needed. Just get a fresh /usr/src/sys and build a kernel and boot it. Then you should be on a stable footing to finish the world build. BTW; Dont use 'buildkernel' for the first step. Use config manually and restart the kernel build if it crashes in the middle. > - does X "just build" then? Yes, builds and installs and actually works. (He says as he types on an XFree86-4.3.0 port built on amd64). kde3 etc have build problems over a disagreement about which shared libs are supposed to be there. The same problem exists on i386, but it isn't fatal there. i386 can do impure shared libs (text relocations which defeat the "shared" part of the shared objects), amd64 cannot. > Getting all this (and the machine) together ought to take me a while, and I > promise to be quite while that happens :) It should be quite an adventure. If it'll help get started, I'm happy to take a generic kernel and matching libc.so.5 and put it somewhere so that folks starting from 5.1-REL or David's snapshot have an easier time getting started. That will be enough to be able to run cvsup and do a full buildworld and go from there. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5