From owner-freebsd-sparc64@FreeBSD.ORG Thu Jul 28 22:38:42 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA4BC16A41F for ; Thu, 28 Jul 2005 22:38:42 +0000 (GMT) (envelope-from carton@Ivy.NET) Received: from sakima.Ivy.NET (sakima.Ivy.NET [69.31.131.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC8F943D49 for ; Thu, 28 Jul 2005 22:38:41 +0000 (GMT) (envelope-from carton@Ivy.NET) Received: from castrovalva.Ivy.NET (castrovalva.Ivy.NET [IPv6:2001:4830:2150:c0::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sakima.Ivy.NET (Postfix) with ESMTP id 5F9B92F89F for ; Wed, 27 Jul 2005 18:39:26 -0400 (EDT) Received: by castrovalva.Ivy.NET (Postfix, from userid 405) id 7E20212FB01; Wed, 27 Jul 2005 18:39:25 -0400 (EDT) To: freebsd-sparc64@freebsd.org References: <20050726161047.GJ62369@funkthat.com> <20050726162755.GA67178@xor.obsecurity.org> <20050726120052.7EFAE16A41F@hub.freebsd.org> <42E7119B.5010101@alaska.net> <200507270515.j6R5Fhj17277@hobbit.sirius.net.au> From: Miles Nordin MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Jul_27_18:39:15_2005-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 27 Jul 2005 18:39:25 -0400 In-Reply-To: <20050726161047.GJ62369@funkthat.com> (John-Mark Gurney's message of "Tue, 26 Jul 2005 09:10:47 -0700") Message-ID: User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (alpha--netbsd) MULE/5.0 (SAKAKI) Subject: Re: network boot (summary) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 22:38:43 -0000 --pgp-sign-Multipart_Wed_Jul_27_18:39:15_2005-1 Content-Type: text/plain; charset=US-ASCII >>>>> "jg" == John-Mark Gurney writes: >>>>> "kk" == Kris Kennaway writes: >>>>> "rw" == Royce Williams writes: >>>>> "a" == alm writes: jg> http://people.freebsd.org/~murray/sparc64/install.html kk> Here's a snippet from my dhcpd.conf rw> http://ezine.daemonnews.org/200301/sparc64-nfsroot.html a> -Configure a static DHCP lease for it: a> host netboot { a> hardware ethernet ; a> option host-name "" ; a> fixed-address ; a> always-reply-rfc1048 on; a> filename "/boot/loader"; a> next-server ; a> option root-path ":/mnt" ; a> } It turned out to be pretty easy just to get the system booted once hearing that /boot/loader could be fed straight to OpenPROM over tftp. This: a> boot net:dhcp behaved the same on my sparc64 as 'boot net'. The OpenPROM used RARP (not DHCP) to find the second-stage loader even with 'boot net:dhcp'. Then it TFTPs to whatever machine replied to the RARP. I wonder if net:dhcp is a cue to Solaris's inetboot? They have this massively complicated 'wanboot' framework now, too, including multiple cryptographic keys and CGI scripts on web servers. . I put /boot/loader in the tftpboot directory and named it C0A8017C to match the IP of my Sun, 192.168.1.124. /boot/loader then used DHCP (not bootparams) to get just one option, root-path: host amber { fixed-address amber; hardware ethernet 08:00:20:xx:xx:xx; option root-path "69.31.131.61:/export0/nbnfs/amber"; } and /boot/loader loaded loader.conf and whatever else it needed over NFS rather than TFTP. The only thing loaded over TFTP was the file C0A8017C (a copy of /boot/loader). a> lofiadm I didn't end up using this nor the mfsroot, because I didn't use sysinstall. I just extracted all the {base,doc,src,..}.{aa,ab,ac...} files by hand. But it's good to have those instructions written down because others will probably want to netboot into sysinstall. Now I have three more problems: 1. The NetBSD NFS server I'm using doesn't support locking, so I can't run vipw or pwd_mkdb, and vi always says 'UNLOCKED' in the status bar. I can't 'mount -u -o -L 69.31.131.61:/ex.... /' because the -L option is documented, obeyed only on initial mount, not for remount. Is there a way to get this option turned on for the initial root mount? 2. I tried 'mdmfs -s 32m md /tmp' and it never returned to the prompt. ^C doesn't work, and I can't get to 'ok' or to 'ddb>' by pressing BREAK. Is there a sysctl to obey BREAK? 3. Boot hung after ``waiting 15 seconds for SCSI devices to settle'' when I have my Firewire card installed. The Install CD boots successfully with the card installed and even makes an fwe0. Is there a way to use the loader to disable a broken device like this SCSI-over-Firewire? I tried commands like 'disable-module sbp' but it always says 'sbp not found'. sorry for all the questions. I'm just getting started. --pgp-sign-Multipart_Wed_Jul_27_18:39:15_2005-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (NetBSD) iQCVAwUAQugNHYnCBbTaW/4dAQJ6KAP/WotPXc4BPk5w1RQ47yBLrR4Syjj7rQrZ uKgmCvsWOWx2qMGrcXv9RpAQSEzuZnP3DgDslXiY9N2K3C7ofvIWlPbt5SrCy7r9 o8wsGvCFPWaTSFm1198UNdL+gZ7NlF6sVMpcrQbNPobriUOxRu3SK5WMp6k9eeGB HgjRWKfHknE= =dZn+ -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Jul_27_18:39:15_2005-1--