From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 4 22:52:33 2009 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 4A942106566B for ; Fri, 4 Dec 2009 22:52:33 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 02F7A8FC1A for ; Fri, 4 Dec 2009 22:52:32 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NGh0n-0006oS-3k; Fri, 04 Dec 2009 22:52:32 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NGh0m-0002r6-2c; Fri, 04 Dec 2009 22:52:28 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB4MqRIt054274; Fri, 4 Dec 2009 22:52:27 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB4MqRTt054273; Fri, 4 Dec 2009 22:52:27 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 4 Dec 2009 22:52:27 +0000 From: Anton Shterenlikht To: Gheorghe Ardelean Message-ID: <20091204225227.GA54260@mech-cluster241.men.bris.ac.uk> References: <20091204145230.GA52366@mech-cluster241.men.bris.ac.uk> <20091204150929.GA52455@mech-cluster241.men.bris.ac.uk> <20091204153353.GA52633@mech-cluster241.men.bris.ac.uk> <20091204162733.GA52861@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.4 X-Spam-Level: ---- Cc: freebsd-sparc64@freebsd.org Subject: Re: firmware update on Blade 1500 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: Fri, 04 Dec 2009 22:52:33 -0000 On Fri, Dec 04, 2009 at 05:53:43PM +0100, Gheorghe Ardelean wrote: > On Fri, 4 Dec 2009, Anton Shterenlikht wrote: > > > On Fri, Dec 04, 2009 at 05:13:42PM +0100, Gheorghe Ardelean wrote: > >> On Fri, 4 Dec 2009, Anton Shterenlikht wrote: > >> > >>> On Fri, Dec 04, 2009 at 04:29:50PM +0100, Gheorghe Ardelean wrote: > >>>> > >>>> Hi, > >>>> > >>>>> maybe I can copy the file somewhere under /boot/kernel > >>>>> and pretend it's a kernel, and try to boot it? > >>>> > >>>> I am always netbooting the firmware file. Until now it worked for me (from > >>>> Ultra Sparc 1, 2, 5, 10, 30 and to Blade100). > >>>> I suppose it works also for Blade1500 but I never did it. > >>>> Maybe you give it a try. > >>>> > >>>> Just use your other FreeBSD machines as rarp + tftp server to deviler the > >>>> file. The file should be renamed (or linked) to it's hex IP equivalent. > >>>> tcpdump is your friend here! > >>> > >>> sorry, could you please elaborate or give a link, I'm not familiar with > >>> this. What's rarp? tftp? IP equivalent? > >>> > >>> maybe you got an example from your old netbooting? > >> > >> please add to /etc/rc.conf > >> inetd_enable="YES" > >> than edit /etc/inetd.conf and enable tftp (there are 2 entries in that > >> file one for IPv4 and one for IPv6) after that /etc/rc.d/inetd start > >> > >> write down the MAC of your Blade1500 and add an entry to /etc/ethers > >> something like: > >> > >> xx:yy:zz:aa:bb:cc blade1500 > >> > >> and add a line to /etc/hosts containing the mapping of the blade1500 > >> hostname (see ethers) to ir's IP. Eg: > >> > >> 192.168.1.13 blade1500 > >> > >> after this is done start the RARP daemon. I am always doing it like this: > >> > >> rarpd -adfsv > >> > >> In an other terminal you can run tcpdump to see the request from the > >> blade1500 and if you have the correct file name. > >> In this case (IP:192.168.1.13) the file in /tftpboot should be named > >> COA8010D or a symbolic link to the actual firmware file. > >> > >> Now on the serial console of the Blade1500 say 'boot net' and that's it. > > > > > > Gheorghe, just to clarify: > > > > 1. Do both boxes need to be on the same local net? > > I cannot boot across rooters, can I? > > Can I just connect the two boxes in question directly > > with an ethernet cable? > > > > 2. I understand I need to run inetd and rarpd on the box with > > the boot file, or in this case a firmware file. Is that so? > > I am always making the files in /tftpboot rx for world. > chmod 755 /tftpboot/firmware_file should do it > I do not recall now why but IIRC it was written somewhere. success!! don't know what went wrong in my first attempt. I think it worked after I wrote the whole domain name in /etc/hosts: 137.222.184.100 blade1500.men.bris.ac.uk Anyway, I moved from 2004 to 2009 firmware! This was "red" blade 1500. I've two more "silver" blade 1500. Will try to update the firmware on those as well. Will report. many thanks for you help and advice! anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423