From owner-freebsd-sparc64@FreeBSD.ORG Sat Dec 5 00:25:21 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 4F43C106568D for ; Sat, 5 Dec 2009 00:25:21 +0000 (UTC) (envelope-from ardelean@ww.uni-erlangen.de) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.freebsd.org (Postfix) with ESMTP id B8A638FC1C for ; Sat, 5 Dec 2009 00:25:20 +0000 (UTC) Received: by servww6.ww.uni-erlangen.de (Postfix, from userid 512) id 3786162093; Sat, 5 Dec 2009 01:25:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by servww6.ww.uni-erlangen.de (Postfix) with ESMTP id 0344962092; Sat, 5 Dec 2009 01:25:16 +0100 (CET) Date: Sat, 5 Dec 2009 01:25:16 +0100 (CET) From: Gheorghe Ardelean To: Anton Shterenlikht In-Reply-To: <20091204225227.GA54260@mech-cluster241.men.bris.ac.uk> Message-ID: 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> <20091204225227.GA54260@mech-cluster241.men.bris.ac.uk> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII 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: Sat, 05 Dec 2009 00:25:21 -0000 On Fri, 4 Dec 2009, Anton Shterenlikht wrote: > 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: I do not know exactly the server setup so I can not say much. Do you use a custom /etc/hosts.allow file? when I activate network services I am always running "lsof -i" or 'netstat -aL' to see if there is something listening on that port or I done some mistakes. > 137.222.184.100 blade1500.men.bris.ac.uk Well, my entries are always like this one (when I use public IPs): 137.222.184.100 blade1500.men.bris.ac.uk blade1500 > many thanks for you help and advice! Glad to here that it worked! Regards, Gheorghe.