From owner-freebsd-sparc64@FreeBSD.ORG Sat Nov 24 13:13:54 2012 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F227D742 for ; Sat, 24 Nov 2012 13:13:53 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 7A5138FC0C for ; Sat, 24 Nov 2012 13:13:53 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hm6so1829952wib.13 for ; Sat, 24 Nov 2012 05:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=nEWjyYgCyATZ7BwqHlVXLLlGLgDzLsQbG3OPKiXveeU=; b=gpNWOcedpspmQa3ONTH6OWK4+2s8b3ECfg02WmjMyuU6knbjEz6cDfFWG6cYDh+6LN zdKG3md7+tytPmr7B1KrjIeQvaYeeUpVCb7aUaO1dHh0GVdZzeOp1071Jwzk9LUCZjti vYcPfWtRGylYlWNpqCDFn9T0saetEM7YvhyM/rnYrMaQi23OLe9p8tBDK1TOsND7prNh kJRRFQ5iWEupH/DRG5OgVzF8OY52uVilffpNTEIr/ZQAqAyX8Hu9Zyyr3ysaVBVJI55i iTVngn1Xu1Y7iH7yYIJnz//qtTO7DmMY1PCwWbsj/hQvD+iHMXmxuoGcfYGAZFNs98t0 g6EA== Received: by 10.216.216.80 with SMTP id f58mr2520294wep.167.1353762832217; Sat, 24 Nov 2012 05:13:52 -0800 (PST) Received: from X220.optiplex-networks.com (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id en20sm14221634wid.4.2012.11.24.05.13.50 (version=SSLv3 cipher=OTHER); Sat, 24 Nov 2012 05:13:51 -0800 (PST) Message-ID: <50B0C80D.80206@gmail.com> Date: Sat, 24 Nov 2012 13:13:49 +0000 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Florian Smeets Subject: Re: Net Booting FreeBSD References: <50B00D10.10201@gmail.com> <50B08BE5.2020106@smeets.im> In-Reply-To: <50B08BE5.2020106@smeets.im> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@freebsd.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 13:13:54 -0000 On 11/24/2012 08:57 AM, Florian Smeets wrote: > On 24.11.12 00:56, Kaya Saman wrote: >> Hi, >> >> I've been through the Handbook and Google however, it seems that there >> isn't anywhere that has a guide to net boot FreeBSD on Sun SPARC systems. >> > In the past i have used this guide > > http://www.freebsd.org/fr/relnotes/CURRENT/installation/sparc64/index.html > > And the suggestion to use tcpdump has proven invaluable to me numerous > times to get net booting working. > > Florian Thanks Florian. I am now able to get much further, turns out SElinux was blocking things in my boot server. The current point that I'm at is that the system loads the bootloader but can't find the kernel? Rebooting with command: boot net Boot device: /pci@1f,700000/network@2 File and args: 100 Mbps full duplex Link up Requesting Internet Address for 0:14:4f:5d:1e:7e Requesting Internet Address for 0:14:4f:5d:1e:7e Requesting Internet Address for 0:14:4f:5d:1e:7e Requesting Internet Address for 0:14:4f:5d:1e:7e Consoles: Open Firmware console Booting with sun4u support. FreeBSD/sparc64 bootstrap loader, Revision 1.0 (root@araz.cse.buffalo.edu, Mon Apr 9 23:14:08 UTC 2012) bootpath="/pci@1f,700000/network@2" boot: ethernet address: 00:14:4f:5d:1e:7e 100 Mbps full duplex Link up \ In addition to your link I also managed to find this: http://freebsd.1045724.n5.nabble.com/Is-it-easy-to-netboot-sun-fire-V210-using-only-sparc64-iso-image-and-intel-host-td4163227.html same box :-) The suggestion was to add this to the bootparamd: .default:\ :bf="kernel":dn=local:ds=10.0.0.1:\ :gw=10.0.0.1:ht=ether:hd="/tftpboot/boot/kernel":hn:\ :rp="10.0.0.10:/usr/un/freebsd":\ :sm=255.255.255.0 x1:ht=1:ha=0003ba0fd5ef:tc=.default:ip=10.0.0.21: Out of which I edited to my own needs: .default:\ :bf="kernel":dn=local:ds=192.168.1.100:\ :gw=192.168.1.1:ht=ether:hd="/tftpboot/boot/kernel":hn:\ :rp="192.168.1.53:/iso/8.3-RELEASE":\ :sm=255.255.255.0 starburst:ht=1:ha=00144f5d1e7e:tc=.default:ip=192.168.1.116: The kernel is there: # ls /tftpboot/boot/ boot1 device.hints kernel loader loader.conf loader.rc modules zfs defaults firmware kernels loader.4th loader.help mfsroot support.4th So I'm really stuck now :-( How do I get the system to load the kernel? Regards, Kaya