From owner-freebsd-sparc64@FreeBSD.ORG Mon Jul 19 16:39:58 2010 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85524106566C for ; Mon, 19 Jul 2010 16:39:58 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id 1CFF48FC24 for ; Mon, 19 Jul 2010 16:39:57 +0000 (UTC) Received: from mail-gw6.york.ac.uk (mail-gw6.york.ac.uk [144.32.129.26]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id o6JGdtmL021416; Mon, 19 Jul 2010 17:39:55 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw6.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1OatNj-00019U-Qa; Mon, 19 Jul 2010 17:39:55 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.4/8.14.4) with ESMTP id o6JGdtQZ023189; Mon, 19 Jul 2010 17:39:55 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.4/8.14.4/Submit) id o6JGdtmp023188; Mon, 19 Jul 2010 17:39:55 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: Narciso Martinez In-Reply-To: References: Content-Type: text/plain; charset="ASCII" Content-Transfer-Encoding: quoted-printable Date: Mon, 19 Jul 2010 17:39:55 +0100 Message-ID: <1279557595.21436.99.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: freebsd-sparc64@FreeBSD.org Subject: Re: NetBoot Install Sparc64 Problems 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: Mon, 19 Jul 2010 16:39:58 -0000 On Mon, 2010-07-05 at 16:31 +0200, Narciso Martinez wrote: > Sometime I get "\", another time Sparc machine ask (by TFTP) files > that doesn't exist in tftpboot (directory /boot from CD). >=20 > The problems are mainly in bootptab and in the content of /tftpboot. > My bootptal is like this: > .default:\ > :bf=3D"WHAT SHOULD I PUT HERE FOR NET INSTALL?":dn=3Ddomain:ds=3Dnameserv= er:\ > :gw=3Dgateway:ht=3Dether:hd=3D"AND HERE?":hn:\ > :sm=3D255.255.255.0 >=20 > hostname:ht=3D1:ha=3D080020C4269A:tc=3D.default:ip=3DIP: I'm afraid I can't help you with bootp directly, but here's what I use with isc-dhcpd: group sparc64 { next-server a.b.c.d; filename "kernel-sparc64.nfs"; option root-path "a.b.c.d:/space/freebsd/roots/sparc64"; host v120 { hardware ethernet 00:03:ba:2c:8e:d1; fixed-address w.x.y.z; = } host v240 { hardware ethernet 00:03:ba:7d:3e:b9; fixed-address w.x.y.z; = } host v480 { hardware ethernet 00:03:ba:2f:17:6e; fixed-address w.x.y.z; = } host v880 { hardware ethernet 00:03:ba:0b:35:4f; fixed-address w.x.y.z; = } } > In the other side, in my /tftpboot I copy al directory /boot from cd > install and I created the symbolic link with the mac the sparc64. Then, in /tftpboot, I have copies of /boot/loader named after the IP addresses converted to hex, so for example loader for the server 10.0.128.1 would be named /tftpboot/0A008001 Finally, /space/freebsd/roots/sparc64 is just a copy of the root filesystem, or in your case, I assume a straight copy of the install CD should work. Gavin --=20 Gavin Atkinson FreeBSD committer and bugmeister